Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Saving a file with a cell name

Hi,
Im trying to make a template file that will be sent to several people to
fill in. They will have to select some information and I want them to save
the file with the name specified by the selection in certain cells, that will
give a name for each of them. How do I make the template ready for them just
to save it without modifying the name it should take?

Thanks a lot
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,441
Default Saving a file with a cell name

Put a commandbutton or drawing object with a macro that runs code like this:

ThisWorkbook.SaveAs "C:\Excel\" & Worksheets("Sheet1").Range("A1").Value & ".xls", xlNormal

Of course, you need to change the path and which cell's value is picked up for the name.

HTH,
Bernie
MS Excel MVP


"Save a file with the name from a cell" <Save a file with the name from a
wrote in message
...
Hi,
Im trying to make a template file that will be sent to several people to
fill in. They will have to select some information and I want them to save
the file with the name specified by the selection in certain cells, that will
give a name for each of them. How do I make the template ready for them just
to save it without modifying the name it should take?

Thanks a lot



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
saving a file based on a value in predertermined cell to a specifi Garry E Excel Discussion (Misc queries) 1 July 3rd 06 01:26 PM
How do I preserve cell content when saving an excel file in csv beachwurm Excel Discussion (Misc queries) 1 June 29th 06 08:18 PM
Saving worksheet in new file with date AND cell value as file name michaelberrier Excel Discussion (Misc queries) 4 May 26th 06 08:05 PM
saving file name based on value in predetermined cell jatman Excel Discussion (Misc queries) 5 May 24th 06 01:36 PM
Saving a file using a specific name in a cell SU Excel Worksheet Functions 4 February 25th 05 12:30 AM


All times are GMT +1. The time now is 11:02 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"