
Signature
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
Hi Doug...
Would I add that in this section someplace??? I'd want to replace the
InputBox for the Directory option (Open Dialog)...
THANK YOU for your help!!!
> > strDocName = "C:\Documents and Settings\chavira\Desktop\CPD\" & _
> > InputBox("Enter the name of the Word contract " & _
> > "you want to import:", "Import Contract")
> Hit send a bit too soon
>
[quoted text clipped - 32 lines]
> > rst.Open "CPD_Table", cnn, _
> > adOpenKeyset, adLockOptimistic
Doug Robbins - Word MVP - 06 Mar 2007 07:17 GMT
Use:
With Dialogs(wdDialogFileOpen)
If .Display = -1 then
strDocName = .Name
End if
End with
Set appWord = GetObject(, "Word.Application")
Set doc = appWord.Documents.Open(strDocName)

Signature
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
> Hi Doug...
>
[quoted text clipped - 44 lines]
>> > rst.Open "CPD_Table", cnn, _
>> > adOpenKeyset, adLockOptimistic
awrex - 06 Mar 2007 16:06 GMT
WOO HOO!!
Thanks Doug!! Now I need to fix the DB error that I'm getting...
> Use:
>
[quoted text clipped - 55 lines]
> >> > rst.Open "CPD_Table", cnn, _
> >> > adOpenKeyset, adLockOptimistic