HEy all,
Im using a web query which writes out a temp file to the local directory and then wriets to the excel sheet.
Unfortunately users within my department do not have permission to write to their local c: and hence theer is file access error.
Here:
How do i enter the Environ("Temp") correctly in the above command?With ActiveSheet.QueryTables.Add(Connection:="TEXT; c:\JanReportEnding31/01/10.csv", _ Destination:=Range("$A$1"))
Regards
Last edited by DonkeyOte; 01-07-2010 at 08:58 AM. Reason: please use CODE tags at all times
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks