+ Reply to Thread
Results 1 to 3 of 3

Open mail merged doc from VBA not working

  1. #1
    Registered User
    Join Date
    08-30-2007
    Posts
    28

    Open mail merged doc from VBA not working

    I use this code to open a mail merged word doc and it doesn't give me mail merge abilities. The doc does work if I open it manually from my drive. The difference is that when VBA in excel does it the document comes right up and when I do it manually a box comes up asking me to accept database data blah blah.

    Sub open_word_2()
    Set appWD = CreateObject("Word.Application")
    appWD.Visible = True
    appWD.Documents.Open Filename:="C:\path\filename.doc"
    End Sub

    There should be a code that lets word do its thing and open the merge box on open, right?

  2. #2
    Registered User
    Join Date
    08-30-2007
    Posts
    28
    accident post...
    Branden
    *Currently Noob VBA Scripter but I know excel pretty well otherwise.

  3. #3
    Registered User
    Join Date
    08-30-2007
    Posts
    28
    Anyone know a solution for this?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1