How to fix a VBA "type mismatch" error after switching to 64-bit …
https://stackoverflow.com/questions/63797581/how-to-fix-a-vba-type-mismatch-error-after-switching-to-64-bit-excel
WEBSep 8, 2020 · I get a runtime error that just says "Compile Error: Type Mismatch." The function call to CreateDC is highlighted, and the debugger breaks on the function GetLabelSize. I have no idea which variable is now causing the error. I'm also assuming that once I fix this first error, I'll have other errors too.
DA: 41 PA: 24 MOZ Rank: 84