What is the best way to modify a dimension that is being put in by a VBA?

I need to modify the placement of a dimension based on certain criteria. This would be just moving the text part of the dimension.