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
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