Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I've inserted a button (formsbutton) on to one work
sheet of many sheets and want to make the button visible if one range name ="xxxx" and another range name ="yyyy" is this possible and if so how is it done? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
One way:
Private Sub Worksheet_Change(ByVal Target As Excel.Range) With Target If .Count 1 Then Exit Sub If Not Intersect(.Cells, Range("A1,J1")) Is Nothing Then Me.Buttons("Button 1").Visible = _ Range("A1").Value = "xxxx" And Range("J1").Value = "yyyy" End If End With End Sub In article , "Wayne" wrote: I've inserted a button (formsbutton) on to one work sheet of many sheets and want to make the button visible if one range name ="xxxx" and another range name ="yyyy" is this possible and if so how is it done? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
drop-down button to remain visible | Excel Discussion (Misc queries) | |||
Command Button Always Visible in window | Excel Discussion (Misc queries) | |||
how do I keep the dropdown list button visible continuously | Excel Worksheet Functions | |||
Make Command Button visible only in .xlt? | Excel Programming | |||
how to keep the button visible always in the screen, thanks | Excel Programming |