Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / January 2006

Tip: Looking for answers? Try searching our database.

Put Active Worksheet's Name in a Cell

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
coreymartin@gmail.com - 06 Jan 2006 18:38 GMT
Is there a way to put the active worksheet's name in the cell?  Not the
file name of the whole workbook, just the name of the currently
selected sheet.

Thanks for your help.
Gary''s Student - 07 Jan 2006 12:40 GMT
Making the cell respond to changes in selection would require an event macro.
If you just want to put the sheet name in a cell, then :

Function funny() As String
funny = Range("A1").Worksheet.Name
End Function

will put the name of the sheet in a cell in that sheet.
Signature

Gary's Student

> Is there a way to put the active worksheet's name in the cell?  Not the
> file name of the whole workbook, just the name of the currently
> selected sheet.
>
> Thanks for your help.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.