Giangi said:
I would like to use, in a user form, functional buttons (i.e.: F1; F2; etc)
for some events : it's any way to realize this?
There are a couple ways to do that. The easiest is to use a
AutoKeys macro. Generally, it's a good idea to set the
macri's action to RunCode so it immediately jumps to a VBA
procedure. This approach has global scope so you would need
to use code in the procedure to restrict the actions to a
single form.
A different approach that applies to a specific for is to
set the form's KeyPreview to Yes. This allows you to
intercept keystrokes using the form's KeyDown event. This
approach is general to all keystrokes so you'll have to use
code to select which keys you want to process and which ones
should be passed on to the active control.
Check all this in VBA Help and then set up a dummy test form
to explore these capabilities in detail.