Results 1 to 2 of 2
  1. #1
    3 Star Lounger
    Join Date
    Apr 2002
    Location
    Texas, USA
    Posts
    208
    Thanks
    0
    Thanked 1 Time in 1 Post

    Macro Options Error (2002)

    I have an xla that upon loading adds a menu item via ToolsMenu.Controls.Add(). For some reason the following line of code that executes after the menu item is added fails with a 1004 run-time err msg on some computers .

    Application.MacroOptions Macro:="DisplayXLAPath", HasShortCutKey:=True, ShortCutKey:="C"

    Any thoughts as to why this might happen?

    Thanks
    Ed

  2. #2
    Platinum Lounger
    Join Date
    Nov 2001
    Location
    Vienna, Wien, Austria
    Posts
    5,009
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Macro Options Error (2002)

    Are all machines running Office XP? HasShortcutKey doesn't appear in Excel 2000.
    Gre

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •