Re: about check boxes
- From: "Rick Rothstein \(MVP - VB\)" <rickNOSPAMnews@xxxxxxxxxxxxxxxxx>
- Date: Mon, 24 Dec 2007 16:07:08 -0500
Your Click event code can be shortened to this...
Private Sub CheckBox1_Click()
Columns("D").Hidden = CheckBox1.Value
End Sub
Rick
"Joel" <Joel@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:FC65BE06-0D42-4BF7-B106-B87C20A5F910@xxxxxxxxxxxxxxxx
Private Sub CheckBox1_Click()
If CheckBox1.Value = True Then
Columns("D").Hidden = True
Else
Columns("D").Hidden = False
End If
End Sub
"pmss" wrote:
Can you please write me a micro code that will help me to do so. I am not
expert on using macros.
"Joel" wrote:
> If you go into design mode and double click the check box it will > create a
> click macro. Put macro code into the click code to make the cells > appear or
> disappear.
>
> "pmss" wrote:
>
> > Thanks
> > Actually i need to have some cells appear when i checked the box so > > that i
> > can put my values in the appeared cell.
> >
> > "pmss" wrote:
> >
> > > i am doing some calculations using Macros. I have problem with > > > check boxes. I
> > > want to link with some cells so that i can put my input parameters > > > there for
> > > futher calculation. when i checked the box, link cells must appear > > > and
> > > viceversa.
> > > Thanks
.
- Prev by Date: Re: Saving a file every fifteen minutes
- Next by Date: Re: OPENFILENAME A P I. User cancels ?
- Previous by thread: RE: about check boxes
- Next by thread: macros... again
- Index(es):
Relevant Pages
|