Macro to create report html with current date in filename

B

Brenda

We need to generate a report html every day
automatically. The same report, but have it write the
filename out as:

OrderStatusMMDDYY.html


We don't want the user to have to enter it in...how can we
do this?
 
S

Steve Schapel

Brenda,

I guess you are using an OutputTo macro for this? In the Output File
argument of the macro, put the equivalent of...
="C:\YourFolder\OrderStatus" & Format(Date(),"mmddyy") & ".html"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top