I need to modify the placement of a dimension based on certain criteria. This would be just moving the text part of the dimension.
Modify, Element (7,1) will allow you to grab just the text from the dimension and move it. It also allows you to move the dimension line if you click on it rather than the text. I'm not clear if you are trying to move the text after it was put in by VBA or trying to use VBA to move it. I've not tried moving the text of a dimension via VBA but I believe it would be straightforward. The difficult part would be the "based on certain criteria". I'm guessing that means something like not overlapping other elements which is possible but would take a lot more code and thought to get working. If you clarify what you are trying to accomplish we might have more suggestions.
Larry WilsonLWilson@LJBinc.com
Hi Larry,
Would you mind reviewing the code in this first topic "VBA - V8i) Set Dimension Offset" from the search I performed: vba AND dimension AND text AND (move OR offset); and see if it helps? If not, would you mind attaching a simplified standalone version of a .mvba project for others to possibly help contribute to directly?
Thank you and HTH,Bob
Unknown said: I did do a search and did find that page. The problem I ran into was that all the links on that page produces a oops page, page had been moved or is no longer available.
I did do a search and did find that page. The problem I ran into was that all the links on that page produces a oops page, page had been moved or is no longer available.
Those have been fixed... apologies for the inconvenience (and thanks for pointing that out).