The information in this article applies to:
SYMPTOMSIf you open a Microsoft Excel workbook in Microsoft Word, a sheet that you hid by using the Visible property and the xlVeryHidden setting is available in the Open Workbook (Word 6.0) or Open Worksheet (Word 7.0, 97, 98) dialog box. If you open the sheet, you can view the data on the sheet. CAUSEThis behavior occurs because the converter that Microsoft Word uses to open Microsoft Excel workbooks ignores any settings you specify for the Visible property of a sheet in a Microsoft Visual Basic for Applications macro. WORKAROUND
Other than making the workbook an add-in, you cannot hide worksheets so
they cannot be viewed in Microsoft Word. However, you can place a password
on the Microsoft Excel file so you cannot open the file in Microsoft Word
or Microsoft Excel without typing the password.
STATUSThis behavior is by design of the Microsoft Excel converter that Microsoft Word uses to open Microsoft Excel workbooks. REFERENCES
For more information about the Visible property, in Microsoft Excel 97
click the Office Assistant in the Visual Basic Editor, type visible,
click Search, and then click to view "Visible Property (Excel 97)."
Q120802 Office: How to Add/Remove a Single Office Program or Component Additional query words: XL97 XL98 XL7 XL5 WD97 WD98
Keywords : kbprg kbdta KbVBA |
Last Reviewed: October 25, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |