chriscusick
Technical User
Hi guys,
I am trying to create a VBA that, upon opening the workbook, asks you to select a folder. Once you have selected the relevant folder, it copies certain cells from all excel files in that folder, into the current workbook.
I am not 100% sure if this is possible or if you have to manually select the files you want to copy from?
The cells I would want to copy would be from Cell F24-F27, which would then need to be copied into the new workbook by row instead of column.
Any help with this would be much appreciated. I have had a look through various forums but the closest I can find is some coding that requires you to select 2 files, which isn't much help as it also copied the entire workbook across.
I am trying to create a VBA that, upon opening the workbook, asks you to select a folder. Once you have selected the relevant folder, it copies certain cells from all excel files in that folder, into the current workbook.
I am not 100% sure if this is possible or if you have to manually select the files you want to copy from?
The cells I would want to copy would be from Cell F24-F27, which would then need to be copied into the new workbook by row instead of column.
Any help with this would be much appreciated. I have had a look through various forums but the closest I can find is some coding that requires you to select 2 files, which isn't much help as it also copied the entire workbook across.