Word: Sample Macros, VBA Codes - KB Jewels

OFF2000 How to Run Sample Code from Knowledge Base Articles (Q212536)

OFFAUTMN.EXE Discusses Office 97 and 2000 Automation and Provides Sample Code (Q253235)

PPT2000 Sample Code to Control Word from a PowerPoint Macro (Q222794)

PPT2000 Sample Code to Extract Text from an Organization Chart (Q222793)

WD2000 Code to Determine Whether Open Document Is a Template (Q212533)

WD2000 Example Macro to Send E-mail Using MAPI Commands (Q238114)

WD2000 Macro Example for Formatting Table Cells That Contain Text (Q251015)

WD2000 Macro Example to Return Macro and Procedure Names (Q262961)

WD2000 Macro Examples to Calculate Cells Across Multiple Tables (Q212687)

WD2000 Macro Programming Resources (Q212623)

WD2000 Macro to Calculate Number of Months Between Two Dates (Q212548)

WD2000 Macro to Cascade Open Document Windows (Q209202)

WD2000 Macro to Count Number of Paragraphs and Lines in a Document (Q211455)

WD2000 Macro to Count Number of Rows in a Table (Q212720)

WD2000 Macro to Count Sections in a Document (Q209242)

WD2000 Macro to Determine If a File Exists on Disk (Q198842)

WD2000 Macro to Determine If the Insertion Point Is in a Table (Q211460)

WD2000 Macro to Determine the Number of Days Between Two Dates (Q211445)

WD2000 Macro to Determine the Number of Days in a Specified Month (Q212545)

WD2000 Macro to Determine Whether a Form Field Exists (Q212405)

WD2000 Macro to Determine Whether File Is Already Open (Q212714)

WD2000 Macro to Dock Toolbars That Are Outside Screen Borders (Q201965)

WD2000 Macro to Find Automatic (Soft) Page Breaks (Q201953)

WD2000 Macro to Find Tables in Word Documents (Q212692)

WD2000 Macro to Generate List of Available Fonts in Word (Q209205)

WD2000 Macro to Increment Invoice Number to New Form Document (Q212686)

WD2000 Macro to Insert Style Name in Each Paragraph (Q211215)

WD2000 Macro to List Custom Tab Stops in a Paragraph (Q212534)

WD2000 Macro to Move Insertion Point to Top of Current Page (Q212699)

WD2000 Macro to Remove a Folder or Directory in Word for Windows (Q201963)

WD2000 Macro to Replace Font Formatting (Q209251)

WD2000 Macro to Retrieve Text from Each Cell in a Table (Q209223)

WD2000 Macro to Return to the View You Were Using Before Opening Header or Footer (Q212638)

WD2000 Macro to Send a Word Document as Text or an Attachment (Q209248)

WD2000 Macro to Test for an Existing Macro Name (Q209209)

WD2000 Macro to Test for the Last Cell in a Table (Q211457)

WD2000 Macros to Move to Beginning and End of Paragraph (Q212696)

WD2000 Sample Code to Increment Through a Document Line by Line (Q212526)

WD2000 Sample Code to Scroll to Top or Bottom of Document Window (Q201950)

WD2000 Sample Macro That Uses a Loop to Find Text (Q211458)

WD2000 Sample Macro to Create Popup Toolbar (Q209140)

WD2000 Sample Macro to List All Files in a Folder (Q236162)

WD2000 Sample Macro to Place a Border on a Single Cell in a Table (Q209216)

WD2000 Sample Macro to Print All Open Documents (Q211773)

WD2000 Sample Macro to Print All Word Documents Found in a Folder (Q201993)

WD2000 Sample Macro to Remove a Submenu from a Menu (Q212629)

WD2000 Sample Macro to Retrieve Page Number of Currently Viewed Page and Insertion Point (Q235897)

WD2000 Sample Macro to Select or Go to a Table Cell (Q212553)

WD2000 Sample Macros to Turn a True or False Property On or Off (Q198843)

WD2000 Sample VBA Code to Delete Built-In Style (Q189297)

WD2000 Sample VBA Code to Set, Retrieve Summary Information (Q212724)

WD2000 Sample Visual Basic Code to Insert Section, Page, and Column Breaks (Q218500)

WD2000 Sample Visual Basic for Applications Code to Set, Retrieve .ini File or Registry Information (Q237436)

WD2000 Sample Visual Basic Macro to Type All AutoText Entries (Q221957)

WD2000 VBA Code to Select or Clear a Check Box in a Dialog Box (Q212694)

WD2000 VBA Code to Switch a Document to Two-Page View (Q212729)

WD2000 VBA Command to Display Version Number of Word (Q212719)

WD2000 VBA Function to Check Whether File or Document Is Open (Q209189)

WD2000 VBA Macro Examples to Insert Text into a Document (Q212682)

WD2000 VBA Routines to Determine If Line or Document Is Empty (Q201956)

WD2000 Visual Basic Example to Print Current Page (Q211452)

WD2000 Visual Basic Macro to Assign Clipboard Text to a String Variable (Q212730)

WD2000 Word Count Macro Available to Count Words in a Selection (Q241333)

WD2002 Sample Macro That Uses a Loop to Find Text (Q306338)

WD2002 Sample Macro to List All Files in a Folder (Q306248)

WD2002 Sample Macro to Print All Word Documents Found in a Folder (Q306346)