PC Review Forums Newsgroups Microsoft Excel Microsoft Excel Discussion Disable hotkeys

Reply

Disable hotkeys

 
Thread Tools Rate Thread
Old 20-12-2004, 11:51 AM   #1
=?Utf-8?B?U2hlcmlmZg==?=
Guest
 
Posts: n/a
Default Disable hotkeys


Hello haw I disable the hotkeys in Excel 2002 or customize it.

Thanks a lot.
  Reply With Quote
Old 20-12-2004, 03:43 PM   #2
Dave Peterson
Guest
 
Posts: n/a
Default Re: Disable hotkeys

You could use a small macro.

For example, this disables the F1 (help) key:

Option Explicit
Sub disableF1()
Application.OnKey "{f1}", ""
End Sub

And this would toggle it back to normal.

Sub enableF1()
Application.OnKey "{f1}"
End Sub

If you look at sendkeys in VBA's help, you'll see how to override special keys.
(Like ctrl-c for copy.)




Sheriff wrote:
>
> Hello haw I disable the hotkeys in Excel 2002 or customize it.
>
> Thanks a lot.


--

Dave Peterson
  Reply With Quote
Old 21-12-2004, 07:53 AM   #3
=?Utf-8?B?U2hlcmlmZg==?=
Guest
 
Posts: n/a
Default Re: Disable hotkeys

Thanks a lot.

"Dave Peterson" wrote:

> You could use a small macro.
>
> For example, this disables the F1 (help) key:
>
> Option Explicit
> Sub disableF1()
> Application.OnKey "{f1}", ""
> End Sub
>
> And this would toggle it back to normal.
>
> Sub enableF1()
> Application.OnKey "{f1}"
> End Sub
>
> If you look at sendkeys in VBA's help, you'll see how to override special keys.
> (Like ctrl-c for copy.)
>
>
>
>
> Sheriff wrote:
> >
> > Hello haw I disable the hotkeys in Excel 2002 or customize it.
> >
> > Thanks a lot.

>
> --
>
> Dave Peterson
>

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off