Add solidWorks VBA library type to excel macro

I'm using a macro which is call from Excel. That was worked properly. But When I try to update  my library to 2018, Not able to do and getting error (2nd Pic).

Kindly anyone help with this issue.

I removed old 2017 libraries and tried to add 2018, that's also not working.

SolidworksApi macros