Can I borrow your Module? Please???!

CadMonkey

Misplaced But Useful
Local time
Today, 15:42
Joined
May 19, 2004
Messages
47
:eek: Hi, I'm using access that handles some data and at the end of it all produces a ws mord document including pictures etc. I'm OK at VBA and am using to access functions of word. But I need to use the
OfficeCodeBehind class which allows me to use the ThisDocument member. The only thing is I don't have this class! I think it comes with vb net or something??! Eitherway I wander if anyone would know how I could get hold of it... I've tried searches (nay, trawling!) on the :eek: web... and can't find anything useful at all. The class OfficeCodeBehind must be contained in some reference. Does anybody know which reference it is and could I nick a copy or something?

A thousand thanks for you patience and help!!
 
Hum....

maybe its just me that does not understand correctly....

you want to produce a MS Word Document by programming ?

If that's the case, you don't need the "OfficeCodeBehind" class, heck, i don't even know what it does :)

I've made several word report controlled via VB and using MS Word templates to populate them.

I could send you the source of the dll I built to do that, not the best one around, but it does the job.

So, why exactly do you need this class ? What does it do that makes it so important ?

Can it be done by another class ?

[Edit]
I should add, it truly OfficeCodeBehind ships with .Net, chances are it ships with it for a reason and you're likely to require .Net to use it (and make sure your clients can use it as well)

So unless you're willing to spend some money on acquiring .Net, I'd start right searching for alternatives.
[/Edit]
 
Last edited:
The reason I am after this class is because it has ready made objects such as ThisDocument and ThisApplication which allow you to refer to word objects without full declarations. The truth is all I need to do is to create a word document (which I know how to code), then assign the word document i've just created to the current one (which I am really stuck on) then add a photo (which I know how to code). SO if you do know how to make a word document you've just created the current one in the VBA so you can add photos etc to it, I will be so so grateful!

If not, well I don't deserve any better. :mad:
 
CadMonkey said:
If you do know how to make a word document you've just created the current one

I've just ask a similar question on a different thread. Can you explain what the "Current One" is ?

Dave
 

Users who are viewing this thread

Back
Top Bottom