CharlotteFixedIncome
New Member
- Joined
- Aug 14, 2011
- Messages
- 7
Hello everyone -
Longtime lurker, first time poster. I'm fairly new to VB and have reached a point where I've exhausted my abilities.
I'm trying to automate a few processes for work and have been successful in doing so... other than the fact that the file name portion of the exercise is not automated.
Here's a quick excerpt from the code I have thus far:
"C:\Documents and Settings\randomname\Desktop\spreadsheet_20110814_2.csv"
I need this to say the same thing but rather than 20110814 - I want to insert the Today() function. That way it saves as the current date every time i run the macro.
I've searched and searched and cannot come up with how to name a file with an embedded formula. Any suggestions? Thanks!
CharlotteFI
Longtime lurker, first time poster. I'm fairly new to VB and have reached a point where I've exhausted my abilities.
I'm trying to automate a few processes for work and have been successful in doing so... other than the fact that the file name portion of the exercise is not automated.
Here's a quick excerpt from the code I have thus far:
"C:\Documents and Settings\randomname\Desktop\spreadsheet_20110814_2.csv"
I need this to say the same thing but rather than 20110814 - I want to insert the Today() function. That way it saves as the current date every time i run the macro.
I've searched and searched and cannot come up with how to name a file with an embedded formula. Any suggestions? Thanks!
CharlotteFI