Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Save As based on cell value

I would like to save a form based on the value of a cell
after I format it and before I email it and then revert to
the presaved or "master". I am struggleing with the Save
As part. This is what I have so far...

Sheets("Data").Visible = False
Sheets("Introduction").Select
ActiveWindow.DisplayWorkbookTabs = False
Range("C3:D3").Select
ActiveWorkbook.SendMail "", _
"Your 2004 Flexible Benefit
Election Form"

Any suggestions anyone has will be greatly appreciated!
Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 31
Default Save As based on cell value

Presuming that file name is located in A1 here is what you
can try:

Sub saveAsCellValue()

ActiveWorkbook.saveAs ("C:\" & Sheets("SHEET1").Cells(1,
1).Value)

End sub

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
Return Results of a cell based on cell referenced in a cell Drew Excel Worksheet Functions 4 September 3rd 09 06:19 PM
SAVE & SEND A FILE BASED ON TEXT IN A CELL VIA MACRO Pat Baratta New Users to Excel 1 February 26th 07 06:46 AM
save to folder based on cell value Steve Excel Discussion (Misc queries) 1 June 15th 06 07:54 PM
enter data in cell but cannot save until click off cell in excel T70McCains Excel Discussion (Misc queries) 1 November 18th 05 05:06 PM
Automatically save file based on cell value Craig Excel Discussion (Misc queries) 0 February 27th 05 10:01 PM


All times are GMT +1. The time now is 01:12 AM.

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"