Dimension equations in macros

I am trying to make a macro that would appear to me to be simple, but I have little knowledge of programing.  I am trying to dimension a linear pattern of vertical wires within a frame.  we dimension the end two wires then edit the dimension with added text.  I am trying to make a macro that will divide the selected dimension by 1.5 to display the following annotated dimension.  any help would be greatly appreciated.  with in the last week I have made some advances in my "macro knowledge" but this has got me banging my on my desk and it's starting to hurt ha ha.

thank you in advance

SolidworksApi macros