Prima Satria
New Member
Dear Chandoo,
I have to add both vertical and horizontal scrollbars in a userform, so far I have this code below for horizontal scrollbars only. The question 1, how to make a vertical scrollbar in the same userform?
The second question, how set the position of top scrollbar (vertical) and left scrollbar (horizontal) so it could like a freeze pane?
Thank you
I have to add both vertical and horizontal scrollbars in a userform, so far I have this code below for horizontal scrollbars only. The question 1, how to make a vertical scrollbar in the same userform?
Code:
Private Sub UserForm_Activate()
With Me
.ScrollBars = fmScrollBarsHorizontal
.ScrollWidth = .InsideWidth * 1.5
End With
End Sub
The second question, how set the position of top scrollbar (vertical) and left scrollbar (horizontal) so it could like a freeze pane?
Thank you