Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
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

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
Which cell was the activecell before a keypress excelent Excel Worksheet Functions 2 May 26th 06 01:45 PM
KeyDown / KeyPress Events Barry Pettis[_2_] Excel Programming 1 February 12th 04 05:09 AM
Keypress nest Garry Jones Excel Programming 4 October 21st 03 02:56 PM
keypress Garry Jones Excel Programming 2 October 17th 03 09:47 AM
KeyPress Event Conrado Capistrano Excel Programming 4 September 25th 03 05:27 AM


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