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  
PeterAtherton
 
Posts: n/a
Default

Karl

You have to use VB

Copy this macro into a module. Press Alt + F11,Insert, Module and then paste
the code

Sub Incr()
Dim c
For Each c In Selection
c.Value = c + 1
Next
End Sub

Press Alt+F8 select the macro and choose OPtions and you can assign a short
cut key to run the macro

Regards
Peter

"Karl H" wrote:

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
Formulas in source data Ken Charts and Charting in Excel 3 December 1st 04 05:43 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 09:38 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"