Macro to Link Excel Columns between Worksheets

abyoung512

New Member
Joined
Apr 17, 2014
Messages
1
I am using Microsoft Excel 2010 to work data between 2 worksheets in a workbook. I want to see that the data in Column A of Sheet 1 is populated into Column A of Sheet 2. I can do this with a Copy, Paste Special, Paste Link which allows me to change existing data in rows, but it does not allow me to add, remove, or sort data Column A of Sheet 1 and have the added, deleted or sorted data reflect in Column A of Sheet 2. I will need to follow a similar pattern for Column B of Sheet 1 and Column B of Sheet 2. I am fairly new to Macros and VBA Code, so I am having trouble figuring out the appropriate Code to use to meet my needs. Can you help provide me with Code and identify in the code what values I need to update to work for Columns A, B, C if needed.

Example - Sheet 1 Below
[TABLE="width: 500"]
<tbody>[TR]
[TD]A1 - Last Name
[/TD]
[TD]B1 - First Name
[/TD]
[TD]C1 - Job
[/TD]
[/TR]
[TR]
[TD]Smith
[/TD]
[TD]Jane
[/TD]
[TD]Biller
[/TD]
[/TR]
[TR]
[TD]Thomas
[/TD]
[TD]Bob
[/TD]
[TD]Biller
[/TD]
[/TR]
[TR]
[TD]inserted line here must be in Sheet 2
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Young
[/TD]
[TD]Charlie
[/TD]
[TD]Nurse
[/TD]
[/TR]
[TR]
[TD]White
[/TD]
[TD]Michael
[/TD]
[TD]Nurse
[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result

Forum statistics

Threads
1,223,268
Messages
6,171,099
Members
452,379
Latest member
IainTru

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