Recent content by garlicman

  1. G

    Do I need to branch?

    I am a novice, so I am seeking your recommendations on how to proceed. There is an Access-based process for employees to apply for reimbursement of expenses. I now want to add a process for employees to apply to reimburse vendor's expenses. The process is identical, but adds the vendor's name...
  2. G

    Access-generated Word doc as email attachment

    With the help of this forum, I have figured out how to create a mail merge document in Word from Access. Now I want to send that Word document as an email message, preferably in one seamless step. Here is where I am stuck: 1. I know how to attach a document, but this document exists only in...
  3. G

    What library has MailMerge.OpenDataSource?

    Yes, I tried using objWord.MailMerge.OpenDataSource from the original sample, and that resulted in the "method or data member not found" error. I used a slightly different example that also uses objWord.MailMerge.OpenDataSource, and it worked for me, so I'm sticking with that. Thanks much for...
  4. G

    What library has MailMerge.OpenDataSource?

    This is the code I borrowed. I made these changes: - The paths and file names for the .doc and .mdb files - objWord.MailMerge.OpenDataSource isn't available for some reason. Yes, I included a reference to Microsoft Word 12.0 Object Library. Instead I used...
  5. G

    What library has MailMerge.OpenDataSource?

    The samples that I saw all use objWord.MailMerge.OpenDataSource. I found objWord.MergeDocuments.MailMerge.OpenDataSource. Is this the same thing? How can I account for the difference that the samples have? Yes, this is with Microsoft Word 12.0 Object Library.
  6. G

    What library has MailMerge.OpenDataSource?

    Hmm. I have the Microsoft Word 12.0 Object Library included. How do I verify that Word is "installed properly"? Word seems to be working without any problems. I have Microsoft Office 2007 on Windows XP Professional with SP3.
  7. G

    What library has MailMerge.OpenDataSource?

    I want to click a button and do a mail merge in a Word document. I saw numerous examples of this using MailMerge.OpenDataSource. One document said that this was in microsoft.office.interop.word.dll. I found Microsoft.Office.Interop.Word in C:\Windows\Assembly, but cannot include it from Tools...
  8. G

    VBA Doesn't Open Mail Merge Word Document.

    Sorry about the code tags. Microsoft Word 12.0 Object Library was exactly the right solution. Thanks!
  9. G

    VBA Doesn't Open Mail Merge Word Document.

    Thanks, Bob. Like I said, I am new to VBA and Access. I am trying to fix something that never worked in an existing form. It is in a module with other subs. I kept the same style as the others. Here is what I have: Private Sub OpenDoc_Click() On Error GoTo Err_OpenDoc_Click Dim objWord As...
  10. G

    VBA Doesn't Open Mail Merge Word Document.

    I am trying to do this exact thing. I am new to Access and VBA. I am using your code, but with my own path and file name. When I click the command button in the form, I get the message from Microsoft Visual Basic: "Compile error: Invalid outside procedure." The word "Set" in my code is...
Back
Top Bottom