Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 01-07-2014, 02:57 PM
gmaxey gmaxey is offline Word 2007 Macro Fillin Field to Text Windows 7 32bit Word 2007 Macro Fillin Field to Text Office 2010 (Version 14.0)
Expert
 
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,598
gmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nice
Default

Well, you are missing part of a If conditional statement. You have the Else and End if part put the not IF.

That should be something like:

If .Tag = 1 Then

where Tag is set using the Userform command button e.g.

Sub commandbutton1_Click()
Tag = 1
Hide
End If

You have to have docvariable fields in the document to display the text:

{DocVariable varGrpName} etc.

and add
a Fields.Update command.
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Word 2007 Macro Fillin Field to Text Macro to find text and replace with form field containing that text iiiiifffff Word VBA 16 06-04-2016 01:47 AM
Word 2007 Macro Fillin Field to Text MS WORD 2007 - Content Control versus Text Form Field question chamdan Word VBA 2 11-12-2013 09:51 PM
Macro to populate a text form field based on dropdown selection koloa Word 0 10-20-2011 11:52 AM
Word 2007 Macro Fillin Field to Text FILLIN function Andy2011 Word 9 10-19-2011 02:51 PM
Word 2007 Macro Fillin Field to Text Word Macro That Checks a Check Box Form Field When File Print is Executed DKerne Word VBA 4 06-09-2011 11:54 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:59 PM.


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