Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
hi
many a times we come across a msgbox with check box on it labeled "do not show this msg agaon" when we select the chek box this msg never appeared what could be the code behind such checkbox? please help -- hemu -- hemu |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() I guess it is a simple flag where the status is stored between sessions -- Mallyca ----------------------------------------------------------------------- Mallycat's Profile: http://www.excelforum.com/member.php...fo&userid=3551 View this thread: http://www.excelforum.com/showthread.php?threadid=55531 |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
hi mallycat
in such cases form if loaded remains with code forever? i mean when next time i run same macro will this form appear again? -- hemu "Mallycat" wrote: I guess it is a simple flag where the status is stored between sessions. -- Mallycat ------------------------------------------------------------------------ Mallycat's Profile: http://www.excelforum.com/member.php...o&userid=35514 View this thread: http://www.excelforum.com/showthread...hreadid=555310 |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
- create a userform with the checkbox. Add this code:
Private Sub CheckBox1_Click() Range("Sheet1!A1").Value = 1 End Sub - Somewhere in your procedure Sub test() If Range("Sheet1!A1").Value = 1 Then Exit Sub Else UserForm1.Show End If End Sub That's it. Succes "Hemant_india" schreef in bericht ... hi mallycat in such cases form if loaded remains with code forever? i mean when next time i run same macro will this form appear again? -- hemu "Mallycat" wrote: I guess it is a simple flag where the status is stored between sessions. -- Mallycat ------------------------------------------------------------------------ Mallycat's Profile: http://www.excelforum.com/member.php...o&userid=35514 View this thread: http://www.excelforum.com/showthread...hreadid=555310 |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Should be:
Private Sub CheckBox1_Change() If CheckBox1.Value = True Then Range("Sheet1!A1").Value = 1 Else Range("Sheet1!A1").Value = 0 End If End Sub "Hemant_india" schreef in bericht ... hi many a times we come across a msgbox with check box on it labeled "do not show this msg agaon" when we select the chek box this msg never appeared what could be the code behind such checkbox? please help -- hemu -- hemu |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to have Checkbox A uncheck with checked Checkbox B | Excel Discussion (Misc queries) | |||
How do I link one checkbox to update another checkbox? | Excel Programming | |||
checkbox on form reset from checkbox on sheet | Excel Programming | |||
Checkbox!! | Excel Discussion (Misc queries) | |||
checkbox help | Excel Programming |