Leading the way in Microsoft Office Development
 Home|Excel|Word|PowerPoint|Consultancy|Feedback|Contact 
 Microsoft Word > Macros > Knowledge Base< Previous |  

 

Knowledge Base Articles - 2003

 
 

079054 - 2003: AutoNew Macro Does Not Run When You Start Word for Windows

 
 

081414 - 2003: Calling One Macro Routine or Function from Another Macro

 
 

087422 - 2003: Macro Function to Test for Valid Directory Path

 
 

094374 - 2003: Passing Parameters 'By Reference' and 'By Value'

 
 

086765 - 2003: Sample Function to Determine If Value Is Odd/Even

 
 

079696 - 2003: Using Shell Statement to Access MS-DOS Prompt from WinWord

 
 

082111 - 2003: WordBasic Macro to Assign Clipboard Text to a String Variable

 

 

Knowledge Base Articles - 2002

 
 

220731 - 2002: Cannot Programmatically Hide Custom Command Bar

 
 

275985 - 2002: ConfirmConversions Property in Macro Changes 'Confirm Conversion at Open' Option

 
 

281862 - 2002: Digital Signatures Button Is Not Available

 
 

274008 - 2002: FileClose or DocClose Macro Does Not Run When You Close a Document

 
 

287635 - 2002: Incorrect Number of Misspelled Words When You Check Spelling Programmatically

 
 

274003 - 2002: Information (wdActiveEndPageNumber) Property Returns Incorrect Ending Page Number

 
 

293451 - 2002: Macros in Arabic and Hebrew Support.dot Template Do Not Run

 
 

292078 - 2002: New Document Created by Macro While Word Is Minimized Opens in Restored State

 
 

292107 - 2002: OnUpdate Event Is Executed Only in Original Document

 
 

275976 - 2002: Read-Only Recommended Documents Only Open As Read-Only with Visual Basic Macro

 
 

296133 - 2002: Recorded Macro to Create Right-to-Left Style Records Paragraph Alignment Incorrectly

 
 

280595 - 2002: ScreenTips Do Not Display Shortcut Keys for Custom Macro Buttons

 
 

197505 - 2002: Spanish/English Equivalents for WordBasic Methods

 
 

273967 - 2002: Visual Basic for Applications CharacterWidth Property Returns 9999999

 

 

Knowledge Base Articles - 2000

 
 

212621 - 2000: 'For Each...Next' Loop Gives Wrong Result with Footnotes Endnotes or Comments

 
 

211348 - 2000: 'On Exit' Macro Jump to Unprotected Section Fails

 
 

210553 - 2000: 'Save As' Command Cannot Be Executed from Automated Word Instance

 
 

224746 - 2000: 'The page cannot be displayed' Activating Help

 
 

212587 - 2000: Acceptable Values of wdLineWidth Constant (in wdLineStyle)

 
 

261158 - 2000: Access Violation When You Use CommandBarButtonEvents Click Event Handler

 
 

220355 - 2000: ActiveMovieControl Object Fails to Prompt Macro Security

 
 

209826 - 2000: ActiveWindow.DisplayVerticalRuler Returns False When True Is Expected

 
 

189892 - 2000: ActiveWindow.Panes.Count Returns 1 Instead of 2

 
 

220419 - 2000: ActiveWindow.Visible Property Causes Word to Appear to Stop Responding

 
 

220181 - 2000: Adding Built-in List Box to Toolbar Displays Empty List

 
 

209256 - 2000: Application.Help wdHelp Generates Run-Time Error

 
 

209561 - 2000: Application.WindowState Command Fails in UserForm

 
 

220559 - 2000: ApplyListTemplate Method May Cause Invalid Page Fault

 
 

212578 - 2000: ArtWidth Sets Values in Points But Returns in Twips

 
 

209977 - 2000: Auto Macros Fail to Run with WordMail and HTML Editor Enabled

 
 

211659 - 2000: Auto Macros in Word

 
 

201992 - 2000: AutoClose Macro Is Executed Before Document Is Closed

 
 

212550 - 2000: AutoClose Macro Prompts to Save When Document Is Closed

 
 

245765 - 2000: AutoExit Macro Does Not Remove Menu Items Added by AutoExec Macro

 
 

220533 - 2000: AutoOpen/Document_Open Macro Fails When Document Opened Outside of Word

 
 

212593 - 2000: Bad Parameter Error with the AddPicture Method

 
 

212570 - 2000: BreakLink Method Deletes Object Reference

 
 

224747 - 2000: Built-in VBA Argument RetAddrText Does Not Populate Dialog Box

 
 

212653 - 2000: BuiltInDocumentProperties Returns Incorrect Page Count

 
 

211711 - 2000: CAPI and WLL Support Policy

 
 

220424 - 2000: Cannot Go to Bookmark in Unprotected Section of Document

 
 

224683 - 2000: Cannot Insert Special Character Using Dialogs(wdDialogInsertSymbol).Show

 
 

212591 - 2000: Cannot Record Macro to Set Options in Customize Dialog Box

 
 

212662 - 2000: Cannot Switch to Navigation Pane in Document Map View

 
 

212607 - 2000: Cannot Trap Undefined Sub or Function Error

 
 

212384 - 2000: Cannot Use ScanProt with Word 2000

 
 

220646 - 2000: Cannot View Full Macro Name in Customize Dialog Box

 
 

212619 - 2000: Cant Assign an Array to Explicitly Declared Array Variable

 
 

212678 - 2000: Cant Open Selected Doc Using Dialogs FileFind Constant

 
 

209902 - 2000: Changes in AutoShape Z-Order Not Reflected in Dialog Box

 
 

212727 - 2000: Character Format Functions Ignore Leading and Trailing Spaces

 
 

210582 - 2000: Closing Document with AutoClose/Document_Close Appears to Hang Browser

 
 

212533 - 2000: Code to Determine Whether Open Document Is a Template

 
 

212625 - 2000: Command to Display the Properties Dialog Box

 
 

212642 - 2000: Commands on Web Toolbar Cannot Be Recorded in a Macro

 
 

212722 - 2000: Compile Error If VBA Code Doesnt Find Comments

 
 

212640 - 2000: Compile Error Message When Passing Function Call

 
 

212412 - 2000: Compile Error When You Use the Visible Property of a UserForm

 
 

213865 - 2000: Compile Syntax Errors Running Converted Macro

 
 

280741 - 2000: ConfirmConversions Property in Macro Changes 'Confirm Conversion at Open' Option

 
 

202019 - 2000: Converted WordBasic On Error Statements May Fail

 
 

212098 - 2000: Copying Toolbar Does Not Copy Associated Macros

 
 

220378 - 2000: Crash Accessing Missing Subdocument with VBA Commands

 
 

212572 - 2000: Creating Hyperlink Deletes Object Reference; Run-time Error 5825

 
 

212708 - 2000: Creating a Password-Style Macro Dialog Text Box

 
 

212566 - 2000: DefaultBorderColorIndex Does Not Apply Color to Border

 
 

212576 - 2000: Deleting Hyperlinks from Collection Does Not Delete All

 
 

212709 - 2000: Determining the Current Page and Section Number

 
 

220806 - 2000: Digital Signature Is Lost When You Save Word Document

 
 

220505 - 2000: DocClose/FileClose Macros Fail to Work As Expected

 
 

209892 - 2000: Document Not Displayed with CreateObject ('Word.Document')

 
 

210005 - 2000: Document Order Changes Using Application.Visible

 
 

220438 - 2000: Document_Close Event Runs Twice When Quitting Word

 
 

220542 - 2000: Document_Close Event and AutoClose Macro Fail When Closing Document

 
 

192072 - 2000: Documents Will Not Print Until Macro Ends

 
 

220504 - 2000: Documents/Windows Collection Fails to Include Hidden Documents

 
 

243596 - 2000: Embedded Documents Custom and Built-in Properties Lost If VBA Module Present

 
 

224057 - 2000: Err Msg: 'No registered converter supports reading files in this format.'

 
 

224017 - 2000: Err Msg: 'Run-time error 5122: This style name does not exist.'

 
 

224020 - 2000: ErrMsg: 'Microsoft Word Err=1041: This document template does not exist'

 
 

211865 - 2000: ErrMsg: 'The macros in this template are in Word 2.0 format and will not be converted. Do you want to continue to open the template?'

 
 

201939 - 2000: Error 4633 with AutoExec Macro That Calls Macro in Add-in

 
 

211355 - 2000: Error 5152 Running Macro to Insert Graphic with URL

 
 

212618 - 2000: Error Creating Pre-Existing Custom Document Property

 
 

252498 - 2000: Error Message When You Apply ListTemplate Property to Object That Doesnt Exist

 
 

204513 - 2000: Error Message: 'Address Not Found' or 'No matches found for .'

 
 

244788 - 2000: Error Message: 'Cant Find Project or Library' When You Run Macros

 
 

209160 - 2000: Error Message: 'Run-time error 4248; This command is not available because no document is open.'

 
 

192073 - 2000: Error Message: The Macros in the Project Are Disabled

 
 

224060 - 2000: Error Message: Word Could Not Fire the Event

 
 

209265 - 2000: Error in Recorded Macro Using Previous/Next Row Commands

 
 

207785 - 2000: Errors Trying to Edit or Create a Macro from Code

 
 

238114 - 2000: Example Macro to Send E-mail Using MAPI Commands

 
 

212612 - 2000: Extend Selection Is Turned Off After Macro Completion

 
 

201976 - 2000: FileFind Command Does Not Open Advanced Find Dialog Box

 
 

211775 - 2000: Find-and-Replace Macros Cannot Find Wingding Characters

 
 

269870 - 2000: Font Is Not Changed When You Run Recorded Macro

 
 

212656 - 2000: Format Object Wrapping Styles Unavailable When Recording Macro

 
 

212649 - 2000: GetAllSettings Returns Type Mismatch

 
 

236410 - 2000: GetSpellingSuggestions Method Misses Repeated Words

 
 

212698 - 2000: GoBack Method Switches to Another Document

 
 

209194 - 2000: How to Add Path and File Name to Title Bar of Document

 
 

212541 - 2000: How to Add a Drop-down Menu to the Main Menu Bar

 
 

212514 - 2000: How to Automate Inserting an Excel Chart into Word

 
 

212703 - 2000: How to Automatically Update Fields

 
 

238245 - 2000: How to Call the ShellExecute Windows API Function

 
 

216706 - 2000: How to Convert Macros Between WordPerfect and Word

 
 

212540 - 2000: How to Create Mutually Exclusive Check Boxes by Using a Macro

 
 

211776 - 2000: How to Create a Macro That Adds a Command Button with Code to a Document

 
 

202017 - 2000: How to Create a Macro to Change Printer or Fax Driver

 
 

212596 - 2000: How to Create and Display a Custom Dialog Box

 
 

209166 - 2000: How to Disable CTRL+BREAK Interruption Within a Macro with EnableCancelKey

 
 

210860 - 2000: How to Find the Word Startup-Path by Using an External Solution

 
 

212012 - 2000: How to Force Text to Start at Same Line in Merged Letters

 
 

212667 - 2000: How to Implement a Delay in Visual Basic for Applications

 
 

201995 - 2000: How to Keep OnEntry Macro from Running at Document Open

 
 

209149 - 2000: How to Pass a Parameter to a Macro Using Automation

 
 

212684 - 2000: How to Perform Calculations with Dates and Times

 
 

211842 - 2000: How to Play a .wav Sound File Using a Macro

 
 

204330 - 2000: How to Programmatically Create UserForms in Visual Basic for Applications

 
 

216845 - 2000: How to Programmatically Save Each Page or Section of a Document As Separate File

 
 

201971 - 2000: How to Quit Windows from Word by Using ExitWindows

 
 

209214 - 2000: How to Rename Copy or Delete a Macro

 
 

198845 - 2000: How to Return Only File Names Using FileSearch Property

 
 

212529 - 2000: How to Select the Current Paragraph by Using Macro Code

 
 

237337 - 2000: How to Use (OLE) Automation with Word

 
 

209186 - 2000: How to Use Other Converters with the FileFormat Property

 
 

211453 - 2000: How to Use Visual Basic Code to Select Columns and Rows in Word Tables

 
 

211435 - 2000: How to Use a Control Code to Search by Unicode Value

 
 

212403 - 2000: How to Use a Macro to Find Special Characters Based on Unicode Value

 
 

211884 - 2000: How to Use a Macro to Insert Page Numbers into E-Mail Message

 
 

212726 - 2000: How to Use the Name...As Statement to Rename Files

 
 

212573 - 2000: IPF Error Message When You Try to Convert ActiveX Control Object to Word Picture Object

 
 

241714 - 2000: Information (wdActiveEndPageNumber) Property Returns Incorrect Ending Page Number

 
 

212598 - 2000: InlineShape.Reset Does Not Reset Size of Document Object

 
 

212277 - 2000: InsertBreak Statement Inserts Unexpected Carriage Return

 
 

201967 - 2000: InsertSymbol Result Not Translated Between Macintosh and ANSI

 
 

204615 - 2000: Invalid Anchor Argument Causes IPF with AddPicture Method

 
 

220435 - 2000: Invalid Page Fault with Tasks.ExitWindows Command

 
 

209952 - 2000: Macro Called by Application.OnTime Command Fails to Run

 
 

209668 - 2000: Macro Doesnt Select Reference Type in Cross-Reference Dialog Box

 
 

251015 - 2000: Macro Example for Formatting Table Cells That Contain Text

 
 

212687 - 2000: Macro Examples to Calculate Cells Across Multiple Tables

 
 

252772 - 2000: Macro Name Truncated in Customize Dialog Box

 
 

211844 - 2000: Macro Problem Using SendKeys with Dialog Box

 
 

212623 - 2000: Macro Programming Resources

 
 

211368 - 2000: Macro Shortcut Key Assignments Do Not Appear on Toolbar or Menu

 
 

238851 - 2000: Macro Virus Warning Appears When No Macros Exist in File

 
 

214198 - 2000: Macro Virus Warning Message When Using Word

 
 

212548 - 2000: Macro to Calculate Number of Months Between Two Dates

 
 

209202 - 2000: Macro to Cascade Open Document Windows

 
 

211455 - 2000: Macro to Count Number of Paragraphs and Lines in a Document

 
 

212720 - 2000: Macro to Count Number of Rows in a Table

 
 

209242 - 2000: Macro to Count Sections in a Document

 
 

198842 - 2000: Macro to Determine If a File Exists on Disk

 
 

211460 - 2000: Macro to Determine If the Insertion Point Is in a Table

 
 

212714 - 2000: Macro to Determine Whether File Is Already Open

 
 

212405 - 2000: Macro to Determine Whether a Form Field Exists

 
 

211445 - 2000: Macro to Determine the Number of Days Between Two Dates

 
 

212545 - 2000: Macro to Determine the Number of Days in a Specified Month

 
 

201965 - 2000: Macro to Dock Toolbars That Are Outside Screen Borders

 
 

201953 - 2000: Macro to Find Automatic (Soft) Page Breaks

 
 

212692 - 2000: Macro to Find Tables in Word Documents

 
 

212686 - 2000: Macro to Increment Invoice Number to New Form Document

 
 

211215 - 2000: Macro to Insert Style Name in Each Paragraph

 
 

212534 - 2000: Macro to List Custom Tab Stops in a Paragraph

 
 

212699 - 2000: Macro to Move Insertion Point to Top of Current Page

 
 

201963 - 2000: Macro to Remove a Folder or Directory in Word for Windows

 
 

209251 - 2000: Macro to Replace Font Formatting

 
 

209223 - 2000: Macro to Retrieve Text from Each Cell in a Table

 
 

212638 - 2000: Macro to Return to the View You Were Using Before Opening Header or Footer

 
 

209248 - 2000: Macro to Send a Word Document as Text or an Attachment

 
 

209209 - 2000: Macro to Test for an Existing Macro Name

 
 

211457 - 2000: Macro to Test for the Last Cell in a Table

 
 

220190 - 2000: Macros Appear to be Missing with Frames Page Document

 
 

274228 - 2000: Macros Enabled When Word Automatically Opens ASD Files

 
 

274226 - 2000: Macros Enabled When You Use Access Database File in Microsoft Word

 
 

212716 - 2000: Macros Not Listed After Creating New Document in Windows Explorer

 
 

212696 - 2000: Macros to Move to Beginning and End of Paragraph

 
 

212221 - 2000: Mail Merge Attached Envelope Does Not Create Bar Codes

 
 

282307 - 2000: Mail Merge Help File Available for Download

 
 

212150 - 2000: Mail Merge Helper Behaves Differently When You Use a Macro

 
 

224728 - 2000: NewDocument Event Triggered When Envelope Is Printed

 
 

209198 - 2000: Object Not a Collection Error in SynonymInfo.MeaningList

 
 

279677 - 2000: Out-of-Memory Error Message When You Use Macro That Edits Document

 
 

212531 - 2000: Print # Statement Separates Fields with Spaces Not Tabs

 
 

224714 - 2000: PublishObjects Property Not Supported in Microsoft Word

 
 

220211 - 2000: Range.Delete Causes Invalid Page Fault with GetObject

 
 

250432 - 2000: Recorded Macro Doesnt Insert Formatting Contained in AutoText Entry

 
 

209961 - 2000: Recorded Macro Uses Caption Label String Instead of Constant

 
 

209959 - 2000: Recorded Macro Uses Heading Style String Instead of Constant

 
 

211648 - 2000: Recorded Macro to Mail Merge to Printer Requires SendKeys Statement

 
 

274282 - 2000: RefreshDocument Method Resets Documents Template to Normal.dot

 
 

212710 - 2000: Retrieving Settings from Word Dialog Boxes Using OLE

 
 

212646 - 2000: Returning Object Counts for Parts of a Document

 
 

198840 - 2000: Run Time Error 4366 Using Application.Run Command

 
 

275966 - 2000: Run Time Error 4605 Accessing PageSetup Object After You Insert Table in Frame

 
 

212664 - 2000: Run Time Error 5174 : 'This file could not be found' with Open Method

 
 

220571 - 2000: Run-Time Error 1220 Running WordBasic.Shell Statement

 
 

212631 - 2000: Run-Time Error 1434 Running Converted WordBasic Macro

 
 

228701 - 2000: Run-Time Error 4198 with VBA Hyperlinks Object

 
 

237273 - 2000: Run-Time Error 438 When You Use WordBasic.CopyFile Command

 
 

201979 - 2000: Run-Time Error 5 Using Mid() Left() or Right() Function

 
 

201991 - 2000: Run-Time Error 5584 'Too Many DDE Channels Are Open...'

 
 

212713 - 2000: Run-Time Error 5868 Using VBA Macro to Resize Document Window

 
 

209899 - 2000: Run-time Error 1042 with WordBasic PageWidth/PageHeight Arguments

 
 

212560 - 2000: Run-time Error 438 When You Try to Get Document Properties from Template

 
 

209695 - 2000: Run-time Error 445 Using PrintFractionalWidths Property

 
 

209856 - 2000: Run-time Error 5152 Using URL with InlineShapes.AddPicture

 
 

266073 - 2000: Run-time Error 5843 When You Set wdUseWord97LineBreakingRules Compatibility Option

 
 

238895 - 2000: Running VBA Macros Causes the AppID to Return 'MS VB' Instead of Application Identifier

 
 

212526 - 2000: Sample Code to Increment Through a Document Line by Line

 
 

201950 - 2000: Sample Code to Scroll to Top or Bottom of Document Window

 
 

211458 - 2000: Sample Macro That Uses a Loop to Find Text

 
 

209140 - 2000: Sample Macro to Create Popup Toolbar

 
 

236162 - 2000: Sample Macro to List All Files in a Folder

 
 

209216 - 2000: Sample Macro to Place a Border on a Single Cell in a Table

 
 

211773 - 2000: Sample Macro to Print All Open Documents

 
 

201993 - 2000: Sample Macro to Print All Word Documents Found in a Folder

 
 

212629 - 2000: Sample Macro to Remove a Submenu from a Menu

 
 

235897 - 2000: Sample Macro to Retrieve Page Number of Currently Viewed Page and Insertion Point

 
 

262961 - 2000: Sample Macro to Return Macro and Procedure Names

 
 

212553 - 2000: Sample Macro to Select or Go to a Table Cell

 
 

198843 - 2000: Sample Macros to Turn a True or False Property On or Off

 
 

189297 - 2000: Sample VBA Code to Delete Built-In Style

 
 

212724 - 2000: Sample VBA Code to Set Retrieve Summary Information

 
 

218500 - 2000: Sample Visual Basic Code to Insert Section Page and Column Breaks

 
 

221957 - 2000: Sample Visual Basic Macro to Type All AutoText Entries

 
 

237436 - 2000: Sample Visual Basic for Applications Code to Set Retrieve .ini File or Registry Information

 
 

211242 - 2000: SaveAs Method Overwrites Existing Documents

 
 

204241 - 2000: Selection Problems in Table If Application or Window Is Hidden

 
 

209910 - 2000: Shell Command Does Not Start Second Instance of Word

 
 

212547 - 2000: Shell Command Does Not Wait for Application to Finish

 
 

220637 - 2000: Shortcut Key Assignment Lost Moving Macro

 
 

212711 - 2000: Simulating a Macro Pause in Visual Basic for Applications

 
 

212133 - 2000: Some Screen Items Update with ScreenUpdating Set to Zero

 
 

201996 - 2000: Tab Stop Count Returns Incorrect Count

 
 

212407 - 2000: Text from WordBasic.Input Command Truncated After Comma

 
 

211422 - 2000: Text with Layout Is Not Listed in the EditConversionOptions Macro

 
 

212522 - 2000: TimeOut Argument Ignored by Some Dialog Boxes

 
 

212673 - 2000: Troubleshooting Variables and Data Types

 
 

201997 - 2000: Type Mismatch Error Running Converted WordBasic Macro

 
 

209800 - 2000: Unable to Record Macro for Inline-to-Floating Picture Conversion

 
 

201932 - 2000: Unable to Run Macro with Multiple Command-Line Switches

 
 

211267 - 2000: Unable to Show User Form in Other Projects

 
 

254708 - 2000: Undocumented Information About Visual Basic WdKeyCategory Constants

 
 

212660 - 2000: Unexpected Name in 'File Name' Box After Macro Changes Title

 
 

238395 - 2000: UserForm Tabbing Order Problems Using Frame Controls

 
 

211653 - 2000: Using AppActivate Command to Switch to Another Program

 
 

242931 - 2000: Using LinkToPrevious After Retrieving Range.Information Causes VBA Run-Time Error 4605

 
 

207781 - 2000: Using the ASCII and ANSI Characters in Word for Windows

 
 

212387 - 2000: VBA Code Lost When Converting to Another File Format

 
 

212694 - 2000: VBA Code to Select or Clear a Check Box in a Dialog Box

 
 

212729 - 2000: VBA Code to Switch a Document to Two-Page View

 
 

212719 - 2000: VBA Command to Display Version Number of Word

 
 

209189 - 2000: VBA Function to Check Whether File or Document Is Open

 
 

201956 - 2000: VBA Routines to Determine If Line or Document Is Empty

 
 

220560 - 2000: VBA UserForm Appears to Stop Word

 
 

212682 - 2000: VBA macro examples to insert text into a document in Word 2000

 
 

209680 - 2000: VBA: ActiveDocument.Background.Rotation Causes IPF

 
 

210038 - 2000: VBA: CharacterWidth Property Returns 9999999

 
 

240157 - 2000: VBA: How to Count the Occurrences of a Word or Phrase

 
 

220420 - 2000: VBA: Text Placed in Wrong Document Using Hidden Documents

 
 

210034 - 2000: VBE Run-Time Error '5889' Using Publications Templates

 
 

209929 - 2000: Value out of Range Using WordBasic.InsertFormField.CheckWidth Argument

 
 

212512 - 2000: VerticalPercentScrolled Fails to Set the Correct Value

 
 

211452 - 2000: Visual Basic Example to Print Current Page

 
 

212730 - 2000: Visual Basic Macro to Assign Clipboard Text to a String Variable

 
 

210253 - 2000: WindowState Property Returns 1 (Maximized ) Instead of (2) Minimized As Expected

 
 

269570 - 2000: Windows Property Causes Error 5941 When You Make Document Visible

 
 

212538 - 2000: WithEvents Fails Quit Event with No Documents Open

 
 

212151 - 2000: Word Beeps Opening Shortcut Menu While Recording Macro

 
 

212705 - 2000: Word Count Appears Inaccurate Using VBA Words Property

 
 

212648 - 2000: Word Count for Comments Incorrect Using Words Property

 
 

244354 - 2000: Word Disappears from Screen but Remains in Memory When You Use LookIn Property

 
 

212675 - 2000: Word Still Runs After Automation Session

 
 

255970 - 2000: Word Stops Responding When Communicating with OLE1 OCX Through DDE to VBA Form

 
 

211466 - 2000: WordBasic MacroCopy Command Does Not Work

 
 

209733 - 2000: WordBasic.Date$ Day$ Month$ Return Incorrect Leap Year Value

 
 

209937 - 2000: WordBasic.FormatPicture Resizes Picture Incorrectly Using Cropping

 
 

212580 - 2000: WordBasic.MailMergeInsertFillin Fails to Prompt for Initial Default Value

 
 

204454 - 2000: WordBasic.Selection$ Returns Empty Value for Selected Table Cell

 
 

209957 - 2000: WordBasic.ToolsSpelling Spelling Check Alert Doesnt Appear When Automating Word

 
 

210109 - 2000: Zoom.PageFit Property Returns Unexpected Value for wdPageFitFullPage

 
 

209945 - 2000: wdDialogInsertPicture LinkToFile Property Fails to Set Dialog Choice

 
 

220193 - 2000: wdDocumentsPath Constant Returns Current Folder

 

 

Knowledge Base Articles - 1997

 
 

162700 - 1997: 'All Active Templates and Documents' Missing Macros

 
 

184981 - 1997: 'Cant Find Project or Library' When You Run a Macro

 
 

163489 - 1997: 'For Each...Next' Loop Gives Wrong Result with Endnotes

 
 

183215 - 1997: 'Object Not a Collection' Error with SynonymInfo.MeaningList

 
 

162207 - 1997: 'Replace With' Format Incorrect with Recorded Macro

 
 

162389 - 1997: 'This file could not be found' Error with Open Method

 
 

216642 - 1997: 97: Macro to Set Default Save Format As HTML

 
 

165251 - 1997: Acceptable Values of wdLineWidth Constant (in wdLineStyle)

 
 

237278 - 1997: Access Violation When You Programmatically Apply a ListTemplate That Doesnt Exist

 
 

162391 - 1997: Activewindow.Panes.Count Returns 1

 
 

177052 - 1997: Application Error Printing from Shortcut Menu in Explorer

 
 

168417 - 1997: Application.Help wdHelp Generates Run-Time Error

 
 

165516 - 1997: ArtWidth Sets Values in Points But Returns in Twips

 
 

184050 - 1997: Assigned Selected Adjacent Text Variable Doubles

 
 

070991 - 1997: Auto Macros in Word

 
 

181060 - 1997: AutoClose Macro Is Executed Before Document Is Closed

 
 

170352 - 1997: AutoClose Macro Prompts to Save When Document Is Closed

 
 

245227 - 1997: AutoExit Macro Does Not Remove Menu Items Added by AutoExec Macro

 
 

174994 - 1997: Autoexec Macro Runs Twice When Reference Is Added

 
 

164817 - 1997: Bad Parameter Error with the AddPicture Method

 
 

168423 - 1997: Batch Conversion Macro Causes Error When You Convert File

 
 

168422 - 1997: Batch Conversion Wizard Cannot Convert Templates

 
 

173864 - 1997: Batch Conversion Wizard Document Open After Dialog Closed

 
 

165603 - 1997: Borders.Count Returns Five on a Selected Paragraph

 
 

165927 - 1997: BreakLink Method Deletes Object Reference

 
 

162440 - 1997: BuiltInDocumentProperties Returns Incorrect Page Count

 
 

184627 - 1997: CALL Statement Cannot Accept Variable Argument

 
 

171134 - 1997: CALL Statement Cannot Accept Variable Argument

 
 

162939 - 1997: Cancel Action Doesnt Function in Converted Macro

 
 

164992 - 1997: Cancel RegOptions Macro Doesnt Cancel Registry Changes

 
 

158224 - 1997: Cannot Find Veenlr3.hlp After Typical Installation

 
 

264046 - 1997: Cannot Insert Special Character Using Dialogs(wdDialogInsertSymbol).Show

 
 

165096 - 1997: Cannot Record Macro to Set Options in Customize Dialog Box

 
 

185642 - 1997: Cannot Specify Password Using RecentFiles.Open Method

 
 

162397 - 1997: Cannot Switch to Navigation Pane in Document Map View

 
 

164010 - 1997: Cannot Trap Undefined Sub or Function Error

 
 

186965 - 1997: Cannot Turn Off List of Most Recently Used Fonts

 
 

158499 - 1997: Cannot Use ScanProt with Word 97

 
 

163491 - 1997: Cant Assign an Array to Explicitly Declared Array Variable

 
 

161669 - 1997: Cant Open Selected Doc Using Dialogs FileFind Constant

 
 

271477 - 1997: Changing Relative Position Causes Shape to Jump to Top of Page

 
 

159676 - 1997: Close Method in Macro Fails in Protected Form

 
 

162118 - 1997: Closing Document Window Does Not Close VB Editor

 
 

175924 - 1997: Code to Determine Whether Open Document Is a Template

 
 

159231 - 1997: Command to Display Version Number of Word

 
 

163417 - 1997: Command to Display the Properties Dialog Box

 
 

158854 - 1997: Compile Error If VB Code Doesnt Find Comments

 
 

162937 - 1997: Compile Error Passing Function Call

 
 

158468 - 1997: Compile Syntax Errors When You Run a Converted Macro in Word 97

 
 

187890 - 1997: Confirm Data Source Dialog Box Not Accessible in VBA

 
 

186969 - 1997: ConfirmConversions Doesnt Work with OpenDataSource

 
 

280742 - 1997: ConfirmConversions Property in Macro Changes 'Confirm Conversion at Open' Option

 
 

142670 - 1997: ConvertNumberToText Method Fails

 
 

177271 - 1997: Converted WordBasic On Error Statements May Fail

 
 

165922 - 1997: Converting ActiveX to Picture Causes Invalid Page Fault

 
 

196541 - 1997: Copying Toolbar Does Not Copy Associated Macros

 
 

165923 - 1997: Creating Hyperlink Deletes Object Reference

 
 

159612 - 1997: Creating a Password-Style Macro Dialog Text Box

 
 

163457 - 1997: Customized Toolbar Button Reappears After Removing Button

 
 

165976 - 1997: DefaultBorderColorIndex Does Not Apply Color First Time

 
 

165714 - 1997: Deleting Hyperlinks from Collection Does Not Delete All

 
 

159562 - 1997: Determining the Current Page and Section Number

 
 

192320 - 1997: Disable System Menu Button and Keyboard Close Command

 
 

163574 - 1997: DisplayAlerts=wdAlertsNone Fails to Suppress Print Error

 
 

164816 - 1997: DocErr: HasHorizontal/HasVertical Property Returns True for Single Table Cell or Paragraph

 
 

161001 - 1997: Document Macro Shortcut Key Assignments Wont Print

 
 

170892 - 1997: Document Must Be Open to Change Properties by Macro

 
 

167876 - 1997: Documents Collection Fails When Document Is Closed

 
 

192068 - 1997: Documents Will Not Print Until Macro Ends

 
 

164557 - 1997: Email Profile Argument Does Not Exist For Document Routing

 
 

265623 - 1997: Embedded Documents Custom and Built-in Properties Lost If VBA Module Present

 
 

185166 - 1997: EnableCancelKey Fails to Reset After Macro Completion

 
 

178878 - 1997: Error 5152 Running Macro To Insert Graphic w/URL Address

 
 

163580 - 1997: Error Creating Pre-Existing Custom Document Property

 
 

155903 - 1997: Error Inserting ActiveX Control

 
 

171129 - 1997: Error Message If AutoText String Exceeds 255 Characters

 
 

185232 - 1997: Error Message Using WordMail: 'This method or property is not available'

 
 

280463 - 1997: Error Message: 'Cant Assign to Read-Only Property' When You Use Macro to Change URL

 
 

194554 - 1997: Error Running WinFax Macros in SR-2

 
 

154026 - 1997: Error Using FilePost in WordBasic

 
 

167259 - 1997: Error in Recorded Macro Using Previous/Next Row Commands

 
 

176865 - 1997: Error with Missing FormField Bookmark Names

 
 

165250 - 1997: Errors Setting Border LineWidths Via Macro Commands

 
 

166973 - 1997: Example Macro to Select or Go to a Table Cell

 
 

180631 - 1997: Example Macro to Send E-mail Using MAPI Commands

 
 

163809 - 1997: Extend Selection Is Turned Off After Macro Completion

 
 

159424 - 1997: FileCopy Statement Requires Destination File Name

 
 

181106 - 1997: FileFind Command Does Not Open Advanced Find Dialog Box

 
 

181935 - 1997: FileOpen and Auto Macros Renamed

 
 

185190 - 1997: Find/Replace Macros Cannot Find Wingdings Characters

 
 

162436 - 1997: Float Over Text Option Unavailable Recording Macro

 
 

163932 - 1997: Frequently Asked Questions About Word Macro Viruses

 
 

197194 - 1997: Function to Test for Valid Directory Path.QUESTION

 
 

167381 - 1997: GetAddress Method Without Name Argument Causes IPF

 
 

162520 - 1997: GetAllSettings Returns Type Mismatch

 
 

169545 - 1997: GetSpellingSuggestions Method Causes Errors

 
 

162422 - 1997: GetSpellingSuggestions Method Misses Repeated Words

 
 

160021 - 1997: GoBack Method Switches to Another Document

 
 

166194 - 1997: How To Hide The Full Screen Toolbar Using VB Code

 
 

161328 - 1997: How To Perform Calculations With Dates And Times

 
 

162480 - 1997: How Word Converts Execute-Only Macros

 
 

162490 - 1997: How to Access Sample Macros for Word 97

 
 

216543 - 1997: How to Automate a Process Based on Number of Days Since Last Revision

 
 

164234 - 1997: How to Break Out of an Infinite Macro Loop

 
 

237918 - 1997: How to Clear the Poppy Macro Virus

 
 

197226 - 1997: How to Close an InputBox$() Dialog Box Using Keystrokes

 
 

187985 - 1997: How to Code the ENTER Key to Move to Next Field in Protected Form

 
 

159896 - 1997: How to Control the Tabbing Order in a Form

 
 

172178 - 1997: How to Create Mutually Exclusive Check Boxes Using VBA

 
 

177275 - 1997: How to Create a Macro to Change Printer or Fax Driver

 
 

164815 - 1997: How to Create and Display a Custom Dialog Box

 
 

198967 - 1997: How to Determine Which Items Are Selected in a List Box

 
 

171044 - 1997: How to Determine the Number of Days Between Two Dates

 
 

190239 - 1997: How to Edit an MS Graph Object Programmatically

 
 

181174 - 1997: How to Exit Windows from Word Using ExitWindows

 
 

176992 - 1997: How to Find the Ansi Value of Characters

 
 

162150 - 1997: How to Implement a Delay in Visual Basic for Applications

 
 

180202 - 1997: How to Keep OnEntry Macro from Running at Document Open

 
 

143434 - 1997: How to Obtain the Word for Windows Type Library

 
 

185167 - 1997: How to Pass a Parameter to a Macro Using Automation

 
 

276475 - 1997: How to Perform a Word Count of a Specific Word in a Document

 
 

170730 - 1997: How to Play a .wav Sound File by Using a Macro

 
 

176868 - 1997: How to Programmatically Insert an Excel Chart into Word

 
 

216201 - 1997: How to Programmatically Save Each Page or Section of Document As Separate File

 
 

159748 - 1997: How to Protect VBA Code from Unauthorized Access

 
 

163490 - 1997: How to Rename Copy or Delete a Macro

 
 

173504 - 1997: How to Restore the Tools Menu After Removing a Macro Virus

 
 

185351 - 1997: How to Return Only the File Name Using the FileSearch Property

 
 

175926 - 1997: How to Select the Current Paragraph Using VBA Code

 
 

193146 - 1997: How to Set the Default File Path Using VBA

 
 

185052 - 1997: How to Use Other Converters with the FileFormat Property

 
 

158695 - 1997: How to Use the Name...As Statement to Rename Files

 
 

176995 - 1997: IPF Using Linked Image SourceName/SourcePath Property

 
 

176867 - 1997: Incorrect Tab Settings Using WordBasic.FormatTabs

 
 

172498 - 1997: Information About the EditConversionOptions Macro

 
 

164623 - 1997: InlineShape.Reset Does Not Reset Size of Document Object

 
 

181292 - 1997: InsertSymbol Result Not Translated Between Mac and ANSI

 
 

167073 - 1997: Invalid Page Fault Running ToolsGramSettings Command

 
 

167150 - 1997: Invalid Page Fault with WordBasic.EditLinks and Sel

 
 

157532 - 1997: Invalid Procedure Name Error Creating a New Macro

 
 

177012 - 1997: Macro Does Not Insert AutoText Entries with Formatting

 
 

163052 - 1997: Macro Error When Opening Template with Toolbar

 
 

203479 - 1997: Macro Example for Formatting Table Cells That Contain Text

 
 

161009 - 1997: Macro Examples to Calculate Cells Across Multiple Tables

 
 

160697 - 1997: Macro Name Truncated in Customize Dialog Box

 
 

163425 - 1997: Macro Programming Resources

 
 

165601 - 1997: Macro Record Results In PlayBack Error Editing Objects

 
 

162938 - 1997: Macro Returns to View Used Before Opening Header

 
 

176312 - 1997: Macro Shortcut Key Assignments Do Not Display

 
 

161515 - 1997: Macro Virus Warning Displayed When No Macros Exist in File

 
 

198057 - 1997: Macro Virus Warning Message When You Start Word

 
 

298063 - 1997: Macro Warning Does Not Appear When You Open RTF Document

 
 

214652 - 1997: Macro Warning Doesnt Appear Opening File Attached to Template That Contains Macros

 
 

185186 - 1997: Macro to Add a Command Button with Code to a Document

 
 

171097 - 1997: Macro to Calculate Number of Months between Two Dates

 
 

170969 - 1997: Macro to Cascade Open Document Windows

 
 

186115 - 1997: Macro to Check for Multiple Instances of Word

 
 

170732 - 1997: Macro to Count Number of Document Paragraphs and Lines

 
 

159029 - 1997: Macro to Count Number of Rows in a Table

 
 

170891 - 1997: Macro to Count Sections in a Document

 
 

170612 - 1997: Macro to Create Table of Contents Entry Automatically

 
 

170724 - 1997: Macro to Determine If Insertion Point Is in a Table

 
 

187892 - 1997: Macro to Determine If a File Exists on Disk

 
 

159345 - 1997: Macro to Determine Whether File Is Already Open

 
 

182169 - 1997: Macro to Determine Whether a Form Field Exists

 
 

171128 - 1997: Macro to Determine the Number of Days in a Specified Month

 
 

157773 - 1997: Macro to Disable Float Over Text Property

 
 

181296 - 1997: Macro to Dock Toolbars That Are Beyond Screen Borders

 
 

181527 - 1997: Macro to Find Automatic (Soft) Page Breaks

 
 

185290 - 1997: Macro to Find Selected Special Characters Based on Unicode Value

 
 

160326 - 1997: Macro to Find Tables in Word Documents

 
 

170970 - 1997: Macro to Generate List of Available Fonts in Word

 
 

169932 - 1997: Macro to Generate Report of Files Found

 
 

161309 - 1997: Macro to Increment Invoice Number to New Form Document

 
 

188426 - 1997: Macro to Insert Style Name in Each Paragraph

 
 

173799 - 1997: Macro to List Custom Tab Stops in a Paragraph

 
 

159973 - 1997: Macro to Move Insertion Point to Top of Current Page

 
 

159973 - 1997: Macro to Move Insertion Point to Top of Current Page

 
 

181398 - 1997: Macro to Remove a Subdirectory in Word for Windows

 
 

170729 - 1997: Macro to Replace Font Formatting

 
 

182092 - 1997: Macro to Retrieve Text from Each Cell in a Table

 
 

170890 - 1997: Macro to Send a Word Document as Text or an Attachment

 
 

171126 - 1997: Macro to Test for an Existing Macro Name

 
 

170731 - 1997: Macro to Test for the Last Cell in a Table

 
 

159968 - 1997: Macro to Turn All Field Codes On and Off

 
 

121890 - 1997: Macro: Displaying a List of Directories

 
 

272751 - 1997: Macros Are Enabled When Word Automatically Opens ASD Files

 
 

274249 - 1997: Macros Are Enabled When You Use Access Database File in Mail Merge Document

 
 

272749 - 1997: Macros Are Enabled When You Use Access Database File in Word

 
 

159326 - 1997: Macros Not Listed After Creating New Document in Explorer

 
 

180513 - 1997: Macros to List or Print All Documents Found in a Folder

 
 

160059 - 1997: Macros to Move to Beginning End of Paragraph

 
 

170726 - 1997: Macros to Test for an Existing AutoText Entry Name