Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
MSL MSL is offline
external usenet poster
 
Posts: 1
Default Help - saving files

Hi

I'm trying to create a macro that automatically saves a file with a file
name taken from a cell - ie: Order number 12345

I'm sure it should be possible but I do I do it ?

Sorry if that's really basic but I'd appreciate any advice.

Thanks

Scott



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,123
Default Help - saving files

Try

ActiveWorkbook.SaveAs Sheets("mysheet").Range("d1").Value & ".xls"

--
Regards Ron de Bruin
http://www.rondebruin.nl



"MSL" wrote in message ...
Hi

I'm trying to create a macro that automatically saves a file with a file
name taken from a cell - ie: Order number 12345

I'm sure it should be possible but I do I do it ?

Sorry if that's really basic but I'd appreciate any advice.

Thanks

Scott





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
Excel files are saving without any XLS extension. Any ideas? David Smith Excel Discussion (Misc queries) 0 October 2nd 06 02:09 PM
Excel Saving to Temp File for files on network samdev Excel Discussion (Misc queries) 2 September 2nd 06 01:43 PM
Closing files and saving files dan Excel Worksheet Functions 0 August 15th 06 04:07 AM
Saving Excel files takes a huge amount of time Heavy Excel user Excel Discussion (Misc queries) 6 January 12th 06 12:11 PM
Saving shared Excel files scasawyer New Users to Excel 3 February 7th 05 02:21 PM


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

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

About Us

"It's about Microsoft Excel"