VBA error message in Word

E

EPPack

If I click on a document to open it in my Word 2K (win2K Pro), I get this
message:

Method "controls" of object "Commandbarpopup" failed

However, if I open Word first, THEN click on any doc, it opens just fine.
The error is clearly VBA (of which I have no significant knowledge), but
I've done a "scorched earth" uninstall/reinstall of Office 2K, plus ran the
Eraser and deleted left over registry keys, folders, etc, as suggested at
the MS site, and the error is still there. I have no clue where to look now
to find a solution to this problem. I've asked in other ng, but so far
nobody has come up with a viable solution. I've done the remove files from
Office startup solution, renamed normal.dot, etc etc, but again, nothing
works. Oh, someone did suggest opening the document with Shift-click, which
does indeed bypass the error, but I have a 'puter-phobe hubby who can't seem
to learn how to do that :) so I'd like to just fix the problem completely.
This is only in Word, btw, I can open Excel, etc with no problems.

I assume that VBA comes along with Office when it's installed? If so, is it
possible to reinstall it outside of office? Some other solution?

TIA
 
J

Jonathan West

Hi Elaine,

This sounds like there is either a virus or a stray add-in. The add-in is
probably the more likely, assuming you have anti-virus software installed.

Close Word. Go to C:\Program Files\Microsoft Office\Word\Startup\

If there are any document templates there, move them to another folder.
Restart Word. All should now be well.

If there was more then one template there, and you want to be able to
identify the offending one, close Word again, and add just one of the
templates back again, restart Word and see if the problem has returned.
Repeat, adding in another template until you find the one that is causing
the problem.
 
E

EPPack

Jonathan West said:
Hi Elaine,
This sounds like there is either a virus or a stray add-in. The add-in is
probably the more likely, assuming you have anti-virus software installed.

Hi Jonathan! I am totally virus free, that's definite.
Close Word. Go to C:\Program Files\Microsoft Office\Word\Startup\
If there are any document templates there, move them to another folder.

On the assumption you are referring to c:\program files\microsoft
office\office\startup (I don't have the exact path you mention), I'd already
done that a while back, and it did not help. My Startup had only a pdf
related file in there before, pdfmaker.dot, I believe it was, but it's long
gone (see below).This startup folder is empty.
Restart Word. All should now be well.

'Fraid not :( I had already done this before and it did not help. Ditto the
renaming of normal.dot.
If there was more then one template there, and you want to be able to
identify the offending one, close Word again, and add just one of the
templates back again, restart Word and see if the problem has returned.
Repeat, adding in another template until you find the one that is causing
the problem.

Again, there were zero files in that folder.I have a bunch of various and
sundry templates, but they were never in the Office/startup folder. The ones
I created are all in the ..\application data\microsoft\templates\general
folder, and everything else is pretty much just standard stuff from the
install. Hmm, I may have d/l some templates from the MS office update site
some time ago (a LONG time ago), now that I think about it, but I'd like to
hope they were OK! In any event they too were never in the startup folder.

Thanks!

elaine
 
C

Cindy M -WordMVP-

Hi EPPack,

Are you sure that the Startup folder you looked at is the one that is actually
used by this installation of Word? Look in Tools/Options/File locations?

Have you also checked whether you have any COM addins? If not, drag this entry
out of Tools/Customize/Commands, Tools category to your Tools menu. Close the
Customize dialog box and click on this new entry. Anything in the list?

As a last resort, take a really close look at the list of programs in Control
Panel/Add-Remove programs. Does anything there look like it could be something
added in to Word (Adobe Acrobat Writer, for example)?
On the assumption you are referring to c:\program files\microsoft
office\office\startup (I don't have the exact path you mention), I'd already
done that a while back, and it did not help. My Startup had only a pdf
related file in there before, pdfmaker.dot, I believe it was, but it's long
gone (see below).This startup folder is empty.


'Fraid not :( I had already done this before and it did not help. Ditto the
renaming of normal.dot.


Again, there were zero files in that folder.I have a bunch of various and
sundry templates, but they were never in the Office/startup folder. The ones
I created are all in the ..\application data\microsoft\templates\general
folder, and everything else is pretty much just standard stuff from the
install. Hmm, I may have d/l some templates from the MS office update site
some time ago (a LONG time ago), now that I think about it, but I'd like to
hope they were OK! In any event they too were never in the startup folder.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep 30 2003)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :)
 
H

Howard Kaikow

I expect that whatever code is running depends on the availability of
something that is not getting loaded quickly 'nuf when Word starts.

I had such a problem with my Auto* macros when I tried to put ALL code used
by the Auto macros in a global template. Turns out the global template was
not loaded quickly enough so I had to move one procedure back into the
Normal template.

If the code runs correctly after Word has loaded, then I suggest
investigating what is called by the code, to see whether you have a similar
problem.
 
E

EPPack

Cindy M -WordMVP- said:
Hi EPPack,
Are you sure that the Startup folder you looked at is the one that is actually
used by this installation of Word? Look in Tools/Options/File locations?

Aha! Turns out my actual path is C:\Documents and
Settings\[user]\Application Data\Microsoft\Word\Startup, and yes, there are
indeed some files there. And guess what?? Yep, there's one called
DVZWDaddin.dot, which came from my PDA's Dataviz Documents to Go
application! Go figger. I moved them back in one by one, and sure enough,
that's the one that breaks it. Interesting. Well, a search of the Dataviz
site is in order.

In the meantime, I've removed that template and tried a sync, and it still
works fine. I don't use D2G for Word files, but I do use it for a few simple
spreadsheets I want to keep handy. This template shouldn't be missed :)

Thanks so much Cindy!! You have brilliantly solved the problem!!

Elaine
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top