Thread: KeyPress Events
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Daniel F Daniel F is offline
external usenet poster
 
Posts: 1
Default KeyPress Events

I am trying to write a function where I can trap that the enter key ha
been pressed. Not on a form, just on a standard sheet.

What I am actually doing is for Word, not excel but it sounds like
lot of intelligent people are on here, so I thought I would give it
try.

When the enter key is pressed, I want to check the formatting style an
then perform some other actions based on that.

I see examples of how to use the Keypress and Keydown functions on
form but not on a plain document.

I am a newbie so forgive me if this is VB/VBA 101.


Thank

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