Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Using macro recorder increment cell by one?

How do I increment a cell content by one using the Macro Recorder? That is 1
becomes 1+1=2, becomes 1+1+1=3. Each time the macro is run it increments the
existing value by 1.
Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Using macro recorder increment cell by one?

Select a cell and run:

Sub BumpIt()
With ActiveCell
..Value = .Value + 1
End With
End Sub
--
Gary''s Student - gsnu200841


"Student2" wrote:

How do I increment a cell content by one using the Macro Recorder? That is 1
becomes 1+1=2, becomes 1+1+1=3. Each time the macro is run it increments the
existing value by 1.
Thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Using macro recorder increment cell by one?

Stick a Spin Button on your sheet.

Control Toolbox or Forms Toolbar.


Gord Dibben MS Excel MVP

On Tue, 24 Mar 2009 14:10:06 -0700, Student2
wrote:

How do I increment a cell content by one using the Macro Recorder? That is 1
becomes 1+1=2, becomes 1+1+1=3. Each time the macro is run it increments the
existing value by 1.
Thanks


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Using macro recorder increment cell by one?

Thanks - easy to set up and works great!

"Gord Dibben" wrote:

Stick a Spin Button on your sheet.

Control Toolbox or Forms Toolbar.


Gord Dibben MS Excel MVP

On Tue, 24 Mar 2009 14:10:06 -0700, Student2
wrote:

How do I increment a cell content by one using the Macro Recorder? That is 1
becomes 1+1=2, becomes 1+1+1=3. Each time the macro is run it increments the
existing value by 1.
Thanks



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Using macro recorder increment cell by one?

What is the procedure for entering this language and being able to run it?
Sorry, this is new territory for me.

"Gary''s Student" wrote:

Select a cell and run:

Sub BumpIt()
With ActiveCell
.Value = .Value + 1
End With
End Sub
--
Gary''s Student - gsnu200841


"Student2" wrote:

How do I increment a cell content by one using the Macro Recorder? That is 1
becomes 1+1=2, becomes 1+1+1=3. Each time the macro is run it increments the
existing value by 1.
Thanks

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
macro recorder and formulas Dave F Excel Discussion (Misc queries) 2 March 19th 07 02:43 PM
My excel macro recorder no longer shows up when recording macro jack Excel Discussion (Misc queries) 1 February 5th 07 09:31 PM
My excel macro recorder no longer shows up when recording macro jack Excel Discussion (Misc queries) 3 February 5th 07 08:22 PM
Macro recorder Fossil_Rock Excel Discussion (Misc queries) 1 July 30th 05 08:10 PM
Change result of Macro Recorder Jim May Excel Discussion (Misc queries) 3 May 21st 05 01:58 PM


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