Date formatting

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I've got a marco that automatically saves the file to include the quote and
business name. I.e. 1000 ACME.xls. I also need to add the current date
without formatting. I.e. 1000 (quote number) 160507(date) ACME (business
name).xls How can I get the date in this format for the macro?
 
Use the Format function...
Format(Date,"ddmmyy")

(from one reference book: "It's possibly the most complex single function call in VB")
--
Jim Cone
San Francisco, USA


http://www.realezsites.com/bus/primitivesoftware
"JonathanW" <[email protected]>
wrote in message
I've got a marco that automatically saves the file to include the quote and
business name. I.e. 1000 ACME.xls. I also need to add the current date
without formatting. I.e. 1000 (quote number) 160507(date) ACME (business
name).xls How can I get the date in this format for the macro?
 

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

Back
Top