hi, i'm from germany, and i try to
explain my problem:
i define a public class in vb and i can reference that class
in word.
but how can i put data from vb to word in the way like:
call "wordmakro"(transferclass) or
set word.class = vb.class?
can you help me?

until later

eggert

Re: send data from vb to word by Word

Word
Fri Jul 04 23:21:33 CDT 2003

G'day "Eggert" <vauli1@yahoo.de>,

Method 1

Set a bookmark in the document, or otherwise establish a range with a
Find or something. Now we have a place to put it in - the range.
Ranmge.InsertAfter blah or even Range.Paste for RTF stuff.

Method 2

(Simple values only)

Insert a document or custom document property field directly into the
document and use VBA to update the underlying value of this.



"Eggert" <vauli1@yahoo.de> was spinning this yarn:

>hi, i'm from germany, and i try to
>explain my problem:
>i define a public class in vb and i can reference that class
>in word.
>but how can i put data from vb to word in the way like:
> call "wordmakro"(transferclass) or
> set word.class = vb.class?
>can you help me?
>
>until later
>
>eggert
>
>
>

Steve Hudson

Word Heretic, Sydney, Australia
Tricky stuff with Word or words for you.
Email: word_heretic@yahoo.com.au
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.