VBA macro to shrink visio diag object by 25%

T

Tom H.

I have a Visio diagram that a vendor produced; it takes up
30 pages (45 meg vsd file). The vendor used 18 size fonts
with 2x3 inch process boxes (very cute!!). They created it
to go on a monster plotter for a (4tfx8ft) drawing. The
vendor is long gone. This effort is to help me with
another project. I plan to break the drawing up to 3-4
pages sections, by business function.

I am trying to create a macro in VBA to shrink the Visio
flowchart diag objects by 25%, but "visio.shape.AreaIU" is
read only. Also, I need to shrink the Visio diag Object
text (font 18, down to 10). I have also thought about of
playing with the shape diag formulas.


Any suggestions??
 
M

Mark Nelson [MS]

There is a fairly simple way to accomplish this in the UI that will get you
most or all the way to your goal. Try the method below and see whether it
helps you.

1) Select all shapes on the page (Ctrl-A)
2) Group the shapes (Ctrl-G or Ctrl-Shift-G)
3) Resize the group down to the desired size
4) Ungroup the shapes (Ctrl-U or Ctrl-Shift-U)
5) Right click in the toolbar area and choose the Format Text toolbar
6) Click on the Decrease Font Size button until you reach the desired text
size

Note that in Visio 2002 or later the grouping shortcuts changed to include
the Shift key.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top