Could also depend on other add-ins installed on the work computer. Please
include this info in your "additional problem description" post.

Signature
Cheers!
The Kiwi Koder
We was robbed! The ref was blind! That wasn't a forward pass!
>5891
You sure that isn't 5981?
Anyway, create a new document from your template (so you see the error).
Then, in the Visual Basic Editor, do Tools > References.
Is there anything near the top of the list that says the Reference is
broken? If necessary, use the Project Explorer to click on each open project
in turn and check each one for broken references.
If so, this is probably the cause of the problem.
It means that the setup on your machine at home and the one at work isn't
the same and there's something you have referenced in your .dot that you
have on your home machine but you do not have on your work machine. You have
Word 2002 at home. Are you perhaps using an earlier version of Word at work?
Or does your template reference another Office application (such as Excel)?
If that's the case, you'll need to create a refererence to the earlier
version of (say) Excel - and you'll need to test out your macros to see if
they work with the older object model.
Try to fix the broken reference. If it doesn't work, post back and let us
know more.
Hope this helps.
Shauna Kelly. Microsoft MVP.
http://www.shaunakelly.com/word
> Could also depend on other add-ins installed on the work computer. Please
> include this info in your "additional problem description" post.
[quoted text clipped - 12 lines]
>> Please Note: This question was initially posted in the general questions
>> section. I have reposted it here. Please only reply to this posting.
Newuser - 10 Oct 2007 04:52 GMT
My office has word 10.0.
When I load a cloned document or open the template in my work-place Word
program under references in VBE the following is missing: MISSING: Microsoft
word 10.0 object library.
Now if I open a blank document on the same computer (not my template) and
check Tools>references, this reference is not missing.
I compared the list of references between my version and the office and it
seems they are both the same.
Thank you and to all those who are trying to help.
> >5891
>
[quoted text clipped - 42 lines]
> >> Please Note: This question was initially posted in the general questions
> >> section. I have reposted it here. Please only reply to this posting.
Shauna Kelly - 10 Oct 2007 08:11 GMT
Hi
Do File > Open to open your template. Alt-F11 to get to the VBE. Select your
template in the list in the Project Explorer on the left, open up a module
and then do Tools > References to see the reference list.
Un-tick the box that says it's a broken reference. Click OK. Word might
re-set the reference to itself correctly. So try to re-run the code.
If that doesn't work, open up Tools > References again, scroll down the list
and find and tick the "Microsoft Office 10.0 Object Library" option and see
if it works now.
Hope this helps.
Shauna Kelly. Microsoft MVP.
http://www.shaunakelly.com/word
> My office has word 10.0.
>
[quoted text clipped - 66 lines]
>> >> questions
>> >> section. I have reposted it here. Please only reply to this posting.