Results 1 to 43 of 43

Scroll Bar and Current Value. Min and Max Values

Threaded View

  1. #8
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,482

    Re: Scroll Bar and Current Value. Min and Max Values

    I added a table of values with corresponding min/max.
    The resulting min/max values are in to named ranges.

    when C7 changes the code should update the scroller.

    Private Sub Worksheet_Change(ByVal Target As Range)
    
        If Target.Cells.Count = 1 Then
            If Not Intersect(Target, Range("C7")) Is Nothing Then
            
                With Target.Parent.Shapes("Scroll Bar 2").ControlFormat
                    .Min = [SCROLL_MIN]
                    .Max = [SCROLL_MAX]
                End With
                
            End If
        End If
    End Sub
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Set PivotTable Filter to Current Day, Current Week, Current Month, or Current Year
    By EnigmaMatter in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-30-2014, 08:31 AM
  2. [SOLVED] copy and paste in current active cell, and need current date then scroll down 140 lines
    By vengatvj in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-04-2013, 03:40 AM
  3. [SOLVED] Frozen panes, using macro to add entries. want the sheet to scroll to the current row.
    By emilyloz in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 07-12-2013, 11:15 AM
  4. Scroll bar (Form Control) - Resetting the scroll bar to particular values
    By Vishb in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-29-2011, 04:10 AM
  5. scroll along row looking for values?
    By newdude in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-27-2007, 01:26 AM
  6. Replies: 1
    Last Post: 04-18-2006, 11:40 AM
  7. Replacing Linked Cell Values w/ Current Values
    By TomCat in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-10-2006, 07:25 AM

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