I have a Excel File in the following folder:
C:\PA\
However, the name of the Excel File varies each day. Hence, I need a macro, so that i can assgin this Excel File name to a variable and use it whereever it is required.
Also, is it possible to check, at any point of time there is only one excel file in the path mentioned above. Else, display some kind of error..??
Your help is very much appreciated!!
C:\PA\
However, the name of the Excel File varies each day. Hence, I need a macro, so that i can assgin this Excel File name to a variable and use it whereever it is required.
Also, is it possible to check, at any point of time there is only one excel file in the path mentioned above. Else, display some kind of error..??
Your help is very much appreciated!!