ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   File Save As Using Macro (https://www.excelbanter.com/excel-programming/333222-file-save-using-macro.html)

sesmith

File Save As Using Macro
 

I need to save a file that is being imported by Access. The cell
referenced below is a concatenated cell pulling the data together to
form the file name. What else do I need to add to my code to make this
work?

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

Thanks!
Shelley


--
sesmith
------------------------------------------------------------------------
sesmith's Profile: http://www.excelforum.com/member.php...o&userid=24765
View this thread: http://www.excelforum.com/showthread...hreadid=383320


Jim Rech

File Save As Using Macro
 
I would precede it with Application.DisplayAlerts = False so a file exists
warning will not stop the macro.

--
Jim
"sesmith" wrote in
message ...

I need to save a file that is being imported by Access. The cell
referenced below is a concatenated cell pulling the data together to
form the file name. What else do I need to add to my code to make this
work?

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

Thanks!
Shelley


--
sesmith
------------------------------------------------------------------------
sesmith's Profile:
http://www.excelforum.com/member.php...o&userid=24765
View this thread: http://www.excelforum.com/showthread...hreadid=383320





All times are GMT +1. The time now is 12:23 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com