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

Re: My Normal template not working in a different computer by Anne

Anne
Mon Sep 19 22:43:48 CDT 2005

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

"Larry" <larry328NOSPAM@att.net> wrote in message
news:u4wv0sYvFHA.3236@TK2MSFTNGP14.phx.gbl...
> 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
>
>
>
>
>



Re: My Normal template not working in a different computer by Larry

Larry
Wed Sep 21 11:32:27 CDT 2005

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.


"Anne Troy" <ng@officearticles.com> wrote in message
news:uId8DWZvFHA.3932@TK2MSFTNGP15.phx.gbl...
> 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
>
> "Larry" <larry328NOSPAM@att.net> wrote in message
> news:u4wv0sYvFHA.3236@TK2MSFTNGP14.phx.gbl...
> > 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
> >
> >
> >
> >
> >
>
>