Transferring data

UniversalJOC

New Member
Joined
Feb 22, 2002
Messages
40
I have excel documents that I need to try and automate the transfer of certain data(eg - omitting the first two columns) to a 'mother' worksheet. the location that the data is sent to depends on the file name that the data has come from.
if the mothersheet has the file names (containing the data in question) listed is it possible to create a button that will sort and transfer the files. (I hope this makes some kind of sense)
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Hi UniversalJOC,

Yes, this is the type of thing that macros do quite well. Obviously I can't speak specifically regarding your problem without more information, but I can at least assure you that that it is inherently an easy problem with a bit of VBA code.
 
Upvote 0
Basically, I have just created a button to find and open certain *.* files. Once they have been opened I am hoping to transfer core date from them to automate a mail merge.
it would need to locate data (eg all data minus columns A and B) from the opened files (as the amount fluctuates) and transfer that data to the main spreadsheet, the location dependant upon the file name it came from. Another button would allow each 'location' store of data to be merged with a certain letter file (again discerned by the filename).
Does this make any more sense?
 
Upvote 0

Forum statistics

Threads
1,223,323
Messages
6,171,458
Members
452,405
Latest member
DiamondHand_Jo

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top