Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default tick boxes on userforms

Hello All

I have a userform with an array filled ListBox. What I am trying to do is
set the CheckBox value to true if the item in the array has a total
associated with it. So if you select item1 in the ListBox and enter a total
via a TextBox for item1 then CheckBox1=true assuming the user doesn't exit
the UserForm.

Any help would be greatly appreciated especially if this could be done using
a loop instead of adding each checkbox and the associated If statements!

Mark


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 42
Default tick boxes on userforms

u can check for and set the checkbox's desired condition
with the textbox change event for exmpl:

Private Sub TextBox1_Change()
If TextBox1.Value < "" Then
CheckBox1.Value = True
Else: CheckBox1.Value = False
End If

End Sub
-----Original Message-----
Hello All

I have a userform with an array filled ListBox. What I

am trying to do is
set the CheckBox value to true if the item in the array

has a total
associated with it. So if you select item1 in the

ListBox and enter a total
via a TextBox for item1 then CheckBox1=true assuming the

user doesn't exit
the UserForm.

Any help would be greatly appreciated especially if this

could be done using
a loop instead of adding each checkbox and the associated

If statements!

Mark


.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default tick boxes on userforms

Thanks DMoney for your help
"DMoney" wrote in message
...
u can check for and set the checkbox's desired condition
with the textbox change event for exmpl:

Private Sub TextBox1_Change()
If TextBox1.Value < "" Then
CheckBox1.Value = True
Else: CheckBox1.Value = False
End If

End Sub
-----Original Message-----
Hello All

I have a userform with an array filled ListBox. What I

am trying to do is
set the CheckBox value to true if the item in the array

has a total
associated with it. So if you select item1 in the

ListBox and enter a total
via a TextBox for item1 then CheckBox1=true assuming the

user doesn't exit
the UserForm.

Any help would be greatly appreciated especially if this

could be done using
a loop instead of adding each checkbox and the associated

If statements!

Mark


.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Drop down boxes/tick boxes Jane Excel Worksheet Functions 2 October 28th 08 04:02 PM
Tick Boxes blain Excel Worksheet Functions 3 May 12th 06 11:05 AM
Combo Boxes and Tick Boxes turner2000[_2_] Excel Programming 0 September 29th 04 09:09 PM
Combo Boxes and Tick Boxes turner2000 Excel Programming 0 September 28th 04 10:01 PM
Text Boxes on Userforms Max Scott Excel Programming 0 July 22nd 03 08:45 AM


All times are GMT +1. The time now is 05:15 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"