![]() |
DisplayWorkbookTabs: How to mirror Sheet Tabs option?
I would like to use the DisplayWorkbookTabs to access the "Sheet Tabs"
check box value found on a workbooks' "View" option tab. I would have thought that the Application.ActiveWindow.DisplayWorkbookTabs would reflect this. However, if I have a workbook with "Sheet Tabs" option unchecked, I nonetheless find that Application.ActiveWindow.DisplayWorkbookTabs = True immediately after loading the workbook file. What code would I use to determine if the "Sheet Tabs" option is checked/uncheked? Thanks. |
DisplayWorkbookTabs: How to mirror Sheet Tabs option?
Hello Glenn, Place your code in the Workbook_Open event. Sincerely, Leith Ross -- Leith Ross ------------------------------------------------------------------------ Leith Ross's Profile: http://www.excelforum.com/member.php...o&userid=18465 View this thread: http://www.excelforum.com/showthread...hreadid=505842 |
DisplayWorkbookTabs: How to mirror Sheet Tabs option?
Thanks, Leith.
Although it seems that that would work, I don't think I have that option available. I am using Excel Automation from within VB, using late binding. Unless I'm doing something wrong, apparently, I don't get any Excel events using late binding. Besides that, why is it that my code works in the Workbook_Open event, yet if I place it in VB immediately after opening the document, it doesn't? Thanks. |
All times are GMT +1. The time now is 11:03 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com