Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-14-2012, 06:20 PM
macropod's Avatar
macropod macropod is offline Command button - save in temp folder and send email with attachment Windows 7 64bit Command button - save in temp folder and send email with attachment Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
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

Without seeing the document/template in question, I can't really commnent on why it's not working.



For the save, you might use:
Doc.SaveAs2 FileName:=Environ("temp") & "\" & Environ("username"), Fileformat:=wdFormatDocument, AddToRecentFiles:=False
The above saves the document in the older .doc format. If you prefer the .docx format, change 'wdFormatDocument' to 'wdFormatXMLDocument'. Alternatively, if you'd prefer to send a PDF, you could use 'wdFormatPDF'.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #2  
Old 11-14-2012, 06:57 PM
bigbird69 bigbird69 is offline Command button - save in temp folder and send email with attachment Windows 7 64bit Command button - save in temp folder and send email with attachment Office 2010 64bit
Novice
Command button - save in temp folder and send email with attachment
 
Join Date: Nov 2012
Posts: 8
bigbird69 is on a distinguished road
Default

hi macropod i have attached the document that way you can get a better view/understanding of it

Last edited by bigbird69; 11-15-2012 at 12:49 AM.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Command button - save in temp folder and send email with attachment Command Button doesnt work on network rmw85 Word VBA 1 04-25-2012 01:02 PM
outlook 2003 always not remove temp copy of opened attachments in temporary folder c.itech Outlook 0 06-20-2011 10:34 PM
Command button - save in temp folder and send email with attachment email as pdf attachment - subject line and attachment named after mail merge Nexus Mail Merge 12 04-13-2011 11:34 PM
Command button - save in temp folder and send email with attachment Command Button cksm4 Word VBA 7 02-27-2011 08:47 PM
How can I save multiple email messages to a file folder? (crosspost) tupham Outlook 0 08-04-2008 07:56 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:24 AM.


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