M
Mark
I am creating a template for Word 97 upwards
I have created a dropdown formfield with code as follows, but I need to add
some code which assigns to that dropdown which runs a macro on exit which is
"occasion2". Please can someone assist me with some code:
Set myfield = _
ActiveDocument.FormFields.Add(Range:=Selection.Range, _
Type:=wdFieldFormDropDown)
With myfield.DropDown.ListEntries
.Add Name:="on NOT MORE THAN... "
.Add Name:="on an UNLIMITED number of occasions."
End With
I have created a dropdown formfield with code as follows, but I need to add
some code which assigns to that dropdown which runs a macro on exit which is
"occasion2". Please can someone assist me with some code:
Set myfield = _
ActiveDocument.FormFields.Add(Range:=Selection.Range, _
Type:=wdFieldFormDropDown)
With myfield.DropDown.ListEntries
.Add Name:="on NOT MORE THAN... "
.Add Name:="on an UNLIMITED number of occasions."
End With