VBA macro to get the extrusion size

Can anybody help???

Is it possible, using a VBA macro to get the extrusion size?

For example,

Say I have created a simple rectangular sketch. Then I extrude the sketch so it becomes 12.7mm thick.

How can I get the extrusion size (12.7mm in this case) using a VBA macro?

Many thanks in advance!!!!

Darren

SolidworksApi macros