+ Reply to Thread
Results 1 to 3 of 3

VBA to hide/unhide a workbook

  1. #1
    Forum Contributor
    Join Date
    02-09-2015
    Location
    malta
    MS-Off Ver
    Microsoft 365
    Posts
    387

    VBA to hide/unhide a workbook

    Hi All,

    I was wondering whether someone can help me with the below.

    is there a vba code which I can use which would help me hide/unhide a workbook

    Example: if a workbook is called "'hello", the VBA would hide this workbook.

    Appreciate a lot your kind help.

    Thanks

    Keibri

  2. #2
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Re: VBA to hide/unhide a workbook

    Have a look at this link
    From here
    < ----- Please click the little star * next to add reputation if my post helps you
    Visit Forum : From Here

  3. #3
    Forum Contributor
    Join Date
    02-09-2015
    Location
    malta
    MS-Off Ver
    Microsoft 365
    Posts
    387

    Re: VBA to hide/unhide a workbook

    Cheers for that.

    I am still having some problems cause its giving me an error:

    "Run time error 9 Subscript out of range"

    is there maybe something else I can o do?

    thanks a lot!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Workaround for Workbook protection:Hide/Unhide Worksheets
    By Aeroica in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-07-2017, 12:33 AM
  2. Using Hyperlink to Hide/Unhide sheets in workbook.
    By Ishwarind in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-29-2015, 08:16 AM
  3. Using Hyperlink to Hide/Unhide sheets in workbook.
    By Ishwarind in forum Excel General
    Replies: 3
    Last Post: 07-29-2015, 05:28 AM
  4. [SOLVED] Hide/Unhide Rows when clicking between two tabs in Workbook
    By jdesro04 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-20-2014, 09:23 PM
  5. Hide or Unhide Multiple Worksheets in a selected workbook
    By nchavan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-22-2013, 10:11 AM
  6. Hide or Unhide worksheets in a workbook using check boxes
    By Kempfat in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-14-2012, 05:35 AM
  7. hide/unhide a column when a pivot table in a new workbook is refreshed.
    By ronanm in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-23-2011, 03:24 PM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1