Code help

D

dhowell

I want to write a macro in Visio 2003 than I can assign to a shape when
it is clicked.

Here is what I would like the macro to do:

Save the current drawing on the current users desktop automatically.
I would like the file name to be determined automatically from the
value of a custom property within a given shape in the drawing along
with the current date.

I.E.

custname = shape with above custom property of interest.
custom property name within shape = "Customer Name"


So, file name would be: custname.Customer Name.value current date
(yyyy.mm.dd)

......or a more specific example:

If custname.Customer Name.value = Dow Chemical
Current date is 10/05/2006 then the file name would be:

Dow Chemical 2006.10.05.VSD


After the macro automatically names and saves the file, I would like it
to close the Visio program.


Thanks for any help.


Doug
 

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