Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting the active worksheet in Excel via VBA (newbie question)

Status
Not open for further replies.

ujculbe

Programmer
Jul 25, 2001
1
US
I am new at VBA, and I want to set a worksheet in my Excel workbook as the active worksheet. Can someone help with the command to do this?

Your help will be greatly appreciated.

 
Sheets("Sheet1").Select
is what I ususally use. You can also put a string variable in there.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top