Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 226
Default Disabling Shortcuts And Keys

is there an easy way of disabling all shortcut combinations as well as all
the keys on the keyboard. I am aware of Application.interactive. I need the
user to be able to click various buttons on the worksheet as well as type
text and numbers in a userform. Apart from that, how do I turn off/disable
everything else. I have been using application.onkey - loads of code. Is
there an easier more efficient way.
--
Roger
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,290
Default Disabling Shortcuts And Keys

Roger,
Why not add a series of option/checkbox buttons to the userform
and delete all of your onkey code?
A userform optionbutton can call a macro...

Private Sub OptionButton1_Click()
Call MyMacroToDoStuff
End Sub
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware



"Roger"
wrote in message
is there an easy way of disabling all shortcut combinations as well as all
the keys on the keyboard. I am aware of Application.interactive. I need the
user to be able to click various buttons on the worksheet as well as type
text and numbers in a userform. Apart from that, how do I turn off/disable
everything else. I have been using application.onkey - loads of code. Is
there an easier more efficient way.
--
Roger
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Disabling the Key board shortcuts rags Excel Programming 1 April 12th 06 04:11 PM
Keyboard Shortcuts combinations of function keys, c... FJM Excel Worksheet Functions 1 January 17th 05 11:35 PM
Disabling Keys Rich Cooper Excel Programming 1 May 14th 04 01:18 AM
Disabling Ctrl, ALT keys turk5555[_4_] Excel Programming 3 December 19th 03 10:52 AM
Shortcuts keys sometimes don't work Tom Adams Excel Programming 0 October 2nd 03 06:41 PM


All times are GMT +1. The time now is 02:34 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"