Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 08-18-2020, 04:38 PM
Kindyr Kindyr is offline Naming a variable using userform fields Windows 10 Naming a variable using userform fields Office 2019
Novice
Naming a variable using userform fields
 
Join Date: Aug 2020
Posts: 12
Kindyr is on a distinguished road
Default

I need the name of the variable to be able to be different depending on what is put into a userform. So these are legal documents. The information is based off parties (Plaintifff, Defendant, etc) and their evidence numbers (1, 2,A, B, 2-D etc) but will not be the same on every single document. So on one document, you might have a document that is Plaintiff2 and DefendantA while on another you will have one that is Defendant2 and Plaintiff2. They change.



Later, I will have a function that will pull up every variable that starts with Plaintiff and every variable that starts with Plaintiff and list them. So the values of the varibles for DefendantA and Plaintifff2 will involve information such as their page numbers, which I will be using an array for. I have figured out most of everything except for naming the variables to pull the information from.

I have an entirely different way to do the same thing, but it involves a different method of using comments in a document that I wasn't wanting to use and wanted to see if there was going to be a way to just name variables on teh document.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Show userForm from variable Cosmo Word VBA 5 01-31-2018 12:59 PM
Naming a variable using userform fields Assigning a string variable to a userform label caption Larry_1 Excel Programming 3 12-18-2017 06:59 AM
Project - variable data fields pmarc Word 7 04-04-2013 05:07 PM
30+ days Variable Day Date Calculations via Fields ztag Word 2 01-06-2012 11:12 AM
Variable fields? Emalee77 PowerPoint 0 01-30-2011 05:58 PM

Other Forums: Access Forums

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