ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Basic Question - How do I return the worksheet number of the active worksheet? (https://www.excelbanter.com/excel-programming/361664-basic-question-how-do-i-return-worksheet-number-active-worksheet.html)

Regnab

Basic Question - How do I return the worksheet number of the active worksheet?
 
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


Norman Jones

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




Regnab

Basic Question - How do I return the worksheet number of the active worksheet?
 
That's it - perfect. Thankyou Norman....



All times are GMT +1. The time now is 12:36 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com