orgwiz.exe - Run command

R

Rebecca_SUNY

I used the example from the Microsoft Website to create the run command
macro. http://office.microsoft.com/en-us/visio/HP010384221033.aspx

but the /Pages argument will not work. I have tried

/PAGES='Joe Smith'
/PAGES="Joe Smith"
/PAGES=Joe Smith
/PAGES=(Joe Smith)

but I either get an error message in the code or when the code runs I get an
error message saying that Joe Smith is not in my data file. He definitely
is! What am I doing wrong?

My code is working perfectly without this argument but I have to be able to
break the pages by my own definition.
 
C

Chris Roth [Visio MVP]

Hi Rebecca,

I followed your link and found this:

/PAGES=<top employee> <num levels> PAGENAME=<pagename>,<top employee>
<num levels> PAGENAME=<pagename>...

It looks like you need some more information (or were you just not
showing us your whole command?)

Also, I read this: "If an argument value includes spaces, put the
argument in quotation marks."

For those following along, this link seemed to work better. The original
one required a log-in and had some formatting problems:
http://office.microsoft.com/en-ca/visio/HA010774641033.aspx#run

--
Hope this helps,

Chris Roth
Visio MVP


Visio Guy: Smart Graphics for Visual People

Articles: http://www.visguy.com
Shapes: http://www.visguy.com/shapes
Dev: http://www.visguy.com/category/development/
Forum: http://www.viguy.com/vgforum
 
R

Rebecca_SUNY

/PAGES=<top employee> <num levels> PAGENAME=<pagename>,<top employee> <num
levels> PAGENAME=<pagename>...

That is the full code but the <num levels> PAGENAME=<pagename> are optional
and not where the code is failing. It is failing at the name.

I was able to follow along with both links but this command keeps failing -
saying that the name John Smith is not in my data.
 

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