If the code is under a worksheet, then me.name will give you the name of the
sheet that owns the code.
You may want: Activesheet.name
lbargers wrote:
Hello,
how can I reference the name of the currently selected sheet, in a
macro?
I tried:
me.name
and it only pulls up the name of the first sheet, no matter which sheet
I have selected..
Thanks for any help on this issue..
Larry
--
lbargers
------------------------------------------------------------------------
lbargers's Profile: http://www.excelforum.com/member.php...o&userid=32798
View this thread: http://www.excelforum.com/showthread...hreadid=532978
--
Dave Peterson