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 / November 2005

Tip: Looking for answers? Try searching our database.

Programming Word Form Fields

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mary Trounson - 15 Nov 2005 03:10 GMT
I have created a document with form fields and have been trying to
unsuccessfully use the code in kb article 211219 to make the enter key behave
like the tab key.  I also have an area where credit card info will be entered
and have set each number up as separate fields ie 16 as the client wishes to
show a line between each number. In this area I would like to have the user
type a number key and have the insertion point automatically move to the next
field. I am very familiar with MS Access and VBA, but am struggling with word
objects.
I am using Word 2003.
Doug Robbins - Word MVP - 15 Nov 2005 05:24 GMT
Moving the cursor automatically to the next field is not possible with
formfields, as the only events are on-entry and on-exit.

Signature

Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

>I have created a document with form fields and have been trying to
> unsuccessfully use the code in kb article 211219 to make the enter key
[quoted text clipped - 11 lines]
> objects.
> I am using Word 2003.
Mary Trounson - 15 Nov 2005 09:36 GMT
Yes and no. I still can't get the code example in kb article 211219 to work.
It throws up at:

myformfield = Selection.Bookmarks(1).Name
"The requested member of the collection does not exist"

As I mentioned before I am struggling with Word objects.

And is there a better way then to handle credit card number entering?

> Moving the cursor automatically to the next field is not possible with
> formfields, as the only events are on-entry and on-exit.
[quoted text clipped - 14 lines]
> > objects.
> > I am using Word 2003.
 
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.