Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Karl H
 
Posts: n/a
Default Method to increment value in data field?

It would be helpful while tabulating survey data, to be able to increment a
field value by one-- with the stroke of a "hot key" rather than having to
erase the current value and raise it by one.

Does such a method exist?
  #2   Report Post  
JulieD
 
Posts: n/a
Default

Hi Karl

you can use a macro to do this and assign the macro to a shortcut key
combination.

choose tools / macro / macros
in the white line type a name for the macro (e.g. inc_one)
and click on the create button
you will be taken to the VBE Window and you'll see something along the lines
of
Sub inc_one()

End Sub

in between these two lines type (or copy & paste)

ActiveCell.Value = ActiveCell.Value + 1

close the VBE Window, using the X at the top right.

now go back into tools / macro / macros, click on your macro and choose
options - here you can set up a short cut key combination (e.g. ctrl & shift
& z)
Click OK and then close using the X

now to increment a value by 1, just use your shortcut key combination.

Hope this helps
Cheers
JulieD



"Karl H" wrote in message
...
It would be helpful while tabulating survey data, to be able to increment
a
field value by one-- with the stroke of a "hot key" rather than having to
erase the current value and raise it by one.

Does such a method exist?



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
Help with data not getting plotted Scott Ehrlich Charts and Charting in Excel 1 January 23rd 05 05:15 PM
Charting data ranges that change mikelee101 Charts and Charting in Excel 2 December 16th 04 11:07 PM
Method to increment value in data field? Karl H Excel Discussion (Misc queries) 1 December 4th 04 07:31 PM
Data Table - Does it work with DDE links and stock tickers? Post Tenebras Lux Excel Discussion (Misc queries) 0 December 1st 04 05:15 PM
Extending a Chart Data Series from an Array - Can it be done? Jon Peltier Charts and Charting in Excel 4 November 30th 04 03:30 AM


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