Hi. Please, I need help with the VBA. How to draw in UserForm? For example, I press a key and a rectangle (or line or circle) appears on the UserForm)
Sorry for my English
Can you explain, please, why do you have such a need?
Practically I do not think it is possible (easily) to draw something directly on the form, but you can trick that drawing on the page, saving the drawing somewhere in your computer, creating a control on the fly (let's say a label) and connect the label.Picture property to the recent saved picture... All that programmatically done.
I think I can show you something in order to understand the trick. Of course if it fills your needs...
I understand what you're saying. It's not exactly, but I'd like to see you do it. Probably have to do as you said. Show an example