Compile error (improved ver. of my Sept 15 message)

M

Marc Hankin

I have a WinXp computer running Office 2002 for
Students and Teachers.
I recently tried copying my Word Startup files
(and my Normal.dot file) to several "target" computers,
i.e., another WinXp computer running Office 2002, and
a couple of my Win2k and Office 2kProfessional
computers.
I got the following error message, when I open
Word on the Win2k computers:
"Compile error in hidden module: modLibrary"
When I try to use some of my forms on the target
computers, Word can't find or open projects (although I
don't know for sure which projects Word can't open), and
some of the macros don't work.
When I tried to use a Userform
(named "frmMenuGenlAccess" [in MarcP4OurStuff.dot] on the
WinXp/Office2002 "target" computer) to trigger various
macros, I got this error message:
"Compile error in hidden module: frmMenuGenlAccess"
OK/Help I pushed the Help button, and get the message
that "Compile error in hidden module. A protected module
can't be displayed...." Since the frmMenuGenlAccess is
in MarcP4OurStuff.dot, I checked the properties of
MarcP4OurStuff.dot to ascertain if somehow it became
protected, and it doesn't appear to be protected.
Adding to the confusion, some command button triggered
macros on the frmMenuGenlAccess do work.
One of the macros (triggered by a command button
on "frmMenuGenlAccess"), which does Not work, produces
error message: "Compile error: can't find project or
library". When I click OK, StrConv is highlighted on the
following line:
strSelektion = StrConv(strSelektion,
vbProperCase)
I checked the Tools, References for MarcP4OurStuff.dot,
and found plenty of reference check boxes checked, with
one perplexing reference:
"MISSING: Microsoft Visual Basic 6.0
extensibility"
Any ideas? (Thanks for reading all of this. Much
appreciated.)
Marc
 
W

Word Heretic

G'day "Marc Hankin" <[email protected]>,

Stick a copy of all templates in your Tools > Options > File Locations
Startup drawer until you work out which are global and which are
local.

Steve Hudson - Word Heretic
Want a hyperlinked index? S/W R&D? See WordHeretic.com

steve from wordheretic.com (Email replies require payment)


Marc Hankin reckoned:
I have a WinXp computer running Office 2002 for
Students and Teachers.
I recently tried copying my Word Startup files
(and my Normal.dot file) to several "target" computers,
i.e., another WinXp computer running Office 2002, and
a couple of my Win2k and Office 2kProfessional
computers.
I got the following error message, when I open
Word on the Win2k computers:
"Compile error in hidden module: modLibrary"
When I try to use some of my forms on the target
computers, Word can't find or open projects (although I
don't know for sure which projects Word can't open), and
some of the macros don't work.
When I tried to use a Userform
(named "frmMenuGenlAccess" [in MarcP4OurStuff.dot] on the
WinXp/Office2002 "target" computer) to trigger various
macros, I got this error message:
"Compile error in hidden module: frmMenuGenlAccess"
OK/Help I pushed the Help button, and get the message
that "Compile error in hidden module. A protected module
can't be displayed...." Since the frmMenuGenlAccess is
in MarcP4OurStuff.dot, I checked the properties of
MarcP4OurStuff.dot to ascertain if somehow it became
protected, and it doesn't appear to be protected.
Adding to the confusion, some command button triggered
macros on the frmMenuGenlAccess do work.
One of the macros (triggered by a command button
on "frmMenuGenlAccess"), which does Not work, produces
error message: "Compile error: can't find project or
library". When I click OK, StrConv is highlighted on the
following line:
strSelektion = StrConv(strSelektion,
vbProperCase)
I checked the Tools, References for MarcP4OurStuff.dot,
and found plenty of reference check boxes checked, with
one perplexing reference:
"MISSING: Microsoft Visual Basic 6.0
extensibility"
Any ideas? (Thanks for reading all of this. Much
appreciated.)
Marc
 
M

Marc Hankin

G'day Steve, & thank you for replying.
1. How do I determine which of my templates are global
and which are local?
2. I keep all of my templates (except the Normal.dot) in
my Tools > Options > File Locations > Startup
drawer/folder/directory.
Thanks, Marc
-----Original Message-----
G'day "Marc Hankin"
Stick a copy of all templates in your Tools > Options > File Locations
Startup drawer until you work out which are global and
which are
local.

Steve Hudson - Word Heretic
Want a hyperlinked index? S/W R&D? See WordHeretic.com

steve from wordheretic.com (Email replies require payment)


Marc Hankin reckoned:
I have a WinXp computer running Office 2002 for
Students and Teachers.
I recently tried copying my Word Startup files
(and my Normal.dot file) to several "target" computers,
i.e., another WinXp computer running Office 2002, and
a couple of my Win2k and Office 2kProfessional
computers.
I got the following error message, when I open
Word on the Win2k computers:
"Compile error in hidden module: modLibrary"
When I try to use some of my forms on the target
computers, Word can't find or open projects (although I
don't know for sure which projects Word can't open), and
some of the macros don't work.
When I tried to use a Userform
(named "frmMenuGenlAccess" [in MarcP4OurStuff.dot] on the
WinXp/Office2002 "target" computer) to trigger various
macros, I got this error message:
"Compile error in hidden module: frmMenuGenlAccess"
OK/Help I pushed the Help button, and get the message
that "Compile error in hidden module. A protected module
can't be displayed...." Since the frmMenuGenlAccess is
in MarcP4OurStuff.dot, I checked the properties of
MarcP4OurStuff.dot to ascertain if somehow it became
protected, and it doesn't appear to be protected.
Adding to the confusion, some command button triggered
macros on the frmMenuGenlAccess do work.
One of the macros (triggered by a command button
on "frmMenuGenlAccess"), which does Not work, produces
error message: "Compile error: can't find project or
library". When I click OK, StrConv is highlighted on the
following line:
strSelektion = StrConv(strSelektion,
vbProperCase)
I checked the Tools, References for MarcP4OurStuff.dot,
and found plenty of reference check boxes checked, with
one perplexing reference:
"MISSING: Microsoft Visual Basic 6.0
extensibility"
Any ideas? (Thanks for reading all of this. Much
appreciated.)
Marc

.
 
W

Word Heretic

G'day "Marc Hankin" <[email protected]>,

That startup drawer holds your global templates. You need to check
your Tools > templates and addins dialog to see what's loaded. If they
are loaded, and each template has a reference to each other, then
perhaps its just a Billy Joel, err, it's only just a matter of trust.
So, set Tools > Macros > Security > Trusted sources > Trust all
installed add-ins and templates and retry.

Steve Hudson - Word Heretic
Want a hyperlinked index? S/W R&D? See WordHeretic.com

steve from wordheretic.com (Email replies require payment)


Marc Hankin reckoned:
G'day Steve, & thank you for replying.
1. How do I determine which of my templates are global
and which are local?
2. I keep all of my templates (except the Normal.dot) in
my Tools > Options > File Locations > Startup
drawer/folder/directory.
Thanks, Marc
-----Original Message-----
G'day "Marc Hankin"
Stick a copy of all templates in your Tools > Options > File Locations
Startup drawer until you work out which are global and
which are
local.

Steve Hudson - Word Heretic
Want a hyperlinked index? S/W R&D? See WordHeretic.com

steve from wordheretic.com (Email replies require payment)


Marc Hankin reckoned:
I have a WinXp computer running Office 2002 for
Students and Teachers.
I recently tried copying my Word Startup files
(and my Normal.dot file) to several "target" computers,
i.e., another WinXp computer running Office 2002, and
a couple of my Win2k and Office 2kProfessional
computers.
I got the following error message, when I open
Word on the Win2k computers:
"Compile error in hidden module: modLibrary"
When I try to use some of my forms on the target
computers, Word can't find or open projects (although I
don't know for sure which projects Word can't open), and
some of the macros don't work.
When I tried to use a Userform
(named "frmMenuGenlAccess" [in MarcP4OurStuff.dot] on the
WinXp/Office2002 "target" computer) to trigger various
macros, I got this error message:
"Compile error in hidden module: frmMenuGenlAccess"
OK/Help I pushed the Help button, and get the message
that "Compile error in hidden module. A protected module
can't be displayed...." Since the frmMenuGenlAccess is
in MarcP4OurStuff.dot, I checked the properties of
MarcP4OurStuff.dot to ascertain if somehow it became
protected, and it doesn't appear to be protected.
Adding to the confusion, some command button triggered
macros on the frmMenuGenlAccess do work.
One of the macros (triggered by a command button
on "frmMenuGenlAccess"), which does Not work, produces
error message: "Compile error: can't find project or
library". When I click OK, StrConv is highlighted on the
following line:
strSelektion = StrConv(strSelektion,
vbProperCase)
I checked the Tools, References for MarcP4OurStuff.dot,
and found plenty of reference check boxes checked, with
one perplexing reference:
"MISSING: Microsoft Visual Basic 6.0
extensibility"
Any ideas? (Thanks for reading all of this. Much
appreciated.)
Marc

.
 

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