OK!, It was a dream. How do I know this?
Because yesterday (first time back on that project in about a week) it
was not working.
Apologies for the long post, but I may as well document my actions here
for me as well as for anyone else interested in dropping their two
dinar worth.
I don't know why it is back but I am once again getting the blank
messagebox when I open the document from the MRU.
I am getting the "MISSING: reference".
I can't add the reference by browsing to it, only by opening the addin
file. If the addin file is open the reference displays correctly -No
"MISSING: reference" message.
I have deleted my Normal.dot with no improvement.
I have 'cleaned' the addin and the template projects.
Observations (in no particular order)
===========================
When I create a new document;
(by doubleclick on the template from explorer) based on the
template which has the reference to the addin (I will refer to these
with those names), The document is created but I cannot save it. I
have tried making a small change and run the save and SaveAs commands
directly from Tools|Macro|Macros|Word commands, as well as by closing
the doc and waiting for the prompt. The document will not save. Also
the new document DOES NOT SHOW UP AS A PROJECT in the VBA IDE.
When I create a copy of the addin (in windows explorer);
I can change the reference in the template to the new addin name
(but same project name) using browse in Tools|References, the reference
works and the template behaves as expected.
If I rename this new addin back to the original name the reference is
broken and it won't let me Browse/Add the reference unless the addin is
also opened. But then of course I am back to square one with the
reference breaking as soon as I close the template or document and open
it again without the addin first being opened.
I have checked the drive and cannot find the addin anywhere out of
order. I have lots of saved copies as you would expect during this
debug but none where they should be.
TonyS.
Stay tuned to this station for further exciting (NOT) updates <g>.
Word Heretic - 05 Jan 2006 04:54 GMT
G'day strazz@my-Deja.com,
sounds awfully like a document_open or document_new event isn't being
processed properly. Anyway, I always rebuild the template from scratch
to get rid of spurious references. Rename normal and restart Word.
Create a new template based on normal. Use the organiser to drag stuff
across, recreate what is left over, should be ok.
Steve Hudson - Word Heretic
steve from wordheretic.com (Email replies require payment)
Without prejudice
strazz@my-Deja.com reckoned:
>OK!, It was a dream. How do I know this?
>Because yesterday (first time back on that project in about a week) it
[quoted text clipped - 45 lines]
>TonyS.
>Stay tuned to this station for further exciting (NOT) updates <g>.