H
harry.liebman
I'm trying to import from an HTML file, but I need to leverage
environment variables to find it.
I'm using a macro and specifying an action of TransferText. I've tried
putting in a filename of:
1) %userprofile%\extr.htm, which should expand to c:\documents and
settings\<myname>\extr.htm. It fails.
2) c:\documents and settings\%username%\extr.htm (should expand to same
value). It fails.
3) c:\docume~1\%username%\extr.htm. Fails also.
I've done each of these enclosed in quotes, or with just the
environment variable enclosed in quotes.
Is there a way to specify the filename so it'll work? I'm using Access
2002.
TIA,
Harry
environment variables to find it.
I'm using a macro and specifying an action of TransferText. I've tried
putting in a filename of:
1) %userprofile%\extr.htm, which should expand to c:\documents and
settings\<myname>\extr.htm. It fails.
2) c:\documents and settings\%username%\extr.htm (should expand to same
value). It fails.
3) c:\docume~1\%username%\extr.htm. Fails also.
I've done each of these enclosed in quotes, or with just the
environment variable enclosed in quotes.
Is there a way to specify the filename so it'll work? I'm using Access
2002.
TIA,
Harry