View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Norman Jones Norman Jones is offline
external usenet poster
 
Posts: 5,302
Default Basic Question - How do I return the worksheet number of the active worksheet?

Hi Regnab,

Try:

ActiveSheet.Index

---
Regards,
Norman


"Regnab" wrote in message
oups.com...
Pretty much says it all in the subject. I know it's fairly basic - I
just need to return the activesheet number so I can plug it into my
marco so when it runs, the settings change depending on which sheet the
user is looking at...

Cheers

Reg