Hi Group,
I have the following code:
newname= "H:\nob\" & left$(strFile,len(strFile)-4) & ".txt"
but what is returned for newname is the literal string.
I want the file to go to the H:\Nob folder which exists.
left$(strFile,len(strFile)-4) resolves to this 6310104.
So what I want is 6310104.txt in the H:\nob\ folder.
Kind Regards
I have the following code:
newname= "H:\nob\" & left$(strFile,len(strFile)-4) & ".txt"
but what is returned for newname is the literal string.
I want the file to go to the H:\Nob folder which exists.
left$(strFile,len(strFile)-4) resolves to this 6310104.
So what I want is 6310104.txt in the H:\nob\ folder.
Kind Regards