ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Sequencial file names (https://www.excelbanter.com/excel-discussion-misc-queries/71520-sequencial-file-names.html)

Neville

Sequencial file names
 
I am developing an Excel model, driven mainly by macros, to allow data
capturers to punch in basic financial data, which will then be automatically
emailed to a particular destination. The problem I am experiencing is how to
get my model to automatically name each file uniquely and sequentially before
it gets emailed.

Bob Phillips

Sequencial file names
 
Add a timestamp to it

format(now,"yyyymmddhhmmsss")

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Neville" wrote in message
...
I am developing an Excel model, driven mainly by macros, to allow data
capturers to punch in basic financial data, which will then be

automatically
emailed to a particular destination. The problem I am experiencing is how

to
get my model to automatically name each file uniquely and sequentially

before
it gets emailed.





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

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