Open Sub Assembly From Selected Part

I have this macro which i wanted to use for ease of my operation .

But it is showing run time error.

Can some one please help me fix this error!

SolidworksApi/macros