Using VB to look up information in different cells and paste it into other cells

CrazyDave

New Member
Joined
Jan 15, 2014
Messages
33
Office Version
  1. 2013
Platform
  1. Windows
G'day,
I've got a table where information can be entered in cells from B3 to F43. These cells may be selected individually or in groups and merged (within the one column) of 2 to 8 cells.

I would like to use VB, so that when a cell, or a group of cells is selected, for instance B10 to B14, the information in B2, A10 and A14 is automatically entered into a different table. So, the info in B2 would appear in the first available blank cell in column AM. The info in A10 would appear in the first available blank cell in column AN, and the info in cell A14 would appear in the first available blank cell in column AO. Each of these columns (AM, AN and AO) have a blank cell in Row 1 (which is not part of the table) and Row 2 is their header, the information needs to fill in below that.

Hopefully this is possible....

Many thanks,
 

Some videos you may like

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)

CrazyDave

New Member
Joined
Jan 15, 2014
Messages
33
Office Version
  1. 2013
Platform
  1. Windows
This problem was solved by a work colleague... it's all good! :)
 

Watch MrExcel Video

Forum statistics

Threads
1,122,215
Messages
5,594,883
Members
413,947
Latest member
gizmolucy

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