Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default shortcut macro keys

when u create a macro it gives u an option to have a shortcut key...i
it possible to have the return key as a shortcut

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default shortcut macro keys

Hi
AFAIK not possible with the build-in shortcut assignment

--
Regards
Frank Kabel
Frankfurt, Germany


when u create a macro it gives u an option to have a shortcut

key...is
it possible to have the return key as a shortcut?


---
Message posted from http://www.ExcelForum.com/


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default shortcut macro keys

than

--
Message posted from http://www.ExcelForum.com

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default shortcut macro keys

One way:

Public Sub test()
Application.OnKey "{RETURN}", "MyReturnMacro"
End Sub

Public Sub MyReturnMacro()
MsgBox "You pressed Return"
End Sub

You can put the Application.OnKey call in your Personal.xls
Workbook_Open sub

In article ,
shasta wrote:

when u create a macro it gives u an option to have a shortcut key...is
it possible to have the return key as a shortcut?

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
macro will not run with shortcut keys Doug Excel Worksheet Functions 0 December 4th 09 07:41 PM
macro shortcut keys don't work andr01d Excel Discussion (Misc queries) 1 February 3rd 06 05:40 PM
Macro Shortcut Keys Nicolle K. Excel Discussion (Misc queries) 1 January 6th 05 04:55 PM
Call macro - duplicate shortcut keys John[_64_] Excel Programming 2 January 24th 04 03:42 PM
Macro shortcut keys Diane Garrini Excel Programming 2 July 25th 03 12:29 PM


All times are GMT +1. The time now is 12:08 AM.

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

About Us

"It's about Microsoft Excel"