Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default (PLZ REPLY) copy checkbox name into sheet

I have created a 3 user box with one textbox and two
CheckBox in each userform. In userform1 if i type in
textbox "01" it should check, checkBox one. & 02 it should
check, checkBox Two. and than it should go to 2nd userform
and work same as userform1. and goto 3ed usefrom and work
same. but if user type out of 01 or 02 in any userform it
should goto next userform.

in userfrom1 checkBox1 name is White
in userfrom1 checkBox2 name is Black

in userfrom2 checkBox1 name is Pan
in userfrom2 checkBox2 name is Ink-Pan

in userfrom3 checkBox1 name is Refill
in userfrom3 checkBox2 name is Fill

and after that it should copy data from all 3 userform
checkbox which is not check into sheet1.

If user have type in userfrom1 textbox "01" it should
copy "02" checkbox into sheet1.

like
A B C
1 userfrom1 Userfrom2 Userfrom3
2 Black Pan Fill
3

is any one can help me plz.


..


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 576
Default (PLZ REPLY) copy checkbox name into sheet

****al,

Not totally sure, but this might get you started:
The first module clears the check boxes.
The second checks one or the other.
Amend the code to your needs.

You can use Userform1.Textbox1.... to be more specific.

Private Sub TextBox1_Enter()
CheckBox1.Value = False
CheckBox2.Value = False
End Sub

Private Sub TextBox1_Exit(ByVal Cancel As MSForms.ReturnBoolean)
If TextBox1.Value = "01" Then
CheckBox1.Value = True
ElseIf TextBox1.Value = "02" Then
CheckBox2.Value = True
Else
MsgBox "Wrong Entry"
End If
End Sub


--
sb
"****al" wrote in message
...
I have created a 3 user box with one textbox and two
CheckBox in each userform. In userform1 if i type in
textbox "01" it should check, checkBox one. & 02 it should
check, checkBox Two. and than it should go to 2nd userform
and work same as userform1. and goto 3ed usefrom and work
same. but if user type out of 01 or 02 in any userform it
should goto next userform.

in userfrom1 checkBox1 name is White
in userfrom1 checkBox2 name is Black

in userfrom2 checkBox1 name is Pan
in userfrom2 checkBox2 name is Ink-Pan

in userfrom3 checkBox1 name is Refill
in userfrom3 checkBox2 name is Fill

and after that it should copy data from all 3 userform
checkbox which is not check into sheet1.

If user have type in userfrom1 textbox "01" it should
copy "02" checkbox into sheet1.

like
A B C
1 userfrom1 Userfrom2 Userfrom3
2 Black Pan Fill
3

is any one can help me plz.


.




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
checkbox, then taking information from one sheet to another sheet DMK Excel Worksheet Functions 0 September 12th 08 10:00 PM
checkbox to copy and delete content of a cell ash3154 Excel Discussion (Misc queries) 1 March 1st 08 02:15 PM
copy many CHECKBOX Taha Elian Excel Discussion (Misc queries) 1 April 28th 05 06:06 PM
copy checkbox name into sheet. shital Excel Programming 0 September 20th 03 06:14 AM
CheckBox data copy into sheet. shital Excel Programming 0 September 17th 03 06:00 AM


All times are GMT +1. The time now is 07:10 PM.

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

About Us

"It's about Microsoft Excel"