Dimmension callout

I do not know if this is the right form to ask this question but here it goes.

I have a design table spread sheet that inputs a value to a dimmension.

What I need is the ability to change the dimmension from centre to centre to max to max or min to centre.

Is there a callout I can use in excel

Thanks

SolidworksApi macros