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

CrazyDave

New Member
Joined
Jan 15, 2014
Messages
38
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,
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Glad to hear you got the solution & thanks for trying to update solutions for old threads.

If you would like to post the solution then it is perfectly fine to mark your post as the solution to help future readers. Otherwise, please do not mark a post that doesn't contain a solution.
 
Upvote 0

Forum statistics

Threads
1,214,983
Messages
6,122,583
Members
449,089
Latest member
Motoracer88

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