You do not need to change this line CurrentFileName = Dir(myPath & "\*.xlsx").
The only line you need to change is myPath = "B:\Test"
You do not need to change this line CurrentFileName = Dir(myPath & "\*.xlsx").
The only line you need to change is myPath = "B:\Test"
If I have helped, Don't forget to add to my reputation (click on the star below the post)
Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
Use code tags when posting your VBA code: [code] Your code here [/code]
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks