Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

excel vba

Options
  • 13-08-2003 4:24pm
    #1
    Closed Accounts Posts: 53 ✭✭


    does anyone know the difference between
    Worksheets("Sheet1").Select and
    Worksheets("Sheet1").Activate ?


Comments

  • Registered Users Posts: 1,023 ✭✭✭[CrimsonGhost]


    .select eh selects the object. It can then be references with with the selection keyword.
    Normally select is used for a block of cells

    The .activate line would bring the sheet to the foreground.

    So you could reference cells in a sheet without it being in the foreground with select.

    Hope that helps.


  • Closed Accounts Posts: 53 ✭✭riam


    thanks for that.


Advertisement