Drop-down List where items in drop-down list hyperlink to a webpag

Drop-down List where items in drop-down list hyperlink to a webpag

Post by QW5hbmQuVi » Tue, 26 Apr 2005 20:14:02


Hi,

You can do it, hope the following code helps you. Creat a combox. In the
document open add your list like hotmail.com, yahoo.com etc.

In the click event of the combobox write the following code

Dim addstring As String
addstring = "http://www." & ComboBox1.Text
ActiveDocument.FollowHyperlink Address:=addstring, NewWindow:=True

Hope this helped you.

Anand