Good afternoon,
I am trying to run a script that will open a .txt file where only part of the file name is known. My code is below. The Range below, NHCUopenFilePath refers to the file location C:\TempPath\NHCUPaymentfile06272018*.txt The * denotes the place where 10 random digits will appear on the .txt file that needs to be opened. When I run this code below, I'm receiving a runtime error 1004, unable to find file path.
Please Login or Register to view this content.
Bookmarks