Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MS Word error 1

Status
Not open for further replies.

Carlos82

Technical User
May 7, 2007
65
US
When I open a certain Microsoft word document, it gives me a VISUAL BASIC error "an error ocurred while loading "This document" "Do you want to continue loading this project?"
Does anybody know why is this?
 
Thanks A lot, that link was a lot of help.
 
PDFMaker.dot has a history of messing up Word. The worse part of it is that it is loaded on Startup. That is, it is a global template, and it is in the AStartup folder.

One solution is to make PDFMaker.dot more dynamic.

1. Remove it from Startup.

2. Put it someplace else, where does not really matter. Although obviously you have to know where you put it.

3. Make two macros. One to load PDFMaker.dot, and one to unload it.
Code:
Sub LoadPDFMaker()
   AddIns.Add FileName:= _
      "[i]full path to PDFMaker.dot[/i]", _
      Install:=True
End Sub

Sub UnloadPDFMaker()
   AddIns( _
      "[i]full path to PDFMaker.dot[/i]" _
      ).Delete
End Sub

4. Put these up as buttons on a toolbar, or as menu items, or just as keyboard shortcuts...whatever you like.

Now you can load PDFMaker when you need it, not loading it all the time. Obviously if it is not loaded, you will not get that document Open error.

faq219-2884

Gerry
My paintings and sculpture
 
What if I delete the PDFMaker.dot completely?
 
Then it won't mess things up, will it? However, if you delete it, you can hardly use it either.

If you are NOT using it, then heck yes, get rid of it.

faq219-2884

Gerry
My paintings and sculpture
 
I got read of the PDKMaker file and I'm still getting the error message.
 
1. Are you SURE you got rid of it? Please state how you proceeded with doing this.

2. Remove ALL instances of normal.dot, or any other global template (including PDFMaker). Move them to a temporary folder, just so Word can't find them. Make SURE you catch any possible places for it. There are two Startup folders.

One under Program Files/Office...Startup
One under Docoument and Settings/username/Application Data/..../Startup

This forces Word to make a new Normal.dot. Now try your file.

faq219-2884

Gerry
My paintings and sculpture
 
Carlos82,

Another thing to check concerning the pdfmaker.dot is within Word itself. Open up Word just to a blank document.

Then click Tools, Templates & Add-ins.
On the Template tab, look to see if pdfmaker.dot is listed under the Global Templates & Add-ins section. If so, click once on it and then click the Remove button. OK out of the Templates & Add-ins window, exit word and then try opening the document giving you the problem.

If that doesn't work and you still are getting the error when you try to open the document, the document may have some corruption in it.

If that is the case, and you are using Word 2003, when you click File, Open and highlight the document giving you the problem to open it, you will see on the right hand side of the Open button a little arrow. Click on that arrow and try choosing Open and Repair to see if that corrects the problem with the document. You may want to save a copy of the original document in another location before doing the above just in case it wreaks havoc with the document when you do the Open and Repair.

Hope this helps.....

dodomfcg.
 
Also, check for any COM addins. NOTE! COM Addins is not, repeat not, included under the Tools menu by default. You must explicitly add it. Look in Help on how to do this.

Once you have added it to the Tool menu, use it to see if there are any COM addins that may be messing this up.

While dodomfcg is correct that you should check templates and Addins, if you have, IN FACT, deleted PDFMaker.dot, then it certainly will not show up there.

Which is why i asked if you are sure if deleted it, and how exactly did you do that. Did you just delete the file? Do an Uninstall of PDFMaker?

faq219-2884

Gerry
My paintings and sculpture
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top