|
-
Aug 24th, 2001, 08:49 AM
#1
Thread Starter
Addicted Member
Simple Find and Replace
I want to do a simple find and replace but I cannot get this to work with variables using the Replace() Function:
sLine = "Wednesday 15/08/01"
sOldDate = Trim(Mid(sLine, 11, 8))
sNewDate = Date
sLine = Replace(sLine, sOldDate, sNewDate)
Can someone show me how I can get this to work ?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|