Consulting

Results 1 to 6 of 6

Thread: Hiding Spreadsheets

  1. #1

    Hiding Spreadsheets

    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?

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    You can't. At least one worksheet must be visible.

    You could hide the window

    [vba]

    Windows("myBook.xls").Visible = False
    [/vba]

  3. #3
    Oh well, but how do I remove tabs at the bottom of the worksheet?

  4. #4
    Administrator
    Chat VP
    VBAX Guru johnske's Avatar
    Joined
    Jul 2004
    Location
    Townsville, Australia
    Posts
    2,872
    Location
    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.

  5. #5
    Administrator
    Chat VP VBAX Guru johnske's Avatar
    Joined
    Jul 2004
    Location
    Townsville, Australia
    Posts
    2,872
    Location
    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.

  6. #6
    VBAX Master
    Joined
    Jul 2006
    Location
    Belgium
    Posts
    1,286
    Location

    Try this ...

    Quote Originally Posted by bopo
    Oh well, but how do I remove tabs at the bottom of the worksheet?
    link to vbax thread : http://vbaexpress.com/forum/showthread.php?t=10994

    Charlize

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •