Public Initializeted_InfoForm1 As Boolean It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.
Please remember to 'Mark as Answer' the responses that resolved your issue. Private Declare Function DrawMenuBar Lib 'User32' ( _ Private Declare Function SetWindowLong Lib 'User32' _Īlias 'SetWindowLongA' (ByVal hwnd As Long, _ Private Declare Function GetWindowLong Lib 'User32' _ Private Declare Function FindWindow Lib 'User32' _ I think you can achieve your goal by the module as followed.Ĭode in Form: Private Sub UserForm_Initialize()