Use if, ElseIf and Else with ActiveCell : ActiveCell « Excel « VBA / Excel / Access / Word

Use if, ElseIf and Else with ActiveCell : ActiveCell « Excel « VBA / Excel / Access / Word

瀏覽:576
日期:2026-04-24
Use if, ElseIf and Else with ActiveCell : ActiveCell « Excel « VBA / Excel / Access / Word ... Sub MyMacro() If ActiveCell.Value > 1000 Then ActiveCell.Offset(0, 1).Value = ActiveCell.Value * 0.05 ElseIf ActiveCell.Value > 500 Then ActiveCell.Offset ......看更多