EileenJohn
Board Regular
- Joined
- Nov 23, 2016
- Messages
- 53
Why it can't read my path code? I want it to copy all my workbooks in that folder.
Path1 = "C:\Users\user\Desktop\DailyRecord"
Filename = Dir(Path1 & "&.csv")
Do While Filename <> " "
Workbooks.Open Filename:=Path1 & Filename, ReadOnly:=True
Path1 = "C:\Users\user\Desktop\DailyRecord"
Filename = Dir(Path1 & "&.csv")
Do While Filename <> " "
Workbooks.Open Filename:=Path1 & Filename, ReadOnly:=True