Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / January 2008

Tip: Looking for answers? Try searching our database.

tab to the next form field

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Eric - 01 Jan 2008 23:17 GMT
I have a legal document set up as protected for filling out forms, and some
of the field forms have formatting applied to dates & currencies.

When I populate the document programatically, the field formats I need
aren't applied until I tab through the doc, hence this posting.

Much Thanks In Advance,
Eric
Eric - 01 Jan 2008 23:47 GMT
Here's what I'm doing now, which isn't working

Private Sub TabThruForm(doc As Word.Document)
' seems to set the formatting of the fields properly
   Dim k As Integer
   Dim frmFlds As Word.FormFields
   Set frmFlds = doc.FormFields
   For k = 1 To frmFlds.Count
       If k <> frmFlds.Count Then frmFlds(k).Next.Select
   Next k
   frmFlds(1).Select
End Sub

>I have a legal document set up as protected for filling out forms, and some
>of the field forms have formatting applied to dates & currencies.
[quoted text clipped - 4 lines]
> Much Thanks In Advance,
> Eric
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.