Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
i need help with excel 2003 where i need to use a cell as an input box to
where i enter a number then press enter and it will keep a running total in a different cell. Can anyone help with the correct formula. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You can do this with VB. Right click on the sheet tab | click View Code |
Paste the following code there Private Sub Worksheet_Change(ByVal Target As Excel.Range) With Target If .Address(False, False) = "A1" Then If IsNumeric(.Value) Then Application.EnableEvents = False Range("B1").Value = Range("B1").Value + .Value Application.EnableEvents = True End If End If End With End Sub As per this code, A1 is the input cell and B1 is the cell that will keep the running total. Hope this helps. Thanks "DAbner" wrote in message ... i need help with excel 2003 where i need to use a cell as an input box to where i enter a number then press enter and it will keep a running total in a different cell. Can anyone help with the correct formula. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2003 attachments open and show only empty cells when openedvia Outlook 2003? | Excel Discussion (Misc queries) | |||
Convert Excel 2003 spreadsheet into Outlook Contacts table 2003 | Excel Discussion (Misc queries) | |||
import Excel 2003 file into Outlook 2003 - NO NAMED RANGES?? | Excel Discussion (Misc queries) | |||
Copying Excel 2003 Selection into Outlook 2003 HTML E-Mail Message | Excel Discussion (Misc queries) | |||
Excel 2003 Database Driver Visual FoxPro 7 on Server 2003. | Excel Discussion (Misc queries) |