I’ve already tried a search and came up with nothing. I am developing my 1st UserForm. When the user checks on the box in the spreadsheet, it will pull up the UF. Within the UF, the user will have 3 questions to answer. I want to edit what is available in questions 2 and 3 based on the response to one. E.g. User chooses what group they are working for in question 1. Depending on the answer, a different list should become available in questions 2 and 3. I know that I can do this within the spreadsheets based on IF formulas, but those are based on cell links. Can I use the same theory within a UF? If so and I don’t have cell links, how do I build the formulas?
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Formula in UserForms (2003)
Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » Formula in UserForms (2003)
- This topic has 4 replies, 4 voices, and was last updated 19 years, 7 months ago.
AuthorTopicWScchambers@work
AskWoody LoungerSeptember 8, 2005 at 5:43 pm #423891Viewing 3 reply threadsAuthorReplies-
WSsdckapr
AskWoody LoungerSeptember 8, 2005 at 6:33 pm #971803(Edited by sdckapr on 08-Sep-05 15:33. Added PS)
The IFs would be in code, though if you have set selections the “Select Case” may be a better setup.
We could provide a more detailed example if you provided more info about what your setup was like.
Steve
PS Ozgrid has an example workbook in Matching ComboBox Controls. Dependent Lists for Combobox Controls
-
H. Legare Coleman
AskWoody PlusSeptember 8, 2005 at 7:10 pm #971822I assume you will be using either Combo Boxes or List Boxes to let the user select his answers. You will need to put VBA code in one of the event routines (probably the Change Event or Click Event) for the first Combo Box or List Box to build the list of items in the other two Combo Boxes or List Boxes.
-
WSSammyB
AskWoody LoungerSeptember 9, 2005 at 12:37 am #971890It is possible to just use the workbook IF function: use the RowSource/ControlSource properties of a combo box to get/save the values from/in your workbook, then use a workbook IF function to setup the RowSource range. In the attached example, I defined a named range, Types, on the Form worksheet for B2:B3 and a named range Type on the Results worksheet. I then used these ranges as the RowSource and ControlSource, respectively, for the first combo. I did the same thing with named ranges, Items and Item for the second combo. Then, I used workbook IF functions to setup each of the Items. Note, my preference would have been to do this in a combo box event. See next post for a “better” implementation.
-
WSSammyB
AskWoody Lounger
Viewing 3 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Button Missing for Automatic Apps Updates
by
pmcjr6142
25 minutes ago -
Ancient SSD thinks it’s new
by
WSila
31 minutes ago -
Washington State lab testing provider exposed health data of 1.6 million people
by
Nibbled To Death By Ducks
4 hours, 31 minutes ago -
WinRE KB5057589 fake out
by
Susan Bradley
1 hour, 7 minutes ago -
The April 2025 Windows RE update might show as unsuccessful in Windows Update
by
Susan Bradley
10 hours, 42 minutes ago -
Firefox 137
by
Charlie
13 hours, 26 minutes ago -
Whisky, a popular Wine frontend for Mac gamers, is no more
by
Alex5723
16 hours, 54 minutes ago -
Windows 11 Insider Preview build 26120.3863 (24H2) released to BETA
by
joep517
17 hours, 6 minutes ago -
Windows 11 Insider Preview build 26200.5551 released to DEV
by
joep517
17 hours, 8 minutes ago -
New Windows 11 PC setup — can I start over in the middle to set up a local id?
by
ctRanger
10 hours, 14 minutes ago -
Windows 11 Insider Preview Build 26100.3902 (24H2) released to Release Preview
by
joep517
20 hours, 40 minutes ago -
Oracle kinda-sorta tells customers it was pwned
by
Nibbled To Death By Ducks
1 day, 2 hours ago -
Global data centers (AI) are driving a big increase in electricity demand
by
Kathy Stevens
1 day, 13 hours ago -
Office apps read-only for family members
by
b
1 day, 15 hours ago -
Defunct domain for Microsoft account
by
CWBillow
1 day, 12 hours ago -
24H2??
by
CWBillow
1 day, 2 hours ago -
W11 23H2 April Updates threw ‘class not registered’
by
WindowsPersister
20 hours, 55 minutes ago -
Master patch listing for April 8th, 2025
by
Susan Bradley
1 hour, 23 minutes ago -
TotalAV safety warning popup
by
Theodore Nicholson
11 hours, 56 minutes ago -
two pages side by side land scape
by
marc
3 days, 13 hours ago -
Deleting obsolete OneNote notebooks
by
afillat
3 days, 15 hours ago -
Word/Outlook 2024 vs Dragon Professional 16
by
Kathy Stevens
2 days, 18 hours ago -
Security Essentials or Defender?
by
MalcolmP
2 days, 21 hours ago -
April 2025 updates out
by
Susan Bradley
13 minutes ago -
Framework to stop selling some PCs in the US due to new tariffs
by
Alex5723
2 days, 14 hours ago -
WARNING about Nvidia driver version 572.83 and 4000/5000 series cards
by
Bob99
2 days, 4 hours ago -
Creating an Index in Word 365
by
CWBillow
3 days, 7 hours ago -
Coming at Word 365 and Table of Contents
by
CWBillow
1 day, 19 hours ago -
Windows 11 Insider Preview Build 22635.5170 (23H2) released to BETA
by
joep517
4 days, 10 hours ago -
Has the Microsoft Account Sharing Problem Been Fixed?
by
jknauth
4 days, 13 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.