Forum Discussion
DnGr
Apr 10, 2025Brass Contributor
Date_in_VBA
Is there a way I can save date so that the date does not come across a number. I have =today() which gives me the days date. For example, if I save 4/9/2025. The document returns with "nameofdocum...
- Apr 14, 2025
Thanks for your help. I believe I have what I need.
Thank you
DnGr
Apr 11, 2025Brass Contributor
I added the code at the end. I am sure I am something incorrect as it did not work.
This is how I typed it
fName = "PWS_Equipment_" & .Range("G10") & Range("C3").Value2 & Format(Date, "m/d/yyyy")
HansVogelaar
Apr 11, 2025MVP
That should add the date as a date, not as a number...