Results 1 to 12 of 12

.Select selecting multiple sheets in a form

Threaded View

  1. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: .Select selecting multiple sheets in a form

    Try

    Private Sub CommandButton_Click()
        Sheets("Sheet2").Select
        Unload Me
    End Sub
    It looks like quitting the userform is making excel read the next line like:-

        Sheets(Array("Sheet1", "Sheet2")).Select
        Sheets("Sheet2").Activate
    Last edited by mehmetcik; 12-19-2014 at 09:25 PM.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Form to select sheets and export as PDF
    By ron2k_1 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-28-2012, 02:02 PM
  2. [SOLVED] selecting multiple sheets
    By Duke Carey in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2005, 09:05 PM
  3. selecting multiple sheets
    By Shaun in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 PM
  4. selecting multiple sheets
    By Duke Carey in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2005, 08:05 AM
  5. [SOLVED] selecting multiple sheets
    By Shaun in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM

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