Hi and thanks for reading my post!
My situation is during editing/writing text in word. No forms or objects. Just text.
I have a series of macros I need to assign to several (alt+key)s. But since the macros are very similar I would like to do something nicer. I would like to have one macro assigned to all these (alt+key)s and inside the macro read what key aside from alt is being pressed and then run the right part of the code.
The problem obviously is I don't think I can read the keycode outside a form or an object.
Anybody smarter than me out there please?
Best regards,
Pavel
My situation is during editing/writing text in word. No forms or objects. Just text.
I have a series of macros I need to assign to several (alt+key)s. But since the macros are very similar I would like to do something nicer. I would like to have one macro assigned to all these (alt+key)s and inside the macro read what key aside from alt is being pressed and then run the right part of the code.
The problem obviously is I don't think I can read the keycode outside a form or an object.
Anybody smarter than me out there please?
Best regards,
Pavel