Refresh shape data

P

par

Visio2003. In the end, I’m looking for a way to refresh all linked shapes
from VBA.

I have many linked shapes to my access database (from masters). The links
were made via the database wizard. With a shape selected I can select a
record, refresh and run the Database Refresh Add-on. But with nothing
selected, The Refresh add-on returns an error “The table ’table/query name’
specified in the selected shape does not exist in the ODBC data sourceâ€. In
Visio 2002, this would refresh all liked shapes… What am I missing??
Thanks
 
D

David Parker [Visio MVP]

Another part of the Wizard enables you to add a page right mouse menu to
Refresh All shapes on it.
Unfortunately, it is just the page, however you can right VBA code to call
each page and run the addon "DBR"
 
P

par

Thanks. Initially that wouldn't work either. It turns out I had something
crossed up in the document. When I placed and linked the masters on a new
document, I was able to refresh again (from every way).

--pat
 

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