VBA to compare two Excel tables only header and first 3 columns

RinaHale

New Member
Joined
Jun 20, 2018
Messages
5
Hi guys!

I'm quite new to VBA writing and I need a bit of expert help - thus far I have used the Excel Inquire tab to compare two templates (by template I mean a table [not the Excel object, just cells with coloured borders, if that makes any difference] that has 3 rows at the top containing the headers and 7 columns to the left hand side containing the definition of the row). Now I am no longer allowed to used this tab so I need a little macro to do that. My problem is that I don't even know where to begin. 🙈🙈🙈

My tables look like the below image. And I need to make sure that their structure doesn't change from one month to another. I have merged rows and merged columns, because nothing can be easy.

1687189917784.png


I will take any advice you have to share to help me create my little macro. It's difficult to do by hand as the tales have hundreds of rows and i also have multiple sheets 😿
Thank you kindly,
Rina
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

Forum statistics

Threads
1,223,911
Messages
6,175,333
Members
452,636
Latest member
laura12345

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