Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default ** Macro to auto-increment a cell using arrow keys?

Hi,

I need to create a macro that can be used to increment/decrement the
numeric contents of a cell based on repeatedly pressing the up or down
arrows. Each key press would modify the cell by a standard increment.
Up arrow would increase it and Down arrow woud decrease it.


Can anyone suggest an approach and perhaps a code example? I am not
very versed in VBA programming.


Thanks,
Jack


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default ** Macro to auto-increment a cell using arrow keys?

how about using a spinner or spinbutton control. That is what they are
designed for.

--
Regards,
Tom Ogilvy


"Jack" wrote:

Hi,

I need to create a macro that can be used to increment/decrement the
numeric contents of a cell based on repeatedly pressing the up or down
arrows. Each key press would modify the cell by a standard increment.
Up arrow would increase it and Down arrow woud decrease it.


Can anyone suggest an approach and perhaps a code example? I am not
very versed in VBA programming.


Thanks,
Jack



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default ** Macro to auto-increment a cell using arrow keys?

You are sooo right. As I tell my less technical folks than me....RTFM.

Read the F.....g Manual and I should have taken my own advice.

Thanks,
Jack

Tom Ogilvy wrote:
how about using a spinner or spinbutton control. That is what they are
designed for.

--
Regards,
Tom Ogilvy


"Jack" wrote:

Hi,

I need to create a macro that can be used to increment/decrement the
numeric contents of a cell based on repeatedly pressing the up or down
arrows. Each key press would modify the cell by a standard increment.
Up arrow would increase it and Down arrow woud decrease it.


Can anyone suggest an approach and perhaps a code example? I am not
very versed in VBA programming.


Thanks,
Jack




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
How do i make the arrow keys tab to the next cell? Nadine Excel Discussion (Misc queries) 1 July 26th 09 01:48 AM
Using Arrow keys in a macro Kevryl Excel Programming 3 May 7th 06 03:47 PM
Arrow keys to move cell Richard Excel Discussion (Misc queries) 2 May 1st 06 10:22 AM
how to use shift and down arrow keys in a macro? John W Excel Worksheet Functions 1 July 31st 05 01:21 AM
macro equivalent to arrow keys Jim Robinson[_2_] Excel Programming 7 July 13th 05 04:09 PM


All times are GMT +1. The time now is 04:38 PM.

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"