LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Running Totals

Using the following I was able to create a running total column for th
specified cell.

Private Sub Worksheet_Change(ByVal Target As Excel.Range)
On Error GoTo stoppit
If Target.Address = "$A$2" And Target.Value < "" Then
ActiveSheet.Cells(Rows.Count, 2).End(xlUp) _
.Offset(1, 0).Value = Target.Value
End If
stoppit:
End Sub

How would I edit this to have a seperate column for each cell in colum
A, say cells A2:A52 (i.e. cell A2 would be displayed in column B, cel
A3 would be displayed in column C, cell A4 would be displayed in colum
D, etc...)? Pleae help.

Thanks,

Jef

--
Message posted from http://www.ExcelForum.com

 
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
running totals DCOOPER Excel Worksheet Functions 1 June 20th 08 06:48 PM
need help with running totals chusu Excel Worksheet Functions 1 September 26th 07 11:11 AM
Running Totals MAC Man Excel Discussion (Misc queries) 5 November 8th 06 08:41 PM
running totals [email protected] Excel Discussion (Misc queries) 4 April 22nd 06 04:25 PM
Running Totals [email protected] Excel Worksheet Functions 0 February 10th 06 07:59 PM


All times are GMT +1. The time now is 03:37 AM.

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"