Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default OLE control for workbook hidden field

In Excel under the Window menu there are hide and unhide menu options to
hide and unhide workbooks. However, the workbook object does not have a
visible or hide property. How, using OLE, can I view and change the hidden
status for workbooks?

Greg
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default OLE control for workbook hidden field

In VBA, I'd use something like:

Dim myWindow As Window
Dim wkbk As Workbook

Set wkbk = Workbooks("someworkbooknamehere.xls")

For Each myWindow In wkbk.Windows
myWindow.Visible = False
Next myWindow



Greg Luce wrote:

In Excel under the Window menu there are hide and unhide menu options to
hide and unhide workbooks. However, the workbook object does not have a
visible or hide property. How, using OLE, can I view and change the hidden
status for workbooks?

Greg


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto Update of a field referencing to a field in another workbook Camper Joe Excel Worksheet Functions 1 February 14th 06 06:14 PM
Sort Pivot Table using hidden data field goofy11 Excel Discussion (Misc queries) 4 February 3rd 06 08:13 PM
How can I control the positioning of the Comments field? GregRTI Excel Discussion (Misc queries) 1 January 9th 06 05:59 PM
How do you control the font size of the data validation field? jeffwamp Excel Discussion (Misc queries) 1 January 6th 06 01:08 AM
Updating Page Field of Pivot Tables from Form Control RestlessAde Excel Discussion (Misc queries) 1 August 3rd 05 09:00 PM


All times are GMT +1. The time now is 05:44 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"