Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #14  
Old 01-15-2019, 04:54 AM
VisionAvenger VisionAvenger is offline Multiple IF THEN ELSE form Windows 10 Multiple IF THEN ELSE form Office 2013
Novice
Multiple IF THEN ELSE form
 
Join Date: Mar 2016
Posts: 16
VisionAvenger is on a distinguished road
Default

So, in this, then there's no limit (ie, Value:=fName)



Code:
Dim fName As String
   fName = "Jeff Smith"
   ' Set contents of variable "fName" in a document using a document
   ' variable called "FullName".
   ActiveDocument.Variables.Add Name:="FullName", Value:=fName
   ' Retrieve the contents of the document variable.
Reply With Quote
 

Tags
fields, vlookup



Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a Form Which has Multiple PrePopulated Forms Within rx360 Word VBA 2 12-05-2017 06:45 PM
Multiple IF THEN ELSE form Way to save all attachments form multiple emails at once Joey Cheung Outlook 1 12-06-2014 04:12 AM
Multiple IF THEN ELSE form Multiple Text Fields in Form robstark Word 1 08-11-2014 11:26 AM
make a form that can be used multiple times at once Dsp581 Excel 19 04-05-2013 07:25 AM
Multiple IF THEN ELSE form form a database from multiple sheets udea Excel 1 04-25-2011 02:34 AM

Other Forums: Access Forums

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