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

Tip: Looking for answers? Try searching our database.

Run-time error "5980' - forms

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
OMW - 27 Feb 2004 22:25 GMT
I have successfully made forms and inserted the macros to
cause the cursor to go to the next field when one keys
the enter key.  Recently I changed to Windows XP, but
still use MS Word 2000.  Why am I now getting the error
message?  What can be done about it?  I am a beginner at
Visual Basic.
Word Heretic - 28 Feb 2004 09:14 GMT
G'day "OMW" <anonymous@discussions.microsoft.com>,

I aint savvy with the err #, post the line that boges out on ya

Steve Hudson - Word Heretic
Want a hyperlinked index? S/W R&D? See WordHeretic.com

steve from wordheretic.com (Email replies require payment)

OMW reckoned:

>I have successfully made forms and inserted the macros to
>cause the cursor to go to the next field when one keys
>the enter key.  Recently I changed to Windows XP, but
>still use MS Word 2000.  Why am I now getting the error
>message?  What can be done about it?  I am a beginner at
>Visual Basic.
Suzanne  Lumsden - 22 Feb 2005 18:12 GMT
I have the same problem using code to reprogram the enter key to act as the
tab key.

The error occurs as you are exiting the template file
details are:

Sub AutoClose()
  CustomizationContext = ActiveDocument.AttachedTemplate
  FindKey(KeyCode:=BuildKeyCode(wdKeyReturn)).Disable
  ' Disables prompt to save template changes.
  Templates(1).Save

and it complains about line 3 above "FindKey...

any ideas?

Usin Word 2000 sp3
 
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.