M
Mickey F.
Ideally, what I'd like to do is create a UserForm that displays a list of
Word docs in a particular directory in a ComboBox. As the user selects
different documents in the ComboBox, another Control on the form displays the
text of the document, preferably in it's Rich Text Format - but even regular
text would be okay. Exactly like how the preview window woks in the AutoText
menu.
Here's the catch though, I'd like to be able to read from the documents
without actually opening them. Sort of like the .InsertFile method, but
instead of putting the text into a document, I would want to put that text
onto a Control. The text that needs to be previewed from each document WILL
be encapsulated in a uniquely named BookMark though.
I know how to put the File names into the ComboBox, the part I'm stuck on is
being able to read the BookMakrked text from another file WITHOUT opening it
(if that's even possible). I would also prefer not having to open a new
document or insert anything into the document the UserForm is attached too.
Word Version Info: Word 2002 (10.6818.6817) SP 3
Word docs in a particular directory in a ComboBox. As the user selects
different documents in the ComboBox, another Control on the form displays the
text of the document, preferably in it's Rich Text Format - but even regular
text would be okay. Exactly like how the preview window woks in the AutoText
menu.
Here's the catch though, I'd like to be able to read from the documents
without actually opening them. Sort of like the .InsertFile method, but
instead of putting the text into a document, I would want to put that text
onto a Control. The text that needs to be previewed from each document WILL
be encapsulated in a uniquely named BookMark though.
I know how to put the File names into the ComboBox, the part I'm stuck on is
being able to read the BookMakrked text from another file WITHOUT opening it
(if that's even possible). I would also prefer not having to open a new
document or insert anything into the document the UserForm is attached too.
Word Version Info: Word 2002 (10.6818.6817) SP 3