Hi Jaafar Tribak,
thank you very much for your work on this code!
I've startet with VBA some weeks ago and want to use your code in a scrollable calendar. The calendar has many command buttons and labels to hide the edges of the command buttons. Some seconds your code works well, but then, by moving the mouse, there's an error occuring, saying "Run Time Error 13, Type Mismatch". (It's a translation, I don't know the english version of this error, I'm from Germany.
Can my many Controls on my Userform be the cause for the error or may it also be my used version of excel (from office 365)?
As you told in your earlier posts, this code works every time with mouseMove, even if the mouse is hovering a control.
The marked line, when the error occurs, is the UserForm_MouseMove - Event.
Does your code ignore invisible labels and command buttons, too?
Does your code have problems with already used MouseMove events, e.g. on my Command-Buttons for a "hover"-effect?
I do NOT use a userform_mousemove event, only for groups of buttons.
Thank you for your answer!
charles