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 / Programming / January 2006

Tip: Looking for answers? Try searching our database.

how do u use a cell value for the save to filename

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mark/mark@bramleycottage.f9.co.uk - 19 Jan 2006 19:19 GMT
I need to save timesheets as their week ending date, can i do this
automaticaly with a macro and control???
TIA
Leith Ross - 19 Jan 2006 19:43 GMT
Hello Mark,

Yes you can do this. Here is macro to rename the Active Worksheet to
whatever the  Active Cell contains. Add A VBA module to your Workbook
and copy the macro code into it. You can then select the macro from the
Macro List (press the ALT key and then press F8 to bring it up) and run
it without using a control.

Macro Code:

Sub RenameSheet)
ActiveSheet.Name  = ActiveCell.Value
End Sub

Sincerely,
Leith Ross

Signature

Leith Ross

 
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.