LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,355
Default Last key stroked before auto macro run

You can identify the last cell that was accessed before the macro was run.
Assign a range to ActiveCell at the beginning of the macro and then select
that range at the end of the macro. You may need to identify the worksheet
using RANGE.Parent if you move between worksheets.

"Khaled" wrote:

Can I know the last stroked key on KB before a macro has been auto run?
This is because i want to direct of move of selection after an auto macro
has been run

 
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
Macro Auto Run(2) Gary Excel Worksheet Functions 4 May 18th 06 09:07 AM
Macro - Auto Run Gary Excel Worksheet Functions 1 May 12th 06 08:29 PM
Auto Filter Macro Snakeoids Excel Discussion (Misc queries) 10 August 24th 05 08:46 PM
macro for auto sum ahemani New Users to Excel 2 July 29th 05 12:53 AM
Auto Run a Macro Pam Coleman Excel Discussion (Misc queries) 2 May 3rd 05 02:58 PM


All times are GMT +1. The time now is 07:41 AM.

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"