Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm trying to write some VBA code that will add formulas to specific rows in
an excel spreadsheet. The formulas will be determined by a code in a seperate column. For example, current location is a cell in column "H": If the value in column "D" = 2 then sum all conitiguos cells above (akin to clicking on the summation symbol) and copy the formula to the last column to the right that has values then move down one row and repeat. If the value in column "D" = 4 then subtract the value one row above from the value two rows above and copy the formula to the last column to the right that has values then move down one row and repeat If the value in column "D" = 6 then Go to Home EndIf EndIf EndIf Any suggestions...? Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro/VB coding question | Excel Discussion (Misc queries) | |||
Message Box Coding question | Excel Programming | |||
Coding question | Excel Programming | |||
Coding best practice question | Excel Programming | |||
coding question | Excel Programming |