View Single Post
 
Old 06-17-2015, 06:29 AM
NoSparks NoSparks is offline Windows 7 64bit Office 2010 64bit
Excel Hobbyist
 
Join Date: Nov 2013
Location: British Columbia, Canada
Posts: 842
NoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of light
Default

The macro Charles provided runs fine for me.
The macro will be hiding the row prior to the mismatch.

Try changing the code line of cell.EntireRow.Hidden = True
to cell.Select
and run the macro.

This time when you get the mismatch error I'd suspect whatever is in the next cell to be selected to be causing the problem. Have a look and see what's there.
Reply With Quote