LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default Trigger macro with keypress event??

I have an application where data is being collected from a tester and fed to
a PC through the serial port. The application that sits between the serial
port and Excel is called WinWedge. It feeds test data into Excel and then
advances to the next row. The problem is that it assumes the active cell is
in the correct location to start with. I have written a macro to position
the cursor and I tied it to the workbook open event and the worksheet
activate event, but if someone moves the active cell to a different location
after Excel is up, things get all out of place. Is there any way I can have
Excel listen for the "down arrow" character and activate the macro at that
time? Down arrow is the last character WinWedge sends before it starts the
next record.

Here is my macro:

Application.Goto Reference:="R65536C1"
Selection.End(xlUp).Offset(1, 0).Select

Thanks,

-- Carlos --


 
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
keypress event on a userform Peter[_21_] Excel Programming 2 July 11th 05 07:25 PM
Is there a way to Trigger a Macro on a workbook save event Dan Gardner Excel Programming 1 January 19th 05 02:20 AM
Getting KeyPress Event to work Pete Excel Programming 2 November 9th 04 08:25 PM
Keypress Event R Avery Excel Programming 2 August 4th 04 03:51 PM
KeyPress Event Conrado Capistrano Excel Programming 4 September 25th 03 05:27 AM


All times are GMT +1. The time now is 11:39 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"