Nevermind I found it. For those interested with Visio 2003 (and maybe
2002), the command is:
RUNADDONWARGS("OrgC11","/cmd=fittopage")
-Casey
Now I'm trying to run this command for every page in the active
document. I setup a For..Next loop, however, Visio seems to go on to
the next page before the addon finishes running. The addon only seems
to run for the page I'm actually on, not for every page in the
document. Here's my code, I was thinking maybe I should add a timer
to make Visio wait a certain length of time before moving on. Any
ideas?
'Code to make each page best fit
Dim vispage As Visio.Page
For Each vispage In ActiveDocument.Pages
Visio.Addons("OrgC11").Run ("/cmd=fittopage")
Next vispage