Hello,
This is my first time posting so I apologize if its not in the correct sub forum. I am new to excel VBA...very new. Just basic stuff however I am working on improving some of our day to day activities and was wondering if this could be done with excel VBA.
What I am trying to do is open up a workbook, click on a macro button and that macro routes to a folder looks in to each workbook within that folder and pulls in all the data on to the active workbook.
Is this possible? I know I can transfer data from all open workbooks to active work book but can I import from closed workbooks? Also the names of the closed workbooks change everyday. So basically this macro would have to just look in the folder and however many excel files are in that folder, it needs to open them, copy the data and import. If there is no way around the constant name changes ergo the files must have a certain name for mapping reasons then we can work around that over here. I can have that department just name the file something specific every time they download it.
Please let me know if this is possible or if theres a workaround for this.
Thanks,
Saad
This is my first time posting so I apologize if its not in the correct sub forum. I am new to excel VBA...very new. Just basic stuff however I am working on improving some of our day to day activities and was wondering if this could be done with excel VBA.
What I am trying to do is open up a workbook, click on a macro button and that macro routes to a folder looks in to each workbook within that folder and pulls in all the data on to the active workbook.
Is this possible? I know I can transfer data from all open workbooks to active work book but can I import from closed workbooks? Also the names of the closed workbooks change everyday. So basically this macro would have to just look in the folder and however many excel files are in that folder, it needs to open them, copy the data and import. If there is no way around the constant name changes ergo the files must have a certain name for mapping reasons then we can work around that over here. I can have that department just name the file something specific every time they download it.
Please let me know if this is possible or if theres a workaround for this.
Thanks,
Saad