View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
John Bundy John Bundy is offline
external usenet poster
 
Posts: 772
Default Selecting a specific sheet by codename in an opened workbook (XL03

Try setting the sheet name as a string and then call it like this

mysheet = "Sheet3"
Sheets(mysheet).Select