Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • 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
Joined
Jun 19, 2005
Messages
45
Location
DE
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
 
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

Back
Top