Hi,

this is my first post and i am new to VB.

I am using a VBA form through Excel.

I am trying to open a word document and copy the entire contents to a text box on my form.

here is my code:

[CODE]

Dim wrdApp As Object
Dim wrdDoc As Object

Set wrdApp = CreateObject("Word.Application")

wrdApp.Visible = True

Set wrdDoc = wrdApp.Documents.Open(PathToDocument)
'PathToDocument uses variables that are defined earlier. it works...

wrdDoc.Edit.SelectAll. 'here is my problem
TxtSummary.SetFocus
TxtSummary.SelStart = 0
TxtSummary.Paste

[END CODE]

@ wrdDoc.Edit.SelectAll. I get an error "Object doesn't support this property or method."

How do I select and copy the text in my word document?

Thanks a bunch...

thegeeber