selected previously selected item (bookmark)

  • Thread starter OTWarrior via OfficeKB.com
  • Start date
O

OTWarrior via OfficeKB.com

I have a drop down form field that I want the User to go back into if a
certian option is selected.
Rather than go for specific bookmark or item names, how would you select the
item you just left?

Am I right in thinking word would keep this information, as when you "Undo"
it moves the selection to where you were before?
 
M

macropod

Hi,

There's probably a better way, but this 'on exit' macro seems to work:

Sub FF_Test()
With ActiveDocument
If .FormFields("Dropdown3").Result = "3" Then .FormFields("Dropdown2").Select
End With
End Sub

It works by selecting the formfield immediately preceding the one you want to reactivate.

Cheers
 
O

OTWarrior via OfficeKB.com

Unfortunately it didn't reselect the drop down form field.
Thanks for the suggestion though :)
 

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