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

Hi

Is it possible to start a procedure running whenever enter is hit on a
particular worksheet cell? Obviously I can react to a double click through
the worksheet double click event but is there a "on key" event equivalent?

Thanks

Charlie


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Responding to Enter Key

You can do this,

Sub SetEnter()
Application.OnKey "~", "mymacro"
End Sub

Sub ClearEnter()
Application.OnKey "~"
End Sub

Regards,
Tom Ogilvy


"Don Guillett" wrote in message
...
use the worksheet_change event
if target.address < "$A:$1" then exit sub
call my procedure

--
Don Guillett
SalesAid Software
Granite Shoals, TX

"Charlie" wrote in message
...
Hi

Is it possible to start a procedure running whenever enter is hit on a
particular worksheet cell? Obviously I can react to a double click

through
the worksheet double click event but is there a "on key" event

equivalent?

Thanks

Charlie






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
Excel Not Responding jeri Excel Discussion (Misc queries) 1 March 14th 10 06:01 AM
Not responding...... Steve Excel Worksheet Functions 0 November 23rd 09 10:25 PM
why does it say not responding genyjoL New Users to Excel 2 October 22nd 09 05:13 AM
excel not responding Bob Excel Discussion (Misc queries) 2 July 29th 06 01:45 PM
Excel is not responding. Rei New Users to Excel 2 April 23rd 06 05:15 AM


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