macro button action, copy info from another workbook, and display in anotherworkbooks merged cells

Raceman

Board Regular
Joined
Mar 11, 2010
Messages
64
I have 2 workbooks, Book1 and Book2. on Book2 I'd like to click a button that will copy info from Book1 and paste it ito Book2's "Cover" sheet.

In Book1: the info that I want is in column E. This info is 0 to 20 five digit numbers (concatenated from an earlier action), all separated by at least one space (but could be as many as 9 spaces). In column A, from A4:A1000 is a unique no.


In Book2: when I click the button on Sheet2, I want the macro to populate the five digit numbers on to the "cover" sheet into Merged cells A17:C17 through A25:C25, BUT ONLY IF THE CELLS ARE BLANK. In cell K5 is that same unique no. that's used in Book 1. That's how, in Book 1, the code will know how to go to the row with the same unique no. (in Column A) on Book 1 and gather the 5 digit numbers from its column E.


http://www.mrexcel.com/forum/excel-questions/808608-macro-copy-concatenated-info-one-workbook-de-concatenating-pasting-into-another-workbook.html
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.

Forum statistics

Threads
1,223,236
Messages
6,170,917
Members
452,366
Latest member
TePunaBloke

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