Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi all,
See code below. How do I add a command that performs not only a calculation on activecell.offset(0,1), which is in this case B1, but also calculates C1 through to K1?! Sub Zoek_Ban1() Range("A1").Select Do While ActiveCell.Value < Empty If ActiveCell.Offset(0, 0).Value 23 Then ActiveCell.Offset(0, 1).Value = (ActiveCell.Offset(0, 1).Value / 100) * 0.75 ElseIf ActiveCell.Offset(0, 0).Value < 23 Then ActiveCell.Offset(0, 1).Value = ActiveCell.Offset(0, 1).Value + 13.08 End If ActiveCell.Offset(1, 0).Select Loop End Sub Regards, Basta1980 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
SumIf - when I fill down the Range, Criteria & sum range changes | Excel Worksheet Functions | |||
Fill Range With A Value | Excel Worksheet Functions | |||
How to fill a range with data from another range? | Excel Discussion (Misc queries) | |||
Range doesn't fill | Excel Programming | |||
Fill down range | Excel Programming |