To make the string variable retain the change...
VB Code:
  1. MyDate = Replace(MyDate, "/", "_")