Thread: sheet reference
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Srikanth[_6_] Srikanth[_6_] is offline
external usenet poster
 
Posts: 3
Default sheet reference

I want to do the following:

(say) I have an excel file by name XYZ.xls and this file has many
worksheets in it. But I am interested in a specific sheet with name
"XYZ all". How to reference the sheet when the filename XYZ could be
different every time I run the macro ? Please help. Thanks

Srikanth