Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I'm trying to save the file name of the imported CSV I modify with a
macro with the name of cell at $a1. No matter what I do it keeps prompting me for a file name. Since I want to automate this macro I don't want to be prompted at all. What am I missing? Main Document = Master.xls Imports = data.csv Save as = whatever text is in A1 without prompting me in the same directory Close excel Range("A1").Select Application.DisplayAlerts = False FName = Application.GetSaveAsFilename(Sheets("data").Range ("A1").Value, fileFilter:="CSV Files (*.csv), *.csv") Application.DisplayAlerts = True ActiveWindow.Close End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Cell References | Excel Discussion (Misc queries) | |||
How to save Excel, using macro which takes the name from a cell contained in it? | Excel Worksheet Functions | |||
copy excel cell to cell in word table using excel macro | Excel Discussion (Misc queries) | |||
copying cell names | Excel Discussion (Misc queries) | |||
Macro excel save | Excel Discussion (Misc queries) |