Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi all,
I have created a icon on my <Standard command bar, when I clik, it link to another spread sheet which will open up. This works fine, except that each time the linked spread sheet opens up, it also turns on the "Web" Command bar, and I have to clik the "x" on the command bar to hide it. How can I prevent this? I have tried adding these following lines to the Microsoft Excel Objects ThisWorkbook but it doesn't work. Private Sub Workbook_Open() Application.CommandBars("Web").Visible = False End Sub |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How about trying .enabled instead of .visible?
ch wrote: Hi all, I have created a icon on my <Standard command bar, when I clik, it link to another spread sheet which will open up. This works fine, except that each time the linked spread sheet opens up, it also turns on the "Web" Command bar, and I have to clik the "x" on the command bar to hide it. How can I prevent this? I have tried adding these following lines to the Microsoft Excel Objects ThisWorkbook but it doesn't work. Private Sub Workbook_Open() Application.CommandBars("Web").Visible = False End Sub -- Dave Peterson |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() It Worked! Thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Format a cell such that "#NAME?" reads/appears "N/A"? | Excel Discussion (Misc queries) | |||
ie Command to Wait for "File Download" and "Save As" windows | Excel Programming | |||
command button and the "enter" and "tab" keys | Excel Programming | |||
inserting a conditional "go to" command on a excel "if" function | Excel Worksheet Functions | |||
Is there a "replace" or "Substitute" command in Excel's VB? | Excel Programming |