Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
can anyone advice me on the below scenerio?
eg. a * b = c In cell A1, I input value a. I need to get c in cell A5. But b can only be input in cell A5 too. Meaning when I key in b in cell A5, automatic c will appears in cell A5. Is there a way to do in excel? Please advice. Thanks. |
#2
![]() |
|||
|
|||
![]()
You can't have both a manually entered constant and a formula in the
same cell. However you can do this with an event macro. Put this in your worksheet code module (right-click the worksheet tab and choose View Code): Private Sub Worksheet_Change(ByVal Target As Excel.Range) With Target If .Count 1 Then Exit Sub If .Address(False, False) = "A5" Then Application.EnableEvents = False .Value = .Value * Range("A1").Value Application.EnableEvents = True End If End With End Sub In article , "JCLim" wrote: can anyone advice me on the below scenerio? eg. a * b = c In cell A1, I input value a. I need to get c in cell A5. But b can only be input in cell A5 too. Meaning when I key in b in cell A5, automatic c will appears in cell A5. Is there a way to do in excel? Please advice. Thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? | Excel Discussion (Misc queries) | |||
Excel Range Value issue (Excel 97 Vs Excel 2003) | Excel Discussion (Misc queries) | |||
Difference in number of Excel NewsGroups | Excel Discussion (Misc queries) | |||
time calculation excel | Excel Worksheet Functions | |||
Excel - Time calculation | Excel Discussion (Misc queries) |