PC Review


Reply
Thread Tools Rate Thread

Can I add 1 # to an existing # in a cell?

 
 
=?Utf-8?B?U3VzYW4=?=
Guest
Posts: n/a
 
      18th Sep 2007
I would like to automatically add one number to an existing number each time
I open that document. (i.e. 5329 to 5330) in the same cell.
 
Reply With Quote
 
 
 
 
Chip Pearson
Guest
Posts: n/a
 
      18th Sep 2007
Create a procedure named Auto_Open.

Sub Auto_Open()
With ThisWorkbook.Worksheets("Sheet1").Range("A1")
.Value = .Value + 1 ' note leading periods
End With
End Sub

--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting
www.cpearson.com
(email on the web site)

"Susan" <(E-Mail Removed)> wrote in message
news:459DFC87-8F5B-455C-9303-(E-Mail Removed)...
>I would like to automatically add one number to an existing number each
>time
> I open that document. (i.e. 5329 to 5330) in the same cell.


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing the cell format doesn't change existing cell content Kate Microsoft Excel Misc 2 14th Jan 2010 04:44 PM
Add 10% to the existing value in a cell LOOKIN FOR FORMULAS Microsoft Excel Misc 6 4th Dec 2007 09:22 PM
Add Cell range based on color of cell to existing formula =?Utf-8?B?SnVsIGluIE9oaW8=?= Microsoft Excel Programming 2 30th Jul 2007 02:18 PM
FormulaArray with existing cell Michael Singmin Microsoft Excel Programming 4 6th Mar 2004 03:56 PM
Add value to existing cell value Peter Microsoft Excel Programming 2 11th Feb 2004 03:24 PM


Features
 

Advertising
 

Newsgroups
 


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