
Can VBA intercept keypress within Excel ?
I assume you mean in the VBE?
Stephen Bullen has sample code that does that:
http://www.BMSLtd.co.uk/Excel/default.htm
If you just mean in Excel, look at the Onkey command.
Regards,
Tom Ogilvy
Quote:
> Has anyone be able to find a method to intercept a key that has been
pressed
> within Excel VBA? All I want is to intercept whether a user has pressed F5
> button (not as part of a textbox control).
> Oscar