cesarelias
New member
- Local time
- Today, 10:21
- Joined
- May 10, 2009
- Messages
- 8
Hi,
Does anyone know how to rename a file.ret to file.txt.
I tried this above code, but I get error.
I Would to change extensions to txt several files automatic.
One help would be great
thanx
cesar
'Dim strpth, strnewpth
'Dim strfile
'strpth = "c:\ajustetxt\"
'strfile = Dir(strpth, vbNormal)
'strnewpth = Left(strfile, Len(strfile) - 3) & "txt"
'Name strfile As strnewpth
Does anyone know how to rename a file.ret to file.txt.
I tried this above code, but I get error.
I Would to change extensions to txt several files automatic.
One help would be great
thanx
cesar
'Dim strpth, strnewpth
'Dim strfile
'strpth = "c:\ajustetxt\"
'strfile = Dir(strpth, vbNormal)
'strnewpth = Left(strfile, Len(strfile) - 3) & "txt"
'Name strfile As strnewpth