+ Reply to Thread
Results 1 to 2 of 2

Select Multiple Worksheets

  1. #1
    Forum Contributor
    Join Date
    03-02-2014
    Location
    usa
    MS-Off Ver
    MS 365
    Posts
    596

    Select Multiple Worksheets

    I am running this routine:
    For Each wksSheet In Worksheets
    If condition = something then
    wksSheet.Select
    End If
    Next
    I would like to keep all the selected worksheets selected, similar to what I would be getting when manually selecting with holding the Ctrl Key.
    How is this getting done?
    Thanks

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,644

    Re: Select Multiple Worksheets

    Put False after wksSheet.Select.

    PS Can you add code tags when posting code?
    If posting code please use code tags, see here.

+ 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. Multiselect Listbox to select multiple worksheets
    By Alagu in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-21-2012, 01:28 AM
  2. [SOLVED] Select Multiple Worksheets based on Cell Array
    By jwbehm in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-19-2012, 05:16 PM
  3. Select cells from multiple worksheets
    By kolovel in forum Excel General
    Replies: 0
    Last Post: 12-08-2011, 07:44 AM
  4. Moving select worksheets from multiple file to one workbook
    By jkolstoe in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-29-2011, 07:41 PM
  5. [SOLVED] How do I select multiple worksheets for print preview?
    By steve in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-10-2005, 02:06 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