My Normal template not working in a different computer

L

Larry

Last week I copied my normal template from my computer (with Word 97 and
Windows 98) to another computer at a friend's house where I was staying
(with Word 97 and Windows XP). Many of my macros didn't work. When I
ran them I got this error message:

"Compile error. Can't find project or library"

When this happens to a macro, the highlighted text in the macro always
involves the character code symbol, like this: Chr(30), for example,

Selection.MoveEndWhile cset:=",.!? """ & Chr(13)

So I guess I needed some special reference to be checked which would
allow this computer to handle the character code symbol.

Also, with many macros, I got this error message: "Compile error, can't
find project or library"
With other macros, I get message "Can't open macro storage." Even though
the templaste containing the macro I was trying to run would open to
that macro.

I'm no longer working at the XP computer, but to avoid this problem in
the future, does anyone know what I was doing wrong?

Thanks,
Larry
 
A

Anne Troy

Maybe the machine you were on didn't have VBA installed, or maybe it didn't
have all the files it needed. Next time you get "can't find..." open the VB
editor, and hit Tools-->References. See if anything says "Missing".
************
Anne Troy
www.OfficeArticles.com
 
L

Larry

I did look in Tools, References, and saw some things checked, and many
others not checked, just like on my own machine, but didn't see any clue
as to what was missing. Maybe I need to list all the references checked
on my machine and bring that list with me.

Also, many of my macros did work, probably a majority of them.
 

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