+ Reply to Thread
Results 1 to 4 of 4

attempting to activate a particular sheet

  1. #1
    Registered User
    Join Date
    03-18-2016
    Location
    canberra, australia
    MS-Off Ver
    2010
    Posts
    6

    attempting to activate a particular sheet

    goodaye,
    I used worksheets2.Activate then sheets2.activate and got compile error 'variable not defined', help, thanks, mark

  2. #2
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: attempting to activate a particular sheet

    Hi Mark
    Try
    Sheet2.activate or
    Sheets("Sheet Name") .activate
    < ----- Please click the little star * next to add reputation if my post helps you
    Visit Forum : From Here

  3. #3
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,598

    Re: attempting to activate a particular sheet

    I'm guessing but it's probably sheet2.activate, without the 's'
    Ben Van Johnson

  4. #4
    Registered User
    Join Date
    03-18-2016
    Location
    canberra, australia
    MS-Off Ver
    2010
    Posts
    6

    Re: attempting to activate a particular sheet

    Thanks YK and pL, was ..... sheet2.activate, mark

+ 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. Attempting not to use Worksheet.Activate
    By MattyG1406 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-20-2015, 01:53 PM
  2. Replies: 3
    Last Post: 03-30-2015, 05:44 PM
  3. Replies: 0
    Last Post: 06-26-2014, 11:31 AM
  4. Attempting to copy date from one sheet to another
    By jvonier in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-15-2014, 09:10 AM
  5. Code to Activate a sheet 1 [IF] Userform box is "X" if not Activate Sheet 2
    By Invicta084 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-07-2014, 08:50 AM
  6. [SOLVED] Worksheet Activate when user selects sheet NOT when sheet is created from a template sheet
    By y0rk1e72 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-26-2012, 02:47 PM
  7. Replies: 0
    Last Post: 02-24-2012, 02:46 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