Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
In which command can I check which sheet is activate at the moment? thanx. ------------------------------------------------ ~~ Message posted from http://www.ExcelTip.com/ ~~ View and post usenet messages directly from http://www.ExcelForum.com/ |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Efi,
ActiveSheet will always refer to the sheet that is presently active. E.g., MsgBox "Active Sheet: " & ActiveSheet.Name -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "efi" wrote in message ... Hi, In which command can I check which sheet is activate at the moment? thanx. ------------------------------------------------ ~~ Message posted from http://www.ExcelTip.com/ ~~ View and post usenet messages directly from http://www.ExcelForum.com/ |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
MsgBox ActiveSheet.Name
This will give you the name With this you can run code if the sheet Mysheet is active If ActiveSheet.Name = "Mysheet" Then 'your code End If -- Regards Ron de Bruin (Win XP Pro SP-1 XL2002 SP-2) www.rondebruin.nl "efi" wrote in message ... Hi, In which command can I check which sheet is activate at the moment? thanx. ------------------------------------------------ ~~ Message posted from http://www.ExcelTip.com/ ~~ View and post usenet messages directly from http://www.ExcelForum.com/ |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Activate Sheet After Move Macro | Excel Discussion (Misc queries) | |||
How can I activate spell check in a protected sheet | Excel Worksheet Functions | |||
Enable check box in protected sheet + group check boxes | Excel Discussion (Misc queries) | |||
Activate the top of sheet | Excel Worksheet Functions | |||
Activate check "Trust access to Visual Basic " in Excel | New Users to Excel |