Re: Help !!!
- From: Peter Totev <PeterTotev@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 21 Aug 2006 23:47:19 -0700
Thanks for the help !
This work but I still have a little problem with this.
When the custom properties shows if I change something on them everything is
perfect. But if I didn't change something and click OK show me an error.
And specially this Error : Run-time error '-2032466955(86db03f5)'"
Do you know why this happened and Can you help me with this ?
Thank you again !
"Al Edlund" wrote:
consider putting this after your shape selection.
Dim visWindow As Visio.Window
Set visWindow = Application.ActiveWindow
' shape has to be selected for the command to work
visWindow.Select visShape, visSelect
and use this for your command
Application.DoCmd 1312
al
"Peter Totev" <Peter Totev@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:C8EF52C5-F400-4DF5-B673-621DCD199493@xxxxxxxxxxxxxxxx
Hi,
I want to show shape custom properties when I choose an Item of Combo Box
in
Visio 2003.
I have this code so far.
Private Sub ComboBox1_Change()
Dim visShape As Visio.Shape
Set visShape = ActivePage.Shapes.Item(4)
Select Case ComboBox1
Case "hardware devices"
visShape.Application.DoCmd (1312)
Case ...
End Select
End Sub
The problem with him is that this display the Custom Properties of the
Selected Shape.
I want to display this shape wich I want in this case :
Set visShape = ActivePage.Shapes.Item(4)
I think this is very close to the right code,and I don't know what's wrong
with this code.
I'll be greatful to you if you have any ideas about this !!!
Thank you in advanced!
- Follow-Ups:
- Re: Help !!!
- From: Al Edlund
- Re: Help !!!
- References:
- Re: Help !!!
- From: Al Edlund
- Re: Help !!!
- Prev by Date: Re: Help !!!
- Next by Date: Re: Help !!!
- Previous by thread: Re: Help !!!
- Next by thread: Re: Help !!!
- Index(es):
Relevant Pages
|