Consulting

Results 1 to 3 of 3

Thread: Solved: scrollbar zoom

  1. #1

    Solved: scrollbar zoom

    i have this code in a userform scroll bar that adjust the zoom. When I display the userform, how can I display the sliding bar to the correct position relative to the screen zoom?

    for example, if the screen resolution is 50%, the scroll bar position should be in the middle of the sliding area.

    Private Sub ScrollBar1_Change()
    With ActiveWindow
    .Zoom = ScrollBar1.Value
    Zoom = .Zoom & "%"
    End With
    End Sub

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    I showed you that in your last post on this topic.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    XLD,

    Disregard...I missed it. Thanks
    Last edited by av8tordude; 08-21-2011 at 12:22 PM.

Posting Permissions

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