I am doing a transfertext
I am using a variable TempNow to specify a path ending in ".csv"
tempNow = appPath & "config\cdms" & tempNow & Chr(46) & "csv"
In the immediate screen I see the fullpath correctly i.e ends with .csv
However when running it I receive an error to check valid path etc of "#csv"
i.e it is substituting a hash instead of a full stop. How can I cure this?
The strangest thing is that I have tested identical code in previous version and it runs fine , putting in the full stop, so why does it now put in a #?? I repeat in the immediate window everything looks fine?
Thanks
I am using a variable TempNow to specify a path ending in ".csv"
tempNow = appPath & "config\cdms" & tempNow & Chr(46) & "csv"
In the immediate screen I see the fullpath correctly i.e ends with .csv
However when running it I receive an error to check valid path etc of "#csv"
i.e it is substituting a hash instead of a full stop. How can I cure this?
The strangest thing is that I have tested identical code in previous version and it runs fine , putting in the full stop, so why does it now put in a #?? I repeat in the immediate window everything looks fine?
Thanks