VBA Macro to get and save Area MOI

Hi All

I need help...I'm trying to write a VBA macro that takes a section of a part, gets the area moment of inertia (specifically, Ixx and Iyy) and saved it (appended) to a text file. I can get the first and last, but can't seem to find the function to get the MOI values.

Thanks

SolidworksApi macros