Thread: Sheet code name
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Harley Harley is offline
external usenet poster
 
Posts: 16
Default Sheet code name

How do I refer to a sheet by it's code name? I have to sheets in a workbook
that data is written to, and want to add the date to the tab name. In the
project explorer the names are refered to as Sheet1, Sheet2,.... The code
below fails when trying to substitute the names in the explorer window.

'Sheets(Array("Open Items", "Requires verification")).Select
Sheets(Array(Sheet1, Sheet2)).Select