Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Check Box Help
Is it possible through code to uncheck "Check boxes". In
my code below I ask the User to uncheck the boxes that are checked befor using again. But I would Like this to be automatic. Is it Possible? Range("Die1:Die5").Select Selection.Copy Range("NumSet").PasteSpecial Paste:=xlValues, Operation:=xlNone, SkipBlanks:= _ False, Transpose:=True Range("Die1:Die5").Select Selection.ClearContents Range("E6").Select MsgBox prompt:="Make sure to Clear check boxes!." End Sub Thanks for any help. Pete W |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Check Box Help
Here's some code from Tom Ogilvy that you might find appropriate.
http://www.google.com/groups?hl=en&l...%40cppssbbsa03 HTH Paul -------------------------------------------------------------------------------------------------------------- Be advised to back up your WorkBook before attempting to make changes. -------------------------------------------------------------------------------------------------------------- Is it possible through code to uncheck "Check boxes". In my code below I ask the User to uncheck the boxes that are checked befor using again. But I would Like this to be automatic. Is it Possible? Range("Die1:Die5").Select Selection.Copy Range("NumSet").PasteSpecial Paste:=xlValues, Operation:=xlNone, SkipBlanks:= _ False, Transpose:=True Range("Die1:Die5").Select Selection.ClearContents Range("E6").Select MsgBox prompt:="Make sure to Clear check boxes!." End Sub Thanks for any help. Pete W |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Check Box Help
if they are from the control toolbox toolbar
for each obj in Activesheet.OleObjects if typeof obj.Object is MSforms.CheckBox then obj.Object.Value = False end if Next if from the forms toolbar for each chk in Activesheet.Checkboxes chk.Value = xloff Next -- Regards, Tom Ogilvy "Pete" wrote in message ... Is it possible through code to uncheck "Check boxes". In my code below I ask the User to uncheck the boxes that are checked befor using again. But I would Like this to be automatic. Is it Possible? Range("Die1:Die5").Select Selection.Copy Range("NumSet").PasteSpecial Paste:=xlValues, Operation:=xlNone, SkipBlanks:= _ False, Transpose:=True Range("Die1:Die5").Select Selection.ClearContents Range("E6").Select MsgBox prompt:="Make sure to Clear check boxes!." End Sub Thanks for any help. Pete W |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
make a check form, and then have info go to a check register | Excel Worksheet Functions | |||
Copy and move check box (check boxes) with new cell link? | Excel Worksheet Functions | |||
Increase size of a Forms Check Box (click on to enter check mark) | Excel Discussion (Misc queries) | |||
Check if Conditional Format is True or False / Check cell Color | Excel Worksheet Functions | |||
Enable check box in protected sheet + group check boxes | Excel Discussion (Misc queries) |