Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-11-2011, 07:27 PM
Nexus Nexus is offline email as pdf attachment - subject line and attachment named after mail merge Windows 7 64bit email as pdf attachment - subject line and attachment named after mail merge Office 2007
Novice
email as pdf attachment - subject line and attachment named after mail merge
 
Join Date: Apr 2011
Posts: 7
Nexus is on a distinguished road
Default email as pdf attachment - subject line and attachment named after mail merge

Hello everyone.



I am doing a mail merge from an excel file into Word 2007 to email as a PDF attchment using Acrobat 9 Pro into Outlook 2007. My objective:

To email as pdf attachment with subject line and attachment named from a field within word.

After I run the mail merge within Word, (I stop at step 5 of 6 within the MS wizard) I click, "Send>Email as PDF Attachment". Wait for Outlook 2007 to give the email window to send it out.

What shows up in the subject line and the attachment name is the original file name (lets call the file name "contract template"). What I want is a specific name for the subject line and attachment file name.

I have mailing addresses I'm sending to. So in the Word file there is an address of "123 Mainstreet Hollywood CA 90210". I want the subject line and attachment name to be "123 Mainstreet Hollywood CA 90210". Why isn't it doing it?

My 2 friends are doing it successful everyday.

Can someone please help as it's vital to my business?

Thanks in advance!
Reply With Quote
  #2  
Old 04-12-2011, 02:01 AM
macropod's Avatar
macropod macropod is offline email as pdf attachment - subject line and attachment named after mail merge Windows 7 32bit email as pdf attachment - subject line and attachment named after mail merge Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Hi Nexus,

Word can't personalize either the subject line or the attachment name using the standard mailmerge tools. You may be able to adapt the vba code at:
http://word.mvps.org/FAQs/MailMerge/...ttachments.htm
to use that kind of process to drive your mailmerge process.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 04-12-2011, 07:26 AM
Nexus Nexus is offline email as pdf attachment - subject line and attachment named after mail merge Windows 7 64bit email as pdf attachment - subject line and attachment named after mail merge Office 2007
Novice
email as pdf attachment - subject line and attachment named after mail merge
 
Join Date: Apr 2011
Posts: 7
Nexus is on a distinguished road
Default

Hello macropad,

I don't understand because I'm watching a video of my friend doing everyday and I know he didn't install that.

Yesterday, I got it to work with a slight workaround. I start with the Word template, then mail merge, select recipients from the excel file, and stop at 5 of 6 in the mail merge wizard.

I then select all (of the 11 page word doc), copy, then paste all that in a new Word doc. THEN, I send email as pdf attachment which now, both the subject line and pdf attachment, are named after the mailing address.

It works just as I want when I paste it all into a new doc.

Can you tell me why it works like this now?

Why won't Word name the subject line and attachment from the original?
Reply With Quote
  #4  
Old 04-13-2011, 08:43 AM
macropod's Avatar
macropod macropod is offline email as pdf attachment - subject line and attachment named after mail merge Windows 7 32bit email as pdf attachment - subject line and attachment named after mail merge Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Hi Nexus,

The reason you're getting both the desired name for the document and the subject line with your workaround is because (if I understand it correctly) the email subject line is taken from the document's name.

Are you sure your friend was using Word, and not Publisher?
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #5  
Old 04-13-2011, 09:54 AM
Nexus Nexus is offline email as pdf attachment - subject line and attachment named after mail merge Windows 7 64bit email as pdf attachment - subject line and attachment named after mail merge Office 2007
Novice
email as pdf attachment - subject line and attachment named after mail merge
 
Join Date: Apr 2011
Posts: 7
Nexus is on a distinguished road
Default

Hi Macropad,

I positive he's using Word as I've watched the video's 5 times and going through the process step by step to make this work. He's not using Publisher at all.
Reply With Quote
  #6  
Old 04-13-2011, 02:10 PM
macropod's Avatar
macropod macropod is offline email as pdf attachment - subject line and attachment named after mail merge Windows 7 32bit email as pdf attachment - subject line and attachment named after mail merge Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

OK, so what's he doing that you're not?
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #7  
Old 04-13-2011, 02:18 PM
Nexus Nexus is offline email as pdf attachment - subject line and attachment named after mail merge Windows 7 64bit email as pdf attachment - subject line and attachment named after mail merge Office 2007
Novice
email as pdf attachment - subject line and attachment named after mail merge
 
Join Date: Apr 2011
Posts: 7
Nexus is on a distinguished road
Default

Absolutely nothing.

Which is why I posted here to see if I'm missing something.
Reply With Quote
  #8  
Old 04-13-2011, 07:38 PM
macropod's Avatar
macropod macropod is offline email as pdf attachment - subject line and attachment named after mail merge Windows 7 32bit email as pdf attachment - subject line and attachment named after mail merge Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

See http://support.microsoft.com/kb/826838. There, MS has this:

Quote:
Q6: Can you use a Merge field in the Subject box of an e-mail message?
A6: No. You can only type text in the Subject box of an e-mail message.

Note Microsoft Publisher 2007 or Publisher 2010 provides support for this.
Similarly, http://support.microsoft.com/kb/294694 says:


Quote:
Step 6 of 6: Complete the merge
  1. Click Electronic Mail.
  2. When the Merge to E-mail dialog box appears, select the field that you want to use for the To line, type the subject in the Subject line, and then select the mail format that you want to use.
  3. Click OK to send your messages.
Since your propsed filename comes from a mergefield, these two articles seem to rule out doing it automatically with Word's standard tools. Your friend could, perhaps, have a macro that runs in the background when executing the mailmerge. One wouldn't necessarily see anything unusual when this happens and the email personalisation might be the only visible effect.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #9  
Old 04-13-2011, 09:50 PM
Nexus Nexus is offline email as pdf attachment - subject line and attachment named after mail merge Windows 7 64bit email as pdf attachment - subject line and attachment named after mail merge Office 2007
Novice
email as pdf attachment - subject line and attachment named after mail merge
 
Join Date: Apr 2011
Posts: 7
Nexus is on a distinguished road
Default

But Macropad, why is it doing it for me now?

When I get to 5 of 6 in the wizard, I select all, copy the contents, open new doc, and paste, THEN send emails as pdf attachment and it's filling the subject line and naming pdf filename with the property address.

I didn't install no macro's so how do you explain this?
Reply With Quote
  #10  
Old 04-13-2011, 10:24 PM
macropod's Avatar
macropod macropod is offline email as pdf attachment - subject line and attachment named after mail merge Windows 7 32bit email as pdf attachment - subject line and attachment named after mail merge Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by Nexus View Post
But Macropad, why is it doing it for me now?

When I get to 5 of 6 in the wizard, I select all, copy the contents, open new doc, and paste, THEN send emails as pdf attachment and it's filling the subject line and naming pdf filename with the property address.

I didn't install no macro's so how do you explain this?
It's working because, by your own admission:
Quote:
I got it to work with a slight workaround.
The workaround is that you're creating the PDFs and emails individually, instead of letting Word do it in bulk.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #11  
Old 04-13-2011, 11:04 PM
Nexus Nexus is offline email as pdf attachment - subject line and attachment named after mail merge Windows 7 64bit email as pdf attachment - subject line and attachment named after mail merge Office 2007
Novice
email as pdf attachment - subject line and attachment named after mail merge
 
Join Date: Apr 2011
Posts: 7
Nexus is on a distinguished road
Default

Perhaps we are misunderstanding each other.

Why is it autopopulating the subject line and naming the filename with the property address like I want it to when doing it from the new Word doc?

However, when I do it from the original Word doc it's naming it with the original filename?
Reply With Quote
  #12  
Old 04-13-2011, 11:16 PM
macropod's Avatar
macropod macropod is offline email as pdf attachment - subject line and attachment named after mail merge Windows 7 32bit email as pdf attachment - subject line and attachment named after mail merge Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by Nexus View Post
Why is it autopopulating the subject line and naming the filename with the property address like I want it to when doing it from the new Word doc?

However, when I do it from the original Word doc it's naming it with the original filename?
Probably because it takes whatever happens to be the active document's name as the 'name' for the subject line. Without having access to whatever code Word uses for this part of the process, one can only surmise...
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #13  
Old 04-13-2011, 11:34 PM
Nexus Nexus is offline email as pdf attachment - subject line and attachment named after mail merge Windows 7 64bit email as pdf attachment - subject line and attachment named after mail merge Office 2007
Novice
email as pdf attachment - subject line and attachment named after mail merge
 
Join Date: Apr 2011
Posts: 7
Nexus is on a distinguished road
Default

hmm......Well Macropad, thanks for your help on this.

I think I'm going to call Microsoft themselves since we can't figure this out.

Thanks again.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ammending An Email Attachment Before Sending Mail sasquat Outlook 0 02-14-2011 08:51 AM
Merge Fields, Pictures and output to email (with attachment) schilds71 Mail Merge 0 10-21-2010 12:02 PM
email as pdf attachment - subject line and attachment named after mail merge Forwarding email with attachment braindead Outlook 2 01-14-2010 06:03 PM
Email (as Attachment) replaced by Mail Recipient (as Text) dcman7 Mail Merge 0 08-18-2009 08:08 AM
Word attachment on an E-mail-macro to open attachment & nablady Outlook 0 11-28-2006 03:00 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:30 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft