Thread: Excel VBA
View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Jerry Park Jerry Park is offline
external usenet poster
 
Posts: 23
Default Excel VBA

EdT wrote:
When in the VBA IDE the sheets in the workbook under Microsoft Excel
Objects. Each worksheet is numbered (Sheet1, Sheet2,....) and next to
the sheet number is the name of the sheet. Is there anyway to access
the sheet module by the name of the sheet rather than the sheet
number?

...Item("Sheet1")...

...Item("Sales Leads")...

Any help would be greatly appreciated.

Thanks,
EdT

ActiveSheet.Name seems to work OK for that.