Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi All,
I have textboxes and comboboxes located in Frame1 and I only want to clear values in Textboxes when a user changes Student_Id field Here is my code so far: Private Sub StudentId_Change() For Each ctl In Me.Frame1.Controls If TypeOf ctl Is TextBox Then ctl.Value = "" End If Next End Sub For some reason the values in textboxes are not cleared, I inserted break points and found out that the control type of Textbox is not identified and hence passes the If statement directly to End if Thanks in advance |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
capture filter values from a sheet into a dropdown list in userfor | Excel Programming | |||
Cells will not clear - if I type 1 it comes up as 100 know matter | Excel Worksheet Functions | |||
Unable to sum the specific cells containing both text & values | Excel Worksheet Functions | |||
Clear Text in Text Box control | Excel Programming | |||
Only text values matching using index/match lookup - data type pro | Excel Worksheet Functions |