Hi Kevin,
Thank you so much!
Cru
"Kevin B" wrote:
> Press Alt + F11 to open the Visual Basic Editor. In the project window,
> under MICROSOFT EXCEL OBJECTS double click the workseet that has the command
> buttons.
>
> In the worksheet module add the following event code:
>
> Private Sub Worksheet_SelectionChange(ByVal Target As Range)
>
> If Range("D18").Value = "Yes" Then
> Me.CommandButton2.Visible = True
> Else
> Me.CommandButton2.Visible = False
> End If
>
> End Sub
> --
> Kevin Backmann
>
>
> "cru" wrote:
>
> > Any assistance is appreciated!
> >
> > I need a code which will make the commandbutton2 visible if cell "d18" is YES.
> >
> > Any ideas?
> >
|