Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-05-2016, 08:08 PM
naeemakhtar naeemakhtar is offline Emailing textbox contents only Windows 10 Emailing textbox contents only Office 2016
Novice
Emailing textbox contents only
 
Join Date: Apr 2016
Posts: 8
naeemakhtar is on a distinguished road
Default Emailing textbox contents only

Does anyone know the code to (1) select the contents of a textbox and (2) to email it using VBA Code? The MS Word document has additional contents besides the textbox, however only the textbox contents should be emailed.

Thanks.
Reply With Quote
  #2  
Old 04-05-2016, 10:04 PM
gmayor's Avatar
gmayor gmayor is offline Emailing textbox contents only Windows 10 Emailing textbox contents only Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,101
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

What sort of text box? Can you post a document example?
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
  #3  
Old 04-05-2016, 10:12 PM
macropod's Avatar
macropod macropod is offline Emailing textbox contents only Windows 7 64bit Emailing textbox contents only Office 2010 32bit
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

Cross-posted at: http://answers.microsoft.com/en-us/o...4-8fce74b769ed
For cross-posting etiquette, please read: http://www.excelguru.ca/content.php?184
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #4  
Old 04-06-2016, 06:31 AM
naeemakhtar naeemakhtar is offline Emailing textbox contents only Windows 10 Emailing textbox contents only Office 2016
Novice
Emailing textbox contents only
 
Join Date: Apr 2016
Posts: 8
naeemakhtar is on a distinguished road
Default

[Grab your reader’s attention with a great quote from the document or use this space to emphasize a key point. To place this text box anywhere on the page, just drag it.]

Here is an example of the textbox that is included in the MS-Word document. The goal is to select only this textbox and send it via email.
Reply With Quote
Reply

Tags
textbox email

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Word doc not emailing ingridnow Word 3 01-28-2016 08:39 AM
how to save contents in textbox in VB2013 form into a Word document? saltlakebuffalo Word VBA 6 12-10-2014 06:12 PM
Emailing textbox contents only Display result in textbox based on the input of another textbox scarymovie Word VBA 5 05-16-2012 07:05 PM
Emailing document with headers joeldodenhoff Outlook 1 02-20-2012 10:33 PM
Emailing textbox contents only emailing links rwab Office 1 05-16-2009 09:21 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:36 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