Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calling a Macro just with the enter key.

Status
Not open for further replies.

claudiodeviaje

Mechanical
Jun 19, 2005
45
hi there...

I'm making a small VB macro in Excel und I need some help.

Is it possible to call a macro when the cursor is in Cell x,y and the ENTER key is pressed?

If the cursor is in another cell, the enter key should work normally.

Thank you!

claudio
 
Replies continue below

Recommended for you

You can set up a Worksheet_Change or Worksheet_SelectionChange event macro, and see if it suits your needs.

Cheers,
Joerd

Please see FAQ731-376 for tips on how to make the best use of Eng-Tips.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor