macro to repeat edit/replace?

derickc

New Member
Joined
May 28, 2002
Messages
23
I've got data in 150 different worksheets in one folder and need to grab the data in column D6:D1310 in each of these files and place it in columns on a summary sheet. The summary sheet has the title to each worksheet as the column header in row 5. I can copy the link to one spreadsheet across all the columns and just do an alt/edit/replace with the correct file name (the data is housed in the same location in each file), but is there a way to get excel to do edit/replace for me? I need it to grab the filename in row 5 and replace it in each of the rows 6:1310 about 150 times across the rows. Thank you!!

-dc
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.

caytib

New Member
Joined
Jun 25, 2002
Messages
25
have you tried recording a macro? you could record the macro when you do it the first time, then copy and replace the name as needed until you're done (((surely there's an easier way - but....) from then on out you could just push a button....
 

Forum statistics

Threads
1,147,691
Messages
5,742,661
Members
423,746
Latest member
Joaogomes

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
Top