error 4148 when opening Word [AutoExec]

K

Kgribbe

We upgraded from office 2003 to 2007 in our organisation but it seems that
our word menu page doesn't seem to be working properly on some of the
computers that got upgraded while on other it work perfectly.

the error message: "Error 4148 during processing, Invalid filename or
invalid number"

Looking at the code in Microsoft's VBasic the error seems to appear on:
"Documents.Open FileName:="L:\Dot2008\menu.dotm", ReadOnly:=True"

I have tried an office re-instalation which didn't solve anything, it seems
to be pc based as when I log another user from the network on the pc where it
worked it still works
 
T

Terry Farrell

What about if you log in a user from a machine that works on to one of the
machines that doesn't work? Is it a user or machine based problem?
 
K

Kgribbe

Just tried to confirm, it is a machine problem, logged on an account that
works on another computer but fails to work on another with the same error
message
 
K

Kgribbe

Hey,

When starting Word by "winword /a" it does not open the menu page from
menu.dotm it only opens an empty new document

Kenny
 
T

Terry Farrell

Sorry, but what is menu.dotm? It isn't anything that is standard in Word
2007.

Terry
 
S

Suzanne S. Barnhill

My guess is it's an add-in (which wouldn't be loaded in Safe Mode). Or it
may be a template that's set to load at startup (by using a /t switch).
 
T

Terry Farrell

Or maybe loaded by an AutoExec macro attached to normal.dot (hence AUtoExec
in the title).

My guess in that case would be that upgrading from Office 2003 to Office
2007 does not take on normal.dot but creates a new normal.dotm when it is
first needed. So why did some upgrades work and not others? Maybe some were
upgrades and others were new installs?

Terry
 
K

kgribbe

I found the error that was causing the problem, which didn't really have
anything to do with the error Microsoft VB gave at first, in one of the
macro's we write a file to the c:\Temp map with account details etc, on pc's
that didn't have this Temp map already it gave an error
 

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