+ Reply to Thread
Results 1 to 4 of 4

Unhide hidden sheets + Scroll all sheets

  1. #1
    Registered User
    Join Date
    05-15-2008
    Posts
    13

    Unhide hidden sheets + Scroll all sheets

    Hi, Im in a little bind that need help.
    Problem:
    1) Need to identify any hidden sheets and unhide them.
    2) Scroll to each sheets starting from the left most
    3) identify if the sheet is protected.

    Project scope.
    Workbook contains between 15 to 25 worksheets.
    Unhide all worksheets, then starting from the left most worksheet.
    Scroll to each one. Unprotect the sheet if protected, then set the print area to print in single page, then protect the sheet again.
    delete sheet if sheetname is Temp1, or work1, or work3, payplan, capture, "Extra (delimited)", or "Temporary (Last month)".

    I hope that I have provide enough information here.
    Thanks for any help...

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Might want to save your workbook first and say no to changes if it doesn't work the way you want.

    Note. Assumes password is blank

    Please Login or Register  to view this content.
    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Forum Contributor
    Join Date
    04-30-2008
    Posts
    105
    Its a bit longer but it should work. If you don't have a Password for these sheets, just delete that part of the code that says "Password:="Password". Also, the code won't cause the macro to stop partially through the code since when you do delete a sheet, Excel will, by default, ask you whether or not you want to permanently delete that particular sheet.

    Please Login or Register  to view this content.
    Hope this helps.
    Last edited by fecurtis; 05-21-2008 at 05:42 PM.

  4. #4
    Registered User
    Join Date
    05-15-2008
    Posts
    13

    Unhide hidden sheets + Scroll all sheets

    Excellent !!! Thanks to both of you.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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