The information in this article applies to:
SYMPTOMSIn Microsoft Excel 98 Macintosh Edition, if you run a Visual Basic for Applications macro that attempts to set or get the page setup properties for any sheet in a workbook, you may receive either of the following error messages
-or- where <x> is any of the following words:
CAUSEThis problem occurs when there are no printer drivers installed on your computer. Microsoft Excel cannot set or get page setup properties if no printer drivers are installed. RESOLUTIONTo prevent this problem from occurring, install a printer driver on your computer. STATUSThis behavior is by design of Microsoft Excel 98 Macintosh Edition. MORE INFORMATION
In Microsoft Excel, page setup properties are only useful when you print or
print preview one or more sheets in a workbook. Because of this, you cannot
change or return most page setup properties unless at least one printer
driver is installed as the default printer.
Just as you cannot access the Page Setup dialog box in this case, you cannot access the properties in the dialog box programmatically. Additional query words: XL98
Keywords : kbprg kbdta xlvbahowto xlvbainfo OffVBA xlprint |
Last Reviewed: November 4, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |