Hiya
Basically when a double click on the excel exe icon, I want all the worksheets to be hidden (not viewable) how to I do this?
Hiya
Basically when a double click on the excel exe icon, I want all the worksheets to be hidden (not viewable) how to I do this?
You can't. At least one worksheet must be visible.
You could hide the window
[vba]
Windows("myBook.xls").Visible = False
[/vba]
Oh well, but how do I remove tabs at the bottom of the worksheet?
with code... ActiveWindow.DisplayWorkbookTabs = False
You know you're really in trouble when the light at the end of the tunnel turns out to be the headlight of a train hurtling towards you
The major part of getting the right answer lies in asking the right question...
Made your code more readable, use VBA tags (this automatically inserts [vba] at the start of your code, and [/vba ] at the end of your code) | Help those helping you by marking your thread solved when it is.
There's another alternative in post #8 here > http://www.vbaexpress.com/forum/showthread.php?t=10358
You know you're really in trouble when the light at the end of the tunnel turns out to be the headlight of a train hurtling towards you
The major part of getting the right answer lies in asking the right question...
Made your code more readable, use VBA tags (this automatically inserts [vba] at the start of your code, and [/vba ] at the end of your code) | Help those helping you by marking your thread solved when it is.
link to vbax thread : http://vbaexpress.com/forum/showthread.php?t=10994Originally Posted by bopo
Charlize