Check Cell - VBA

matt_t

New Member
Joined
Oct 23, 2007
Messages
3
Good Afternoon,

I'm fairly new to VBA so please excuse my ignorance!

I have Sheet1 and Sheet2. Sheet1 contains raw data and Sheet2 contains the same data but with manual edits (a comments column on column D).

I need to check the value of B1 of sheet1 against column B1 of sheet2, if these match it must check C1 of sheet1 and C1 of sheet2, if these match it must copy D1 (the comment) from Sheet2 and paste it in to D1 in Sheet1.

Slightly complicated I know, but this will need to repeat through C2, C3, C4.

I'm not expecting a straight answer for this (but it would be nice if I did!), but any advise or guidance of where to start looking with such a routine would be great.

Thank you.
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.

Forum statistics

Threads
1,224,516
Messages
6,179,231
Members
452,898
Latest member
Capolavoro009

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