Hi All,
I was working on this code for a friend but am not making any headway.
I have to compare the headers between 2 sheets. If sheet1 has a header which is not present in sheet2, i need to delete the column in sheet1.
In other words, ensure that the headers match between both the sheets.
I tried this codeWhen i didnt have the error handlers, i got the type mismatch error on the set scol=...line. I tried researching and checking on why the type mismatch error is occurring but couldnt.Please Login or Register to view this content.
When i put in the error handlers, even if it finds the header in both the sheets, it deletes it which should not happen.
Please help me.
Bookmarks