Changing value of few dimensions

I'm working on a model in which I need to increase/decreasethe value of few dimensions by a certain factor. The only way I'mable to do it by editing individual dimension.

Can some one help me with any macro in which I can select thedimension i need to change and change them in one go.

Thanks for the help.SolidworksApi macros