keith05281967
Board Regular
- Joined
- May 6, 2011
- Messages
- 68
Greetings,
I have a string var that contains a file name "FILENAME_06052011"
If the file name meets a certain criteria, I want to change the "day part" , MMDDYYYY in the date to the 1st day of the month.
So "FILENAME_06052011" would become "FILENAME_06012011"
This is "VBA CODE" i'm talking about. Not a worksheet function
Is there a function in VBA that will help me? Like Right stmt? Can this be used inside a Replace?
Excel 07
thanks,
Keith
I have a string var that contains a file name "FILENAME_06052011"
If the file name meets a certain criteria, I want to change the "day part" , MMDDYYYY in the date to the 1st day of the month.
So "FILENAME_06052011" would become "FILENAME_06012011"
This is "VBA CODE" i'm talking about. Not a worksheet function
Is there a function in VBA that will help me? Like Right stmt? Can this be used inside a Replace?
Excel 07
thanks,
Keith