Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Deselecting problem

19 views
Skip to first unread message

Alec Rimmer

unread,
Jul 5, 2001, 4:11:02 AM7/5/01
to
Hi

I have a VBA macro in an application whose job is to select a specified
shape. Once it determines which one it is, it does the following:
visioWindow.DeselectAll
visioWindow.Select visioSelect, visSelect
The problem is that the Deselect isn't working, but the select is.

The macro is called from an external routine (a VB routine), so the drawing
does not have focus. But this doesn't explain why the Deselect doesn't work,
but the select does.

Any ideas
Al


kostya

unread,
Jul 5, 2001, 6:27:19 PM7/5/01
to
this line worked on my machine
Application.ActiveWindow.DeselectAll
or you can do visio.activewindow.delelectall.
i use ms visio 2k

>.
>

0 new messages