#1   Report Post  
kizzie
 
Posts: n/a
Default run macro on return


Hello,

Is it possible to run a macro every time the return button is hit?
Maybe it's possible to run a script working on the column in which the
return was given?


thanks in advance,
Kizzie


--
kizzie
------------------------------------------------------------------------
kizzie's Profile: http://www.excelforum.com/member.php...o&userid=26092
View this thread: http://www.excelforum.com/showthread...hreadid=394610

  #2   Report Post  
Earl Kiosterud
 
Posts: n/a
Default

Kizzie,

If you mean the Enter key after keying data into a cell, the
Worksheet_Change event will fire. You can put your macro code in there, or
call your macro from there. This doesn't apply to pressing Enter in other
situations, like in dialog boxes, menu bar commands, etc. The Alt-Enter
combination is used to put a new-line inside a cell, but it won't fire a
macro.
--
Earl Kiosterud
www.smokeylake.com

"kizzie" wrote in
message ...

Hello,

Is it possible to run a macro every time the return button is hit?
Maybe it's possible to run a script working on the column in which the
return was given?


thanks in advance,
Kizzie


--
kizzie
------------------------------------------------------------------------
kizzie's Profile:
http://www.excelforum.com/member.php...o&userid=26092
View this thread: http://www.excelforum.com/showthread...hreadid=394610



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 with F9 Kenny Excel Discussion (Misc queries) 1 August 3rd 05 02:41 PM
Help with macro looping and color query function kevinm Excel Discussion (Misc queries) 10 May 26th 05 01:25 AM
How do I create a macro to return drop down boxes to first item i. gaalseth Excel Discussion (Misc queries) 1 April 13th 05 09:09 PM
Playing a macro from another workbook Jim Excel Discussion (Misc queries) 1 February 23rd 05 10:12 PM
Date macro Hiking Excel Discussion (Misc queries) 9 February 3rd 05 12:40 AM


All times are GMT +1. The time now is 01:32 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"