Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Bill
 
Posts: n/a
Default Save As "value in defined cell"

In a workbook, on worksheet Sheet 1, in Cell A1 I have a value. Let's say
the value is the word "timesheet". How do I save the workbook with the
filename "timesheet"? Generically, how do I save a workbook to a filename,
where the filename is the value in a defined cell on a defined worksheet in
the workbook.
--
Bill
  #2   Report Post  
Posted to microsoft.public.excel.misc
protonLeah
 
Posts: n/a
Default Save As "value in defined cell"


a macro like:
Sub Macro1()
ActiveWorkbook.SaveAs _
Filename:=Range("E1").Value, _
FileFormat:=xlWorkbook, _
Password:="", _
WriteResPassword:="", _
ReadOnlyRecommended:=False, _
CreateBackup:=False
End Sub


should get you started...


--
protonLeah
------------------------------------------------------------------------
protonLeah's Profile: http://www.excelforum.com/member.php...o&userid=32097
View this thread: http://www.excelforum.com/showthread...hreadid=533067

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
Save As from chart sheet maryj Charts and Charting in Excel 2 April 10th 06 04:26 PM
macro save a workbook whilst increasing file no shrek Excel Worksheet Functions 0 November 10th 05 02:40 PM
Save as Msg box monster Excel Discussion (Misc queries) 3 August 31st 05 06:45 PM
Save as Msg box Bob Umlas, Excel MVP Excel Discussion (Misc queries) 0 August 29th 05 09:56 PM
Save & Save As features in file menu of Excel Blue Excel Discussion (Misc queries) 9 December 27th 04 08:49 PM


All times are GMT +1. The time now is 10:13 AM.

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"