Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I want to use code to calculate a predetermined value depending upon the
result of an experiment I would put the result in Column A and would want the predetermined value to appear in the same row in Column B I would want to do this with multiple columns so I would not want to hard code the column name Can this be done? Private Sub Column A cell_AfterUpdate() Select Column A cell Case 5 Column B cell = 5 Case 4 Column B cell = 4.4 Case 3 Column B cell = 3.4 Case 2 Column B cell = 2 Case 1 Column B cell = 1 End Select |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Calculate with code | Excel Discussion (Misc queries) | |||
adding a code to calculate how much time is lost | Excel Discussion (Misc queries) | |||
VBA code to calculate the difference between rows | Excel Programming | |||
VBA code to calculate the difference between rows | Excel Programming | |||
VBA code to calculate the difference between rows | Excel Programming |