+ Reply to Thread
Results 1 to 8 of 8

Do not include specific multiple worksheets in a VBA programed list

  1. #1
    Forum Contributor
    Join Date
    06-30-2014
    Location
    London, England
    MS-Off Ver
    365 & 2010
    Posts
    100

    Do not include specific multiple worksheets in a VBA programed list

    Hi,

    I have the below code that lists the worksheets name in column A of my active sheet which is greater and less than sheet2.

    Please Login or Register  to view this content.
    What I am trying to do is have multiple declared sheets not to be part of this list and I have no idea how and where to put it.

    For example:

    If wSheet.Name ="Sheet1","Sheet3", "Summary", "Sheet5" - Don't Include but anything else include in the list.

    Any help would be greatly appreciated.

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

    Re: Do not include specific multiple worksheets in a VBA programed list

    How about
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    06-30-2014
    Location
    London, England
    MS-Off Ver
    365 & 2010
    Posts
    100

    Re: Do not include specific multiple worksheets in a VBA programed list

    Fluff13, it works perfectly. Thank you very much

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

    Re: Do not include specific multiple worksheets in a VBA programed list

    Glad to help & thanks for the feedback

  5. #5
    Forum Contributor
    Join Date
    06-30-2014
    Location
    London, England
    MS-Off Ver
    365 & 2010
    Posts
    100

    Re: Do not include specific multiple worksheets in a VBA programed list

    Sorry, If I want the VBA list to start lets just say from range ("B8") on Summary sheet how would I put that in the code.

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

    Re: Do not include specific multiple worksheets in a VBA programed list

    Try
    Please Login or Register  to view this content.

  7. #7
    Forum Contributor
    Join Date
    06-30-2014
    Location
    London, England
    MS-Off Ver
    365 & 2010
    Posts
    100

    Re: Do not include specific multiple worksheets in a VBA programed list

    Again, thanks again Fluff. Tried to rep you again but I was told to share the love

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

    Re: Do not include specific multiple worksheets in a VBA programed list

    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. [SOLVED] Combining Data From Multiple Worksheets into One, Specific Worksheets Not All
    By kschmit1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-27-2017, 04:09 PM
  2. [SOLVED] Changing Worksheets Using Dropdown List (not combo box) that doesn't include sheet names
    By firebird_richie in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-02-2017, 11:48 PM
  3. Copy rows from multiple worksheets but do not include blanks
    By tillyman in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-07-2015, 02:18 AM
  4. Copy rows from multiple worksheets but do not include blanks
    By tillyman in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-07-2015, 02:17 AM
  5. [SOLVED] Expanding a formula to include multiple worksheets/tabs
    By Raidon in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-12-2012, 12:46 PM
  6. Replies: 3
    Last Post: 06-24-2012, 02:01 AM
  7. Comma Error in Programed Combo Box
    By matt4003 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-11-2009, 03:40 PM

Tags for this Thread

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