+ Reply to Thread
Results 1 to 4 of 4

Mail merge

Hybrid View

  1. #1
    Registered User
    Join Date
    01-31-2016
    Location
    Florida, USA
    MS-Off Ver
    13
    Posts
    26

    Mail merge

    I have a spreadsheet that is shared on 2 pc's that has severl people with email addresses and i have a mail merge to be able to send mass messages. It works fine on my pc but when the other user opens the file, a word documet, to send email it tries to reference the file path off my pc and fails. How do I get around this?

  2. #2
    Forum Expert macropod's Avatar
    Join Date
    12-22-2011
    Location
    Canberra, Australia
    MS-Off Ver
    Word, Excel & Powerpoint 2003 & 2010
    Posts
    3,835

    Re: Mail merge

    You need to change the code to make the path more generic. Since you haven't given any details about the paths in question, though, I can't be more specific.
    Cheers,
    Paul Edstein
    [Fmr MS MVP - Word]

  3. #3
    Registered User
    Join Date
    01-31-2016
    Location
    Florida, USA
    MS-Off Ver
    13
    Posts
    26

    Re: Mail merge

    Well, I have a word document and when I set up merged fields it references the data source path on my hard drive IE: C://my_computer_name/my_documents/my_excel_spreadsheet
    so when we open it on another computer it's the wrong path. I have a button with a script that opens the word doc with the merged fields and also opens Outlook:
    Sub APP_EMAIL_OUTLOOK()
    Shell ("OUTLOOK")
    Dim pdf As String
    
        On Error Resume Next
    
        'pdf file to open
        pdf = "MAIL_MERGE/word.docx"
    
        'open the pdf file
        ActiveWorkbook.FollowHyperlink pdf
        
    End Sub
    That works just fine. It's the data source for the merged fields that is not found on any computer but the one the merged fields were setup on.
    Last edited by KEDENNIS; 10-27-2017 at 10:47 AM.

  4. #4
    Forum Expert macropod's Avatar
    Join Date
    12-22-2011
    Location
    Canberra, Australia
    MS-Off Ver
    Word, Excel & Powerpoint 2003 & 2010
    Posts
    3,835

    Re: Mail merge

    For all the users concerned to access the data source, it would have to be stored in a network folder they all have access to - and the mailmerge main document configured to use that file. Simply giving them a copy of the data source won't work.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Mail Merge Directory - Creating merge with multiple lines
    By tiggynook in forum Excel General
    Replies: 3
    Last Post: 05-03-2017, 03:00 PM
  2. Replies: 0
    Last Post: 06-24-2015, 02:34 AM
  3. Running Word Mail Merge from Excel 2010 - Mail Merge workbook fails
    By pl05.lau@gmail.com in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-05-2015, 07:35 AM
  4. Replies: 2
    Last Post: 01-22-2013, 11:37 AM
  5. Replies: 2
    Last Post: 07-12-2012, 08:11 PM
  6. Replies: 0
    Last Post: 04-21-2006, 03:40 PM
  7. merge with Word How can I get excel to mail merge zip codes plus 4 correctly?
    By Kathy at Sauder Feeds in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-30-2005, 07:05 AM

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