View Single Post
 
Old 06-21-2011, 03:22 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Hi webharvest,

With the approach I suggested, you wouldn't need a userform. When you open such a document, it will position the cursor at either: a) the first formfield if there is one in the first (protected) Section; or b) at the start of the document otherwise. Also, no macros are required for this approach, which obviates any macro security issues and the risk that users will choose to disable the macro that drives your userform upon opening. I think your third question is based on a misunderstanding. As you'll see from the document I posted, the cross-reference updates immediately you tab out of the first formfield. No vba is required. If you have more than one formfield in the protected section, tabbing out of one automatically takes you to the next one.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote