File Error - Help [Resolved]
I have the following code -
VB Code:
'format time
Today = Format(Now, "mm/dd/yyyy")
'format output file name
outFile = "graybar-po-" & Today & ".dat"
badPO = "graybar-BADpo-" & Today & ".txt"
'open newly created graybar csv file and take it from there
Open "c:\winnt\profiles\desktop\graybarTemp.csv" For Input As #1
Open "c:\winnt\profiles\desktop\" & outFile For Output As #4 '<----------This is the error line
Open "c:\winnt\profiles\desktop\" & badPO For Output As #5
I get the "Path Not Found" error on both the Open for Output lines. I have virtually the same code in many app's. What am I missing?!?!?!? I don't see my error. :confused:
Thanks in advance -