Message 1 of 7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi.
I found this vba macro on this forum and I would like to update it a bit.
Sub Main AddSuffix() Dim oDoc As DrawingDocument oDoc = ThisApplication.ActiveDocument Dim oDim As DrawingDimension Dim oStr As String For Each oDim In oDoc.SelectSet oStr = oDim.Text.FormattedText + "<br/>TYP." oDim.Text.FormattedText = oStr Next End Sub
First I would like it to start from a button on the ribbon.
Then I want it to ask : How many "TYP." do you need? so the macro should record "TYP. 2" if I answered "2" to the question.
And then, pick all dimensions you need to apply the text.
It should end with a "OK - Cancel" button.
I know it looks like a bit weird, but I'll save a lot of clicks with this.
Thanks for any help.
Solved! Go to Solution.