Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Script to remove / in dates 1

Status
Not open for further replies.

jsimms001

Technical User
Jul 7, 2009
2
US
I am trying to write a script that would look at this file, and change the date format from 06/14/2009. We are attemtping to use this line to rename the file, but can't do it with the slash marks in the date

sample:
RBJR7335 DAILY CIRCULATION WORKSHEET 07/07/2009
DRAWS ARE NOT AVERAGED From 06/14/2009 To 06/14/2009 BJ
 
A starting point:
Code:
strDate = "06/14/2009"
MsgBox Replace(strDate, "/", "_")

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top