Qualifer must be collection error - please help - thanks.

J

James

Any help appreciated.
Using Access 2000. I have used similar code successfully before, but
in this new app I am getting a compile error:

Qualifier must be collection.

Private Sub Command12_click()

' start Microsoft Word.
Set wordApp = CreateObject("Word.Application")

With wordApp

' Make the application visible.
.Visible = True
' Open the document.
.Documents.Open ("C:\DataLetters\NoticeToProceed.doc")
' Move to each bookmark and insert text from the form.
.ActiveDocument.Bookmarks("To").Select
.Selection.Text = (CStr(forms!NoticeToProceed!To))
<continued> ....


And the highlight is in the .Selection.Text line !NoticeToProceed!

Thanks in advance for any help.

James
 
T

TC

Replied elsewhere.

PLEASE DON'T MULTI-POST. Instead, CROSS-post.

Search the web for those two terms, or for the term "netiquette", for more
information on why multi-posting wastes everyone's time.

HTH,
TC
 

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