Unsupported API calls with SP2.2

I have custom VBA code to control our Title blocks andbordercreation.  This code has become a vital part of ourstandard. However, with SP2.2 there is a portion of the codethat nolonger works.  Has anyone found a fix to the belowerror,OTHER than rewriting the code?  It seems odd that SW2007SP0.0supports it and SP2.2 does not.  Please help.

SolidworksUser Interface