I have the following code which centers user forms on their screen, i have this in every module (with a different form name of course), but would like to simlyfy it into a global module and just call it from each form when it initialises.
I was thinking something along the lines of storing the form name as a varaible (strFrmName) and then using code as such :![]()
Please Login or Register to view this content.
But its not working. I have also tried the below with no luck. Icannot find anythin online about this either:![]()
Please Login or Register to view this content.
![]()
Please Login or Register to view this content.
Bookmarks