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?
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
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
-
My 3 monitors go black & then the Taskbar is moved to center monitor
by
saturn2233
9 hours, 13 minutes ago -
Apple backports fixes
by
Susan Bradley
9 hours, 21 minutes ago -
Win 11 24H2 will not install
by
Michael1950
9 hours, 26 minutes ago -
Advice to convert MBR to GPT and install Windows 11 Pro on unsupported PC
by
Andy M
8 hours, 57 minutes ago -
Photos from iPhone to Win 10 duplicating/reformatting to .mov
by
J9438
11 hours, 5 minutes ago -
Thunderbird in trouble. Here comes Thundermail
by
Alex5723
9 hours, 14 minutes ago -
Get back ” Open With” in context menus
by
CWBillow
22 hours, 6 minutes ago -
Many AMD Ryzen 9800X3D on ASRock have died
by
Alex5723
1 day, 1 hour ago -
simple general stupid question
by
WSaltamirano
19 hours, 53 minutes ago -
April 2025 Office non-Security updates
by
PKCano
1 day, 12 hours ago -
Microsoft wants to hear from you
by
Will Fastie
13 hours ago -
Windows 11 Insider Preview Build 22635.5160 (23H2) released to BETA
by
joep517
1 day, 16 hours ago -
Europe Seeks Alternatives to U.S. Cloud Providers
by
Alex5723
1 day, 21 hours ago -
Test post
by
Susan Bradley
2 days ago -
Used Systems to delete Temp files Gone WRONG what does this mean?
by
Deo
2 days, 1 hour ago -
SSD shuts down on its own
by
CWBillow
1 day, 17 hours ago -
OneDrive File Sharing Changes
by
David Clark
2 days, 9 hours ago -
OneDrive File Sharing Changes
by
David Clark
2 days, 12 hours ago -
Win 10 Pro 22H2 to Win 11 Pro 23H2 Conversion Guide
by
doneager
1 day, 12 hours ago -
Today is world backup day
by
Alex5723
2 days, 3 hours ago -
Windows .exe on Mint
by
Slowpoke47
8 hours, 40 minutes ago -
Reviewing your licensing options
by
Susan Bradley
9 hours, 34 minutes ago -
Apple has been analyzing your photos since September 2024
by
B. Livingston
1 day, 8 hours ago -
What Windows 11 24H2 offers beyond bugs
by
Lance Whitney
1 day, 4 hours ago -
Making sense of Settings in Windows 11
by
Simon Bisson
1 day, 6 hours ago -
Windows 11 pro fails to log in after upgrading Win 10 pro to Win 11 pro 24h2
by
ben_sitaud
2 days, 9 hours ago -
23H2 / 24H2 / Local v. Microsoft Account.
by
CWBillow
2 days, 7 hours ago -
YouTube Ad Blocker Blocker
by
bbearren
2 days, 7 hours ago -
Obscure historical facts about Windows
by
Cybertooth
2 days, 9 hours ago -
Microsoft Backup
by
Linda2019
2 days, 1 hour 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.