Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Dynamic Filename From Macro

I am trying to save a spreadsheet that is created by a macro. The
name that I want to use for this sheet is parsed from a cell so it
appears as a formula in the cell.

I have tried to use the cell value as the filename when executing the
Save As feature in the Macro, but can't seem to get the value to be
used. Am I missing something obvious? I thought that I had it
working once but couldn't reproduce the steps.

thanks again in advance!

craig.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 599
Default Dynamic Filename From Macro

Craig

What do you have?

ActiveWorkbook.SaveAs Filename:=Range("a1").Value

--
Dick Kusleika
MVP - Excel
www.dicks-clicks.com
Post all replies to the newsgroup.

"Craig" wrote in message
om...
I am trying to save a spreadsheet that is created by a macro. The
name that I want to use for this sheet is parsed from a cell so it
appears as a formula in the cell.

I have tried to use the cell value as the filename when executing the
Save As feature in the Macro, but can't seem to get the value to be
used. Am I missing something obvious? I thought that I had it
working once but couldn't reproduce the steps.

thanks again in advance!

craig.



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
Add a input box to ask for a filename to macro Debbie Excel Discussion (Misc queries) 1 March 15th 10 09:45 PM
Change Filename in Macro Havenstar Excel Discussion (Misc queries) 3 January 16th 09 05:27 PM
macro reference changes with filename Louis Sweere Excel Discussion (Misc queries) 1 November 7th 07 11:47 AM
Dynamic Hyperlinks - Changing Folders and Filename Philip J Smith Excel Worksheet Functions 0 April 18th 07 12:24 PM
filename in macro ynissel Excel Discussion (Misc queries) 7 June 12th 06 08:41 PM


All times are GMT +1. The time now is 08:24 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"