Hi Dave,

You have more than a way to achieve this.
It depends how many checkboxes you have.
If you have few, associate the same code with each checkbox :

Private Sub CheckBox1_Click()
If [AL1] = True Then
MsgBox "Please  Fill the related Entities Spreadsheet, thanks"
End If
End Sub

(AL1 being the associated cell).
If you have many, first, associate the cells from a given column to the
checkboxes. You may want to hide this column in order to prevent users from
entering data in it.
Then, in the sheet module, paste the following code :

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Count > 1 Or Target.Column > 1 Then Exit Sub
If Target.Value = True Then
MsgBox "Please  Fill the related Entities Spreadsheet, thanks"
End If
End Sub

If you do have a great amount of it, it may be possible to use class module
in order to avoid too many changes.

Regards.

Daniel




> -----Message d'origine-----
> De : excel-macros@googlegroups.com [mailto:excel-
> mac...@googlegroups.com] De la part de Dave
> Envoyé : mardi 7 juillet 2009 17:23
> À : MS EXCEL AND VBA MACROS
> Objet : [Norton AntiSpam] $$Excel-Macros$$ Check Box macro
> 
> 
> Hi Group,
> 
> I have a very simple request. I have an excel spreadsheet setup as a
> check list for a very complicated audit process. I am using MS Excel
> 2003 and using the Check Box on this check list.
> 
> What I want to do is when a person clicks on a check box on this
> worksheet  I want Excel to popup a message saying "Please  Fill the
> Related Entities Spreadsheet, thanks"  & that it. I was thinking of a
> macro  that could do this.
> 
> thanks in advance,
> 
> Dave
> 
> > 




--~--~---------~--~----~------------~-------~--~----~
----------------------------------------------------------------------------------
Some important links for excel users:
1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at 
http://www.excelitems.com
2. Excel tutorials at http://www.excel-macros.blogspot.com
3. Learn VBA Macros at http://www.vbamacros.blogspot.com
4. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 

To post to this group, send email to excel-macros@googlegroups.com
If you find any spam message in the group, please send an email to:
Ayush Jain  @ jainayus...@gmail.com or
Ashish Jain @ 26may.1...@gmail.com
<><><><><><><><><><><><><><><><><><><><><><>
HELP US GROW !!

We reach over 5,000 subscribers worldwide and receive many nice notes about the 
learning and support from the group. Our goal is to have 10,000 subscribers by 
the end of 2009. Let friends and co-workers know they can subscribe to group at 
http://groups.google.com/group/excel-macros/subscribe
-~----------~----~----~----~------~----~------~--~---

Reply via email to