Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Weird Shortcut Key Problem.

I developed an Excel Addin over the last several years (requirements
creep). It has about 10 shortcut keys. The shortcut keys have worked
in Excel 2000 and Excel 2003. Currently all users of the app use
Excel 2003. The app I have has grown in size over the years. It has
about 18,000 lines of code now. With this latest edition the shortcut
keys stopped working. The recent addition has nothing to do with the
shortcut keys. The shortcut keys remain the same value as Excel sets
them. For example Cntl-i stays as change Italics state. I single step
through the code and it executes and no error occurs. It appears to be
related to some memory limit in Excel. I get no errors that there is a
memory problem. I looked for someway to determine what the Shortcut
key was set to but I could not find a way to do this.

Example setting of Shortcut key. ShortCutGradeAll is a VBA subroutine.


Application.MacroOptions Macro:="ShortCutGradeAll", _
HasShortcutKey:=True, ShortcutKey:="G"

Questions:

1. Is there a way to read what the Shortcut key is set to? I could not
find one.
2. I would like to track down any memory related issues with the addin.
Any recommendations.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Weird Shortcut Key Problem.

Try using Excel.Application.OnKey instead?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Weird Shortcut Key Problem.

It works. Did not know to look for this function...thanks.

I am still a little concerned why the other way stopped working.

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
weird problem WarrenK Setting up and Configuration of Excel 0 June 5th 09 05:46 PM
Weird problem Sue Excel Worksheet Functions 2 November 29th 05 12:10 PM
Weird Problem Patrick Excel Worksheet Functions 4 March 28th 05 02:29 AM
Weird problem! Mark Thorpe Excel Programming 0 June 24th 04 08:40 PM
Weird VBA problem Bob[_55_] Excel Programming 3 May 12th 04 11:39 PM


All times are GMT +1. The time now is 02:08 PM.

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"