A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Microsoft Visual Basic Run-time Error 5



 
 
Thread Tools Display Modes
  #1  
Old May 18th, 2004, 06:06 AM
Miss Dee Cee
external usenet poster
 
Posts: n/a
Default Microsoft Visual Basic Run-time Error 5

Please help me correct the visual basic run-time error 5 invalid procedure call or argument? It appears whenever I try to open a Word email attachment. I have to perform the following procedure several times before I can read the document: hit the "end" button, close Word, and reopen the attachment. Any help would be appreciated. Thanks in advance.
  #2  
Old May 18th, 2004, 06:18 AM
Jezebel
external usenet poster
 
Posts: n/a
Default Microsoft Visual Basic Run-time Error 5

The error means you've got some macro code running. There's no way to
diagnose or fix this without more information: you need to find out what the
code is, why it's there, what it's trying to do, etc.




"Miss Dee Cee" wrote in message
...
Please help me correct the visual basic run-time error 5 invalid procedure

call or argument? It appears whenever I try to open a Word email
attachment. I have to perform the following procedure several times before
I can read the document: hit the "end" button, close Word, and reopen the
attachment. Any help would be appreciated. Thanks in advance.


  #3  
Old May 18th, 2004, 02:44 PM
Suzanne S. Barnhill
external usenet poster
 
Posts: n/a
Default Microsoft Visual Basic Run-time Error 5

Courtesy of Office MVP Beth Melton:

A "runtime" error means that there is an error in a macro or add-in that is
attempting to run. Typically these macros are created by a third-party and
are not part of the Word installation. (They could also be caused by a
malfunctioning macro virus as well)

Many third-party applications will create an add-in and place it in the
Office\Startup folder or use a COM add-in (DLL) to integrate their software
with Word. Another common add-in, the "Microsoft Works Suite Add-in for
Word" can only be found in your Add/Remove programs list.

Aside from the Works Suite Add-in, to determine if you have any add-ins you
can check for them using the following:

Go to Tools/Templates and Add-Ins and see if there are any global templates
or add-ins listed. If you find any then chances are they are located in
your Office\Startup folder or Word\Startup folder.

The location of the Word\Startup folder can be found under
Tools/Options/File Locations and the Office\Startup folder will be located
in the installation path for Office.

If you find more than one add-in move them one at a time until you
determine which one is causing the problem.

As of Word 2000, Word can have COM add-ins, those that are added in via the
Registry rather than the Startup folders. To check for COM add-ins add the
"COM Add-In" command to your toolbar.

- Right-click any toolbar and select Customize
- On the Commands tab, select the Tools category
- Locate COM Add-Ins on the right
- Drag/Drop to a location of your choice

For more information on COM Add-Ins, see this article:
http://www.mvps.org/word/FAQs/Custom...sInstalled.htm

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Miss Dee Cee" wrote in message
...
Please help me correct the visual basic run-time error 5 invalid procedure

call or argument? It appears whenever I try to open a Word email
attachment. I have to perform the following procedure several times before
I can read the document: hit the "end" button, close Word, and reopen the
attachment. Any help would be appreciated. Thanks in advance.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:46 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.