LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default Visible Button If.....

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?

 
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
drop-down button to remain visible Didier Rousselle Excel Discussion (Misc queries) 1 December 20th 07 08:49 PM
Command Button Always Visible in window avveerkar Excel Discussion (Misc queries) 2 January 11th 06 12:21 PM
how do I keep the dropdown list button visible continuously dfinke Excel Worksheet Functions 2 September 14th 05 10:05 PM
Make Command Button visible only in .xlt? RPIJG[_23_] Excel Programming 2 May 17th 04 07:14 PM
how to keep the button visible always in the screen, thanks Kortrijker Excel Programming 5 March 4th 04 10:54 AM


All times are GMT +1. The time now is 03:36 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"