2 hours ago: Problem with the course links has been fixed, but you may need to clear your browser cache. See this post for details.  Dismiss
 
Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Visible    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
ComboBox
William DeGrandis 
      
2 years ago
I have a Combobox wish I named NamePrefixcombo. The Combo box Is a list of Name prefix like Mr,Miss,Mrs. My question Is can I make something disappear If the combo Box equal Mr.? I know How to do that If I use a Yes/No field but I don't know If you can do It with a combo Box?
Alex Hedley  @Reply  
           
2 years ago
Kevin Robertson  @Reply  
          
2 years ago
William DeGrandis OP  @Reply  
      
2 years ago
How would you use a If then. I tried IF nameprefixcombo = "Mr." then firstName.visible .
Alex Hedley  @Reply  
           
2 years ago
What columns are in your Combo?
William DeGrandis OP  @Reply  
      
2 years ago
I put the NamePrefixID,NamePrefix. So the Id you don't see and the NamePrefix you see and I name the Combobox NamePrifixCombo.
William DeGrandis OP  @Reply  
      
2 years ago
I tried MsgBox NamePrefixCombo and It comes back as a number 1. so I tried IF nameprefixcombo = 1 then firstName.visible and that didn't work. I am tring to figure it out myself too.
Kevin Robertson  @Reply  
          
2 years ago
Here's a couple of ways.

The ID (First Column):

If NamePrefixCombo = 1 Then
    FirstName.Visible = True
Else
    FirstName.Visible = False
End If


The Visible Column (Second Column):

If NamePrefixCombo.Column(1) = "Mr" Then
    FirstName.Visible = True
Else
    FirstName.Visible = False
End If
William DeGrandis OP  @Reply  
      
2 years ago
Thank you. I also got this to work Age.Visible = NamePrefixCombo = 1

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Visible.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 6/24/2026 2:35:18 PM. PLT: 0s