Hi,
In excel vba, I have a userform with a typical OK command button to which I dynamically add (from left to right) several textboxes. When the number of textboxes are such that their total width is superior to the width of the form, I activate the form's horizontal scroll bar and set the ScrollWidth so the textboxs can all be visible and/or accessed by the user using the horizontal scroll bar at the bottom of the userform. My only problem is that the OK command button also moves when I use the scroll bar.
Is there any technics I could use, vba or otherwise, to freeze the command button position to a specific position on the userform while the user use the horizontal scrollbar ?
Thank You very much for your help
Sylvain
Bookmarks