![]() |
|
#1
|
||||
|
||||
![]()
See http://www.gmayor.com/Userform.htm and in particular the FillBM function then you need something like.
Code:
Private Sub CommandButton1_Click() With ActiveDocument If UCase(TextBox1.Text) = "YES" Then FillBM "Text1", "The cow is green" Else FillBM "Text1", "The cow is not green" End If End With Unload Me End Sub
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
#2
|
|||
|
|||
![]() Quote:
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlook Template: Trying to Output text and fields | back2ict | Outlook | 0 | 07-03-2018 08:57 AM |
Linking Specific text fields in PP to specific cells in an Excel table | GWRW1964 | PowerPoint | 0 | 02-26-2018 07:37 AM |
![]() |
norwood | Word VBA | 2 | 01-31-2014 01:26 PM |
How do I output text to a specific cell (x,y)? | norwood | Word VBA | 2 | 01-31-2014 08:43 AM |
![]() |
SaneMan | Word VBA | 5 | 04-01-2011 03:11 PM |