LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default VBA Programming with Checkbox

Dear All,
I am currently doing a program in which I gave inout messages to nearly all
of the cells in a Single sheet. I kept because this message/information will
be useful if the user is new person. But my old users don't want the input
message as it irks always when the entering cells. So I decided to give one
checkbox in such a way that if he click the checkbox, all the input messages
of all cells will be hided. If he want the input message back he can again
click the check box by removing the tick sign in it and after he can see the
input messages in all the cells. I wrote the foll. coding also for it.

Sub CheckBox31_Click()
If Cells(6, 8).Value = "True" Then
Range("C11:P210").Validation.ShowInput = False
Else
ActiveSheet.Range("C11:P210").Validation.ShowInput = True
End If
End Sub

But during "Run" it is showing the error as "Application-defined or
object-defined error" which I cannot understand even after entering the
"help" command.
Please help me to sort out the problem.

Regards,
Premanand.S

 
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
Programming a checkbox in Excel [email protected] Excel Programming 0 May 23rd 07 04:06 PM
Programming a checkbox in Excel [email protected] Excel Programming 1 May 23rd 07 03:56 PM
link a checkbox in a sheet to a checkbox on a userform? Arjan Excel Programming 0 November 10th 06 01:37 PM
checkbox on form reset from checkbox on sheet raw[_12_] Excel Programming 1 December 3rd 05 05:08 AM
programming checkbox properties mark Excel Programming 5 August 6th 04 11:26 PM


All times are GMT +1. The time now is 03:41 PM.

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"