+ Reply to Thread
Results 1 to 3 of 3

Sheets(1).Activate versus Sheets([1]).Activate

  1. #1
    Registered User
    Join Date
    01-21-2015
    Location
    California, USA
    MS-Off Ver
    2013
    Posts
    35

    Sheets(1).Activate versus Sheets([1]).Activate

    Hello,

    I'm trying to modify/update a code that was left behind, and this line of code came up:

    Please Login or Register  to view this content.
    I'm pretty sure that it selects the first sheet in the workbook, but I'm wondering if there is any difference between using that, and using
    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Sheets(1).Activate versus Sheets([1]).Activate

    Nope. There is no difference between the two statements.

  3. #3
    Registered User
    Join Date
    01-21-2015
    Location
    California, USA
    MS-Off Ver
    2013
    Posts
    35

    Re: Sheets(1).Activate versus Sheets([1]).Activate

    Thanks JieJenn.

+ 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. Workbook_Open() Activate Sheets
    By boela in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-29-2014, 06:47 AM
  2. How to activate a code only on certain sheets
    By mastero87 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-04-2013, 06:19 AM
  3. How to activate and print hidden sheets?
    By proepert in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-26-2010, 02:16 AM
  4. error handling - sheets.activate
    By inspector-71 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-04-2010, 08:33 AM
  5. [SOLVED] Activate all sheets
    By George Gee in forum Excel - New Users/Basics
    Replies: 10
    Last Post: 12-03-2005, 06:10 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