Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 09-08-2016, 10:55 AM
Gadget Gadget is offline Including Text Form Field info in the subject line of an email Windows 10 Including Text Form Field info in the subject line of an email Office 2016
Novice
Including Text Form Field info in the subject line of an email
 
Join Date: Sep 2016
Posts: 2
Gadget is on a distinguished road
Default Including Text Form Field info in the subject line of an email

Am using the following to send a Word form as an email:

Private Sub Document_New()
Options.SendMailAttach = True
ActiveWindow.EnvelopeVisible = True
With ActiveDocument.MailEnvelope.Item
.Subject = "Hospitality Services Request Form - [Name of Lawyer]"
.Recipients.Add "#Room Booking - HFX; #Housekeeping"


End With

If ActiveWindow.View.TableGridlines = True Then
ActiveWindow.View.TableGridlines = False
End If
End Sub

Is there a way to include information a user types into a Text Form Field (Bookmark name: bkLawyer) in the subject line of the email?
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Including Text Form Field info in the subject line of an email Add button or clickable text to form that opens up user's email client with To field populated richiebabes Word VBA 3 09-04-2014 09:21 PM
Including Text Form Field info in the subject line of an email Outlook - Add text to subject line when sending a reply email rparker85 Outlook 3 12-12-2011 10:26 AM
Copy plain text message including sender, recipient, and subject distancesprinter Outlook 0 01-22-2010 12:49 PM
Including Text Form Field info in the subject line of an email How can I fill in form I received in email that used underlines instead of text field Gail L. Word 2 05-17-2009 12:38 PM
Including Text Form Field info in the subject line of an email getting additional characters in email subject line namishtiwari Outlook 1 04-21-2009 11:21 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:33 PM.


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