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

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.

Forum statistics

Threads
1,224,827
Messages
6,181,200
Members
453,022
Latest member
RobertV1609

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