Re: Run-time error '52': always when opening Word



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/Customization/CheckIfAddinsInstalled.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.

"ThomasAJ" <ThomasAJ@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:F8AFB3CB-B5F4-4847-A22B-89A096CF1AE9@xxxxxxxxxxxxxxxx
Microsoft Visual Basic message box.
Run-time error '52':
Bad file or number.

I press HELP and no further detail.

Whenever I open Word I receive this error. Has been going on for some
months
now. I have not worried about it as Word seemed to work fine.

Now I am having huge problems with lost bookmarks so am revisiting this
error.

I have Office 2003 SP2. I have just now used it to 'repair' Office but I
still have the same problems.
--
Regards
Tom

.



Relevant Pages

  • Re: What would be the best way to set this up?
    ... The macro is designed to be used as an add-in and as written can only access ... it in the startup folder. ... I'll bet you can't edit the document template, ...
    (microsoft.public.word.formatting.longdocs)
  • Re: Disable macros in Word if no idea of host application
    ... It might require only moving the MYOB add-in file from one folder to ... in the profile is considered a "trusted location". ... You will also get a macro warning if there are macros in a template ...
    (microsoft.public.word.docmanagement)
  • Re: Visual Basic message
    ... A "compile" error means that there is an error in a macro or add-in ... they are located in your Office\Startup folder or Word\Startup folder. ...
    (microsoft.public.office.misc)
  • Re: What would be the best way to set this up?
    ... >The macro is designed to be used as an add-in and as ... For it to work automatically as an add-in, ... >it in the startup folder. ... >I'll bet you can't edit the document template, ...
    (microsoft.public.word.formatting.longdocs)
  • Re: Word Visual Basic "Error 5" at start-up
    ... It sounds likely that you have found the right add-in. ... changed the Word security setting to "disable macros with notification" at ... "Jay Freedman" wrote: ... A new Normal.dotm file was created in the same folder. ...
    (microsoft.public.word.application.errors)