+ Reply to Thread
Results 1 to 6 of 6

VBA Coding to select ALL sheets EXCEPT the first tab AND any hidden sheets

  1. #1
    Registered User
    Join Date
    03-19-2018
    Location
    Chicago
    MS-Off Ver
    2016
    Posts
    27

    VBA Coding to select ALL sheets EXCEPT the first tab AND any hidden sheets

    Hi All,

    I need help
    What is the VBA Coding to select ALL sheets EXCEPT the first tab (titled "UPC") AND any hidden sheets.

    I have a document that I am trying to do this in and can't figure it out.

    Any help will be most appreciated

  2. #2
    Registered User
    Join Date
    03-19-2018
    Location
    Chicago
    MS-Off Ver
    2016
    Posts
    27

    Re: VBA Coding to select ALL sheets EXCEPT the first tab AND any hidden sheets

    The only reason I am hiding sheets is because I cannot figure out how to "omit" them from the selection array.

  3. #3
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,941

    Re: VBA Coding to select ALL sheets EXCEPT the first tab AND any hidden sheets

    How about
    Please Login or Register  to view this content.

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,451

    Re: VBA Coding to select ALL sheets EXCEPT the first tab AND any hidden sheets

    Hi Melissalee,

    I think you can only select a single worksheet at a time. You can do 3D formulas though. Read:

    https://support.office.com/en-us/art...2-787d0bc888b6

    Did you know that there are a limited functions for 3D formulas?

    If you supply a sample workbook it might be easer to understand your problem...

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  5. #5
    Registered User
    Join Date
    03-19-2018
    Location
    Chicago
    MS-Off Ver
    2016
    Posts
    27

    Re: VBA Coding to select ALL sheets EXCEPT the first tab AND any hidden sheets

    This worked perfect!! Thanks!!!

    Quote Originally Posted by Fluff13 View Post
    How about
    Please Login or Register  to view this content.

  6. #6
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,941

    Re: VBA Coding to select ALL sheets EXCEPT the first tab AND any hidden sheets

    Glad to help & thanks for the feedback

+ 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. Hide Rows in most sheets skipping hidden sheets
    By NancyPez in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 02-11-2016, 04:53 PM
  2. Hide all sheets (very hidden) except one or Unhide all sheets with password
    By wmdriver in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-21-2015, 07:21 AM
  3. Creating a macro to print only the sheets and portion of sheets that i select.
    By cadamhill in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-31-2012, 01:48 PM
  4. [SOLVED] Coding with hidden sheets
    By j_Southern in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-23-2012, 12:07 PM
  5. hiding sheets but still letting macros run when printing hidden sheets
    By stevesunfold in forum Excel Programming / VBA / Macros
    Replies: 24
    Last Post: 11-13-2008, 04:35 AM
  6. Unhide hidden sheets + Scroll all sheets
    By Chris Baluyot in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-21-2008, 06:24 PM
  7. Dialog Box to Select Sheets to Make Visible and Delete the Remaining Sheets
    By TEAM in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 05-23-2005, 04:59 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