adding references

J

johnnybhoy

Hi Folks,

I'm looking to expand a range of templates I have to work with Office XP and
would like to know the DLL to use in the reference string.

wordXP dll = ???? MSOWC.DLL ??
w2k dll = MSO9.dll
word 97 dll = MSO97.dll

I've tried adding the DLL to my references using VBA but I can't seem to get
it to load the addin using the command

IF application.version > "9.0" THEN
MyWizard.ThisDocument.VBProject.References.AddFromFile strRef
ENDIF

Any pointers??

John
 
W

Word Heretic

G'day "johnnybhoy" <[email protected]>,

is there a MSO11.dll???

johnnybhoy said:
Hi Folks,

I'm looking to expand a range of templates I have to work with Office XP and
would like to know the DLL to use in the reference string.

wordXP dll = ???? MSOWC.DLL ??
w2k dll = MSO9.dll
word 97 dll = MSO97.dll

I've tried adding the DLL to my references using VBA but I can't seem to get
it to load the addin using the command

IF application.version > "9.0" THEN
MyWizard.ThisDocument.VBProject.References.AddFromFile strRef
ENDIF

Any pointers??

John

Steve Hudson

Word Heretic, Sydney, Australia
Tricky stuff with Word or words for you.
Email: (e-mail address removed)
Products: http://www.geocities.com/word_heretic/products.html
Spellbooks: 728 pages of dump left and dropping...

The VBA Beginner's Spellbook: For all VBA users.
 
J

johnnybhoy

Hi Steve,

Couldn't find MSO11. DLL but did find MSO.DLL. I don't know what it is but
I could always try it and see what happens.

any thoughts?

Johnnybhoy
 

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