ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How can I save or open file as YYYYMMDD in Macros (https://www.excelbanter.com/excel-discussion-misc-queries/108375-how-can-i-save-open-file-yyyymmdd-macros.html)

Vijay Kotian

How can I save or open file as YYYYMMDD in Macros
 
In Macros, How is it possible to record for a file name as YYYYMMDD to open
or save file names. Please inform me if possible with any other alternatives
to save or open files with similar naming convention in Macros. OR to pick up
name of the file from any cell where today() is mentioned

Bob Phillips

How can I save or open file as YYYYMMDD in Macros
 
Activeworkbook.SaveAs Filename:=Format(Date,"yyyymmdd")

as a starter

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Vijay Kotian" wrote in message
...
In Macros, How is it possible to record for a file name as YYYYMMDD to

open
or save file names. Please inform me if possible with any other

alternatives
to save or open files with similar naming convention in Macros. OR to pick

up
name of the file from any cell where today() is mentioned





All times are GMT +1. The time now is 07:13 PM.

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