How to get dimension values from an assembly sketch to a VBA Form ?

Hi All

I have created a macro that controls a building with a user form. apon starting the macro I would like to get the current values (dimensions in the design sketches) and assign them to the text boxes in the user form.

SolidworksApi macros