WD2000: Run Time Error 4605 Accessing PageSetup Object After You Insert Table in Frame (275966)
The information in this article applies to:
This article was previously published under Q275966 SYMPTOMS
In Microsoft Word 2000, when you run a Microsoft Visual Basic for Applications macro that accesses the PageSetup object from the Document object or the Section object, you receive the following error message:
Run time error '4605'. This command is not available.
CAUSE
This problem can occur if all of the following conditions are true:
NOTE: You do not receive this error message if your frame does not contain a table, if you have a table that is not inside of the frame, or if the frame is anchored to anything other than the first paragraph in the document.
WORKAROUND
To work around this issue, do one of the following:
- Position the frame so that it is no longer anchored to the first paragraph in the document by dragging it to another location in the document. (The frame is always anchored to the closest paragraph and appears on the same page as the paragraph that it's anchored to.)
-or- - Use a text box instead of a frame, and then insert your table into the text box.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was corrected in Microsoft Word 2002.
REFERENCESFor additional information about text boxes and frames, click the article number below
to view the article in the Microsoft Knowledge Base:
211954 WD2000: General Information About Text Boxes and Frames
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbbug kbnofix KB275966 |
---|
|