Hi all.
I've been using this code for years to get a file's contents into a variable:
Open strFile For Input As #1
strX = ""
Do Until EOF(1) = True
Line Input #1, x
strX = strX & x
Loop
Close #1
Is there a faster way?
I'm moving a lot of files in a loop, so every second counts.
Thanks.




Reply With Quote