Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
how do I get the name of worksheet I just add in macro
In macro, I use sheets.add create a new worksheet. I need
to know the name of the worksheet I just created. how can I do it? |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
how do I get the name of worksheet I just add in macro
Dim sh as Worksheet
set sh = Worksheets.Add msgbox sh.Name -- Regards, Tom Ogilvy "jane" wrote in message ... In macro, I use sheets.add create a new worksheet. I need to know the name of the worksheet I just created. how can I do it? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel Macro Issue Trying to autorun Macro Upon Opening Worksheet | Excel Programming | |||
How to end macro on inital active worksheet containing macro button that was clicked | Excel Programming | |||
How? Macro to copy range to new worksheet, name new worksheet, loop | Excel Programming | |||
macro to apply worksheet event to active worksheet | Excel Programming | |||
Record Worksheet Content as Macro and Execute from another Worksheet | Excel Programming |