Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50076

file location issue

$
0
0
This is driving me mad today, im going to rage quit soon -.-

I want to open a txt file in excel, if that file is on my hdd its no issue
the text file's location looks like this:
script = "c:/Users/myuser/My Documents/KPI/KPI Script/Script.txt"

when i want to move the location over to the public drive i get an error 1004
the new location is:
P:/ICT/COMPANY/Section/KPIs/KPI_script/Script.txt

does anyone know why i get an error if i move the file location even if the location is 100% correct?

Viewing all articles
Browse latest Browse all 50076

Trending Articles