ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Saving workbook with todays date (https://www.excelbanter.com/excel-discussion-misc-queries/23937-saving-workbook-todays-date.html)

sd look

Saving workbook with todays date
 
Trying to get a macro to copy a pivot table from current workbook to a
separate workbook and save with the current date in the file name, e.g.
04272005 Table.xls. How can you code this in a macro to perform?
--
Thanks,
SD Look

Bob Phillips

Activeworkbook.SaveAs Format(Date,"mmddyyyy") & ".xls"

--
HTH

Bob Phillips

"sd look" wrote in message
...
Trying to get a macro to copy a pivot table from current workbook to a
separate workbook and save with the current date in the file name, e.g.
04272005 Table.xls. How can you code this in a macro to perform?
--
Thanks,
SD Look





All times are GMT +1. The time now is 10:57 AM.

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