Hi Ken,
Thanks for your response, I tried putting the '=' sign leading the expression and still it
will not work. I have given up now, and will carry on importing manually, which works perfectly.
Many thanks
tina - 09 Nov 2003 22:18 GMT
don't give up yet - try one last thing. i just had a brain
flash (2 watts). :) i don't think your filepath is typed
wrong, it think it is just incorrect, period. try this:
1. open Explorer, open your My Documents folder and find
the text file you're trying to import.
2. right click on the file, and select Properties from the
shortcut menu.
3. on the General tab, look at Location. there's your full
filepath to the file (and i'll bet good money it's not
C:\My Documents).
4. click on the file path and press the End key on your
keyboard, to make sure you see the full filepath.
5. now just hightlight the complete filepath and copy it.
6. paste into the File Path field in your macro, and add
\YourFilename.txt at the end.
hope this works! :)
>-----Original Message-----
>Hi Ken,
>Thanks for your response, I tried putting the '=' sign leading the expression and still it
>will not work. I have given up now, and will carry on importing manually, which works perfectly.
>Many thanks
>.
David - 09 Nov 2003 23:21 GMT
Hi Tina
I did as you suggested but i'm afraid it didn't work.
There is just one last thought,would it make any
difference if the data that i'm trying to import from
Excel was originally exported from another program
via a SQL statement. I dont think it would because as Iv'e
said before I can import manually.
Thanks once again for your help
Ken Snell - 09 Nov 2003 22:54 GMT
As suggested before, I believe that the path you're using (and/or the
filename itself) is not typed correctly. Tina has suggested something that
may identify if this is a correct conclusion. Good luck.

Signature
Ken Snell
<MS ACCESS MVP>
> Hi Ken,
> Thanks for your response, I tried putting the '=' sign leading the expression and still it
> will not work. I have given up now, and will carry on importing manually, which works perfectly.
> Many thanks