Custom Props and drop down list selection

J

JamesHall

I have a drop down list as one of my shapes custom properties. how using vba
code do i select the say the second item in the list with out knowing its
value? By select I mean assign the value cell equal to the second item.

many thanks,

James
 
D

David Parker [Visio MVP]

shp.Cells("Prop.MyProp").Forumla = "=""" &
split(shp.Cells("Prop.MyProp.Format").ResultStr(""),";")(1) & """"
 

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