Hi MrExcel Experts
I was wondering if you may be able to help me with a situation I am currently stuck with.
I require a VBA that looks into a folder location and sees if the file is there copies the data from the sheet and imports it into my active sheet without opening the file if it does not exist it throws an error message
The file name would be from the active sheet that it is looking for and also it it will be a partial file name for example
So from the drop down the file name is chosen
Then the macro would run and select the file from the folder location provided in the macro
The file then is selected from the folder ignoring all the other charachets at the end of the name
Name 1 is selected
then it copys the data from Name 1 15.10.2023 14.24 and pastes it excluding the headers into the main sheet with also the file name it copied it from
I hope this make sense and someone has the ability to help me in this perdicument, Thank you
I was wondering if you may be able to help me with a situation I am currently stuck with.
I require a VBA that looks into a folder location and sees if the file is there copies the data from the sheet and imports it into my active sheet without opening the file if it does not exist it throws an error message
The file name would be from the active sheet that it is looking for and also it it will be a partial file name for example
So from the drop down the file name is chosen
Then the macro would run and select the file from the folder location provided in the macro
The file then is selected from the folder ignoring all the other charachets at the end of the name
Name 1 is selected
then it copys the data from Name 1 15.10.2023 14.24 and pastes it excluding the headers into the main sheet with also the file name it copied it from
I hope this make sense and someone has the ability to help me in this perdicument, Thank you