I usually try to liberally sprinkle my visio code
with 'DoEvents' so that any background updates can be
applied. This is especially true since a single cell
update can cascade through a significant amount of other
cells in an object (each of which can fire events).
al
I couldn't find any reference to 'doevent' in VBA. I did,
however, find references in VB. Unfortunately I not using
VB. Were you meaning 'doevent' literally?
I put a 'DoEvents' statement after the first line of the
sample code and everything worked great. Thanks for the
tip.
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.