+ Reply to Thread
Results 1 to 2 of 2

Can you hide a spinner???

  1. #1
    shnim1
    Guest

    Can you hide a spinner???


    Hi

    I need to have a spinner control disappear until activated by another
    value in a cell. I was wondering weather this could be done via
    conditional formatting?, or that there needs to be an additional
    function. Thanks for help and advice

    THANKS


    --
    shnim1

  2. #2
    Gary L Brown
    Guest

    RE: Can you hide a spinner???

    In the worksheet module where the spin button is located, put something like...

    Private Sub Worksheet_SelectionChange(ByVal Target As Range)
    'Condition when SpinButton1 should be visible
    If Range("C2") = 5 Then
    SpinButton1.Visible = True
    Else
    SpinButton1.Visible = False
    End If
    End Sub

    This could also go in ...
    Private Sub Worksheet_Calculate()
    Private Sub Worksheet_Activate()
    or
    Private Sub Worksheet_Change(ByVal Target As Range)

    HTH,
    --
    Gary Brown
    gary_brown@ge_NOSPAM.com
    If this post was helpful, please click the ''Yes'' button next to ''Was this
    Post Helpfull to you?''.


    "shnim1" wrote:

    >
    > Hi
    >
    > I need to have a spinner control disappear until activated by another
    > value in a cell. I was wondering weather this could be done via
    > conditional formatting?, or that there needs to be an additional
    > function. Thanks for help and advice
    >
    > THANKS
    >
    >
    > --
    > shnim1
    >


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1