PDA

View Full Version : Want to change the picture of a Visio2010 shape



dashting
12-18-2012, 10:32 AM
Using VBA in Visio2010 I have a user-created flowchart with a form that populates an Access database. The shapes in the chart have all started as pasted clipboard pictures. The database records mostly data from the form but also the structure (parent/children relationships) and text of the shape as well as deleted shapes and links. I would like to be able to change the picture on the shape (with what is on the clipboard) while maintaining the same UID (since that is the database key). I could program a complete record swap, but that would be more cumbersome for me as well as the user.

What I do know:
Shape.Picture property is read-only.
I already know how to access the clipboard picture contents.

My VBA/coding experience level is intermediate at best.

Thanks.

monika1990
07-28-2013, 08:08 PM
Good post and forum,glad to read about it.