Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am creating a worksheet model which will be used repetitively. I have the
macro to start the new worksheet and pre-fill some of the cells. After manually completing the rest of the information on the worksheet, I want to run a macro which will save that worksheet to a filename that exists in one of the cells. Here is the SaveAs Filename macro: ActiveWorkbook.SaveAs Filename:= _ "C:\Documents and Settings\myusername\My Documents\filename.xls", FileFormat:=xlNormal _ , Password:="", WriteResPassword:="", ReadOnlyRecommended:=False, _ CreateBackup:=False I want to be able to replace "filename" with the value in cell A5 for instance. How can I do this? Thank you. Learning In Florida |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro to clear range contents when cell contents are changed by us | Excel Programming | |||
Macro to paste in the active cell the contents of a cell from another file?? | Excel Programming | |||
VBA - Passing Cell Contents Into Comment | Excel Programming | |||
Macro to remove contents of cell and move all other contents up one row | Excel Discussion (Misc queries) | |||
passing spreadsheet cell data to macro | Excel Programming |