how to store word document content in a variable

R

Raju A

hi,
can you pls send me the code for my below request:
how to store word document content in in a variable

Regards
Raju A
 
H

Helmut Weber

Hi Raju,

do you mean something like that:

dim sDcm as string
sDcm = activedocument.range.text

on the other hand, practically,
you cannot store all of a doc in a string,
in theory though...

--
Greetings from Bavaria, Germany

Helmut Weber, MVP WordVBA

Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"
 

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