Hi there,
I have another small issue with a userform that I cannot seem to solve. I have a userform that opens in two different ways.
1. Initial opening the form is empty and you fill in all fields required. When you do this the .TextAlign center works correctly:
Userform.jpg
2. On other occasions the userform is pre filled with previously entered data on initialisation and this occurs:
userform1.jpg
When I click in the textbox on the userform the number in the textbox snaps back to center but initially, and without clicking in the box, the number is aligned to the right and partially obscured.
Its not a big issue but it is annoying and I cannot seem to correct the issue. All the relevant textboxes have TextAlign properties set to center:
Textalign.jpg
and I also run this code on initialisation of the userform:
Any suggestions on how to solve this one?Please Login or Register to view this content.
Cheers,
Marcus
Bookmarks