Log In
Or create an account -> 
Imperial Library
  • Home
  • About
  • News
  • Upload
  • Forum
  • Help
  • Login/SignUp

Index
Special Upgrade Offer A Note Regarding Supplemental Files Credits
About the Author Contributors
Dedication Preface
Why Word Hacks? How to Use This Book
A Note About Word Versions Where to Learn More
How This Book Is Organized Conventions Used in This Book Using Code Examples How to Contact Us Got a Hack? Acknowledgments
1. Word Under the Hood
Introduction: Hacks #1-2 1. Tweak the Interface
1.2.1. Replacing a Toolbar Button 1.2.2. Modifying a Menu Item 1.2.3. Activating Important Viewing Options
2. Macros 101: A Crash Course
1.3.1. Nuts and Bolts 1.3.2. Hello, World 1.3.3. Organizing and Debugging Your Macros 1.3.4. Running Macros 1.3.5. Getting Help from the Editor
1.3.5.1. IntelliSense 1.3.5.2. The Immediate window 1.3.5.3. Stepping through code
1.3.6. Exploring the Word Object Model
2. The Word Workspace
Introduction: Hacks #3-13 3. Hack Your Shortcut Menus
2.2.1. Accessing the Shortcut Menu Toolbar 2.2.2. Modifying a Shortcut Menu
4. Create Custom Views
2.3.1. The Code 2.3.2. Putting the New View on the View Menu
5. Revert to Saved
2.4.1. The Code 2.4.2. Putting the Macro in Your File Menu
Quickly Change Your File → Open Path
2.5.1. The Code 2.5.2. Running the Hack 2.5.3. See Also
7. Report and Review Your Options 8. Force Internet Explorer to Hand Off Word Documents
2.7.1. Hacking the Hack
9. Tweak the New Document Task Pane
2.8.1. Disabling the Task Pane When Word Starts 2.8.2. Add Documents and Templates to the Task Pane 2.8.3. The Code 2.8.4. Hacking the Hack
10. Browse All Button Images
2.9.1. Hacking the Hack
11. Create a Custom Button Image
2.10.1. The Code 2.10.2. Hacking the Hack
12. Hack the Office Assistant
2.11.1. Banishing the Assistant 2.11.2. Finding a Sympathetic Character 2.11.3. Invoking Invisibility 2.11.4. Getting the User’s Attention 2.11.5. Displaying Information and Presenting Choices
13. Build a Better MRU
2.12.1. How Word’s MRU Works 2.12.2. Getting Started 2.12.3. The Code
2.12.3.1. Creating the MRU module 2.12.3.2. Initializing the class module 2.12.3.3. Displaying the user form 2.12.3.4. Adding a document’s information to the MRU
2.12.4. Creating the User Form 2.12.5. Adding the Code to the User Form
2.12.5.1. Creating the UserForm_Initialize macro 2.12.5.2. Creating the lstMRU_Click macro 2.12.5.3. Creating the cmdCancel_Click macro 2.12.5.4. Creating the cmdOpen_Click macro
2.12.6. Using the MRU 2.12.7. Hacking the Hack
3. Formatting, Printing, and Table Hacks
Introduction: Hacks #14-26 14. Insert Placeholder Text
3.2.1. Make Your Own Placeholder Text with AutoCorrect
15. Sample Your System Fonts
3.3.1. The Code 3.3.2. Hacking the Hack
16. Tab Me to Your Leader 17. Make Styles More Manageable with Aliases
3.5.1. Using Aliases in VBA
18. Make a Simple Bar Graph 19. Put Footnotes in Tables 20. Repeat a Section Heading Across Pages 21. Simplify Borders Around Imported Images
3.9.1. Hacking the Hack
22. Make More Flexible Captions
3.10.1. Automating the Captions
23. Make PDFs Without Acrobat
3.11.1. Getting Ghostscript and GSview 3.11.2. Getting GhostWord
24. Create a Custom Text Watermark
3.12.1. The Field Code
25. Include Only Part of a Heading in a TOC
3.13.1. Word 2002 and Higher 3.13.2. Word 2000
26. Put Crop Marks on a Page
3.14.1. The Field Code 3.14.2. Hacking the Hack
4. Editing Power Tools
Introduction: Hacks #27-44 27. Crunch Numbers Quickly in Word
4.2.1. Resurrecting Calculate 4.2.2. Using Calculate 4.2.3. Hacking the Hack
28. Unlink Every Hyperlink
4.3.1. The Code 4.3.2. Hacking the Hack
29. Exclude Text from Find and Replace 30. Use Character Codes to Find or Insert Special Characters
4.5.1. Inserting Special Characters
4.5.1.1. Using ASCII codes 4.5.1.2. Using Unicode codes
4.5.2. Searching for Special Characters
4.5.2.1. Searching with ASCII codes 4.5.2.2. Searching with Unicode codes
4.5.3. What’s That Character?
31. Find/Replace in Multiple Files
4.6.1. The Code 4.6.2. Hacking the Hack
32. Find and Replace Without Find and Replace
4.7.1. The Code 4.7.2. Running the Hack 4.7.3. Hacking the Hack
33. Quickly Create a Custom Dictionary
4.8.1. Creating the Custom Dictionary 4.8.2. Activating the Custom Dictionary
34. Create a Dictionary Exclusion List 35. Disable Overtype Permanently 36. Delete All Comments in a Document
4.11.1. The Code
37. Delete All Bookmarks in a Document
4.12.1. The Code 4.12.2. Hacking the Hack
38. Turn Comments into Regular Text
4.13.1. The Code 4.13.2. Hacking the Hack 4.13.3. See Also
39. Apply Context-Sensitive Formatting
4.14.1. The Code
40. Send a Document as a Plain-Text Outlook Email
4.15.1. Setting the Reference to Outlook 4.15.2. The Code 4.15.3. Hacking the Hack
41. Swap Revision Authors
4.16.1. Hacking the Hack
42. Corral Basic Bullets and Numbering
4.17.1. Mapping the Styles to the Buttons 4.17.2. The Code 4.17.3. Running the Hack
43. Cross-Reference Automatically
4.18.1. Referencing the Way Word Does 4.18.2. A Better Way to Reference
4.18.2.1. The supporting procedures 4.18.2.2. Running the hack
44. Hack More Flexible Cross-Referencing
4.19.1. Making the Dialog 4.19.2. The Code 4.19.3. Running the Hack
5. Templates and Outlines
Introduction: Hacks #45-50 45. Create an Outline-Only Copy of a Document
5.2.1. The Code
46. Build a Better Outline 47. Use an Outline to Build an Org Chart
5.4.1. The Code
48. Attach the Same Template to Multiple Files
5.5.1. The Code 5.5.2. Hacking the Hack
49. Quickly Attach a Workgroup Template
5.6.1. The Code 5.6.2. Running the Hack
50. Manage Macros with Templates
5.7.1. Creating the Global Template 5.7.2. Adding Macros to the Global Template
6. Housekeeping
Introduction: Hacks #51-56 51. Troubleshoot Common Word Problems
6.2.1. Delete Any Temporary Files 6.2.2. Start Word with a Clean Slate 6.2.3. Disable Other Global Templates and COM Add-ins 6.2.4. Delete the Word Data Key
6.2.4.1. After you’ve rebuilt the data key
52. Control Word Startup
6.3.1. Startup Switches
6.3.1.1. Troubleshooting problems 6.3.1.2. Running further sessions of Word 6.3.1.3. Opening one or more files
6.3.2. Hacking the Hack
53. Sidestep Formatting Restrictions
6.4.1. Hacking the Hack
54. Rename Built-in Styles
6.5.1. Hacking the Hack
55. Clean Out Linked “Char” Styles
6.6.1. Spotting Char Styles 6.6.2. The Code 6.6.3. Running the Hack 6.6.4. Hacking the Hack
56. Reduce Document Bloat by Deleting Old List Templates
6.7.1. The Code 6.7.2. Running the Hack
7. Macro Hacks
Introduction: Hacks #57-69 57. Get Simple User Input for a Macro
7.2.1. Hacking the Hack
58. Keep the Macros Dialog Box Tidy
7.3.1. Name Macros Clearly and Consistently 7.3.2. Hide Macros from the Macros Dialog Box
59. Do Something to Every File in a Directory
7.4.1. The Code 7.4.2. Hacking the Hack
60. Run Macros Automatically
7.5.1. Disabling AutoMacros
61. Intercept Word Commands
7.6.1. Finding the Command’s Name 7.6.2. Command Precedence 7.6.3. See Also
62. Keep Custom Menus Under Control
7.7.1. The Code
63. Use Word Dialogs in a Macro
7.8.1. Use Dialogs to Execute Commands Interactively 7.8.2. Use Dialogs Just to Get Input
64. Optimize Your VBA Code
7.9.1. Use Integer Division 7.9.2. When Possible, Avoid Variants 7.9.3. Test for Blank Strings with Len 7.9.4. Assign Objects to Variables 7.9.5. Don’t Skimp on Comments 7.9.6. Avoid IIf
65. Show Progress from VBA
7.10.1. Continuous Progress 7.10.2. Incremental Progress
66. Hack Documents with For Each Loops
7.11.1. When to Avoid For Each Loops
67. Store Settings and Data in .ini Files 68. Generate Random Numbers
7.13.1. Bounded Random Numbers 7.13.2. n-Digit Random Numbers 7.13.3. Running the Hack
69. Hack with Application Events
7.14.1. Setting Up the Event Handler 7.14.2. Running the Hack
8. Forms and Fields
Introduction: Hacks #70-79 70. Fake (and Easy) Fill-in Forms 71. Hack DATE Fields
8.3.1. Display Long Forms of Dates 8.3.2. Determine a Date’s Place in the Year 8.3.3. Automatically Insert a Past or Future Date
8.3.3.1. Calculate a month using n months delay 8.3.3.2. Calculate a month and year using n months delay 8.3.3.3. Calculate a month and year using n years delay 8.3.3.4. Calculate a day, date, month, and year using n years delay 8.3.3.5. Calculate a day, date, month, and year using n months delay 8.3.3.6. Calculate a day, date, month, and year using n days delay 8.3.3.7. Calculate a day, date, month, and year using n weeks delay 8.3.3.8. Internationalizing dates
8.3.4. Express a Date in Fiscal-Year Terms 8.3.5. Calculate a Person’s Age 8.3.6. Use Print and Save Information in a Field
72. Perform Calculations with Formula Fields
8.4.1. Formula Field Arithmetic Operators 8.4.2. Formula Field Comparison Operators 8.4.3. Formula Field Functions 8.4.4. Formula Field Logical Functions
8.4.4.1. AND and OR: Testing multiple logical numeric expressions 8.4.4.2. Testing or returning text strings with logical functions in bookmarks
8.4.5. Referencing Data in a Table
8.4.5.1. Referencing cells containing numbers 8.4.5.2. Reference operators 8.4.5.3. Referencing an entire row or column 8.4.5.4. Referencing table cells from outside the table 8.4.5.5. Referencing row and column totals from outside a table
73. Format Numeric Field Results
8.5.1. Compound Picture Switches
74. Use Fields for Heavy-Duty Calculations
8.6.1. Logarithms 8.6.2. Trigonometry
8.6.2.1. Angle 8.6.2.2. Sine 8.6.2.3. Cosine 8.6.2.4. Tangent
75. Include an Interactive Calendar in Your Forms
8.7.1. Hacking the Hack
76. Use Custom Shortcut Menus to Make Frequent Selections 77. Number Documents Sequentially
8.9.1. The Code
78. Cross-Reference Among Documents
8.10.1. Understanding Word’s Native Cross-Referencing 8.10.2. Create Cross-References with INCLUDETEXT Fields
79. Convert Field Codes to Text and Back Again
8.11.1. Converting Field Codes into Plain Text 8.11.2. Converting Plain Text into Fields 8.11.3. Running the Hack
9. Advanced Word Hacks
Introduction: Hacks #80-89 80. Emulate Emacs with VBacs
9.2.1. Installing VBacs 9.2.2. Using VBacs
81. Use Word as a Windows Backup Utility
9.3.1. Running the Hack 9.3.2. Hacking the Hack
9.3.2.1. The Parameters section 9.3.2.2. The Folders section
82. Perform Power Text Searches with Regular Expressions
9.4.1. RegExp’s Propeties and Methods 9.4.2. Using the RegExp Object in a Macro 9.4.3. Performing Replacements
83. Show a Directory Structure as a Word Outline
9.5.1. The Code 9.5.2. Running the Hack
84. Automate Word from Other Applications
9.6.1. Controlling Word from Another Office Application 9.6.2. Controlling Word from a Scripting Language
85. Hack Word from Python
9.7.1. Hello, Word 9.7.2. Controlling Word Interactively 9.7.3. Running the Hack
9.7.3.1. Confirming conversions 9.7.3.2. Word constants 9.7.3.3. Named arguments
86. Hack Word from Perl
9.8.1. Hello, Word 9.8.2. Running the Hack
9.8.2.1. Confirming conversions 9.8.2.2. Word constants 9.8.2.3. Named arguments
87. Hack Word from Ruby
9.9.1. Hello, Word 9.9.2. Controlling Word Interactively 9.9.3. Running the Hack
9.9.3.1. Confirming conversions 9.9.3.2. Word constants 9.9.3.3. Named arguments
88. Use Python from Word
9.10.1. The Code 9.10.2. Running the Hack
89. Use Perl from Word
9.11.1. Creating COM Objects with the Perl Dev Kit 9.11.2. Call Perl Directly with the VBA Shell Function
10. Word 2003 XML Hacks
Introduction: Hacks #90-100 90. Get a Command-Line XML Processor 91. Create a Word Document in Notepad 92. Get the XML Toolbox 93. Use IE to Inspect WordprocessingML Documents 94. Transforming XML into a Word Document
10.6.1. The Code 10.6.2. Running the Hack 10.6.3. Hacking the Hack
95. Batch-Process Word Documents with XSLT
10.7.1. The Code 10.7.2. Running the Hack
96. Standardize Documents with XSLT
10.8.1. The Code 10.8.2. Running the Hack 10.8.3. Hacking the Hack
97. Remove Direct Formatting with XSLT
10.9.1. The Code 10.9.2. Running the Hack
98. Remove Linked “Char” Styles with XSLT
10.10.1. The Code 10.10.2. Running the Hack 10.10.3. Hacking the Hack
99. Use Google from Your Macros
10.11.1. Setting Up the Google Web Service 10.11.2. Getting a Google API Key 10.11.3. The Code 10.11.4. Running the Hack
100. Google Without Leaving Word
10.12.1. The Code 10.12.2. Running the Hack 10.12.3. Hacking the Hack
Index Colophon Special Upgrade Offer Copyright
  • ← Prev
  • Back
  • Next →
  • ← Prev
  • Back
  • Next →

Chief Librarian: Las Zenow <zenow@riseup.net>
Fork the source code from gitlab
.

This is a mirror of the Tor onion service:
http://kx5thpx2olielkihfyo4jgjqfb7zx7wxr3sd4xzt26ochei4m6f7tayd.onion