如果(output> 0){
警报(“应纳税” +产出+”人民币个人所得税金额“ +” \ n \ n” +”依法征税是每个公民的责任!“); {
用不着VBA,给个公式(A1为工资):
=IF(A1-3500<=0,0,IF(A1-3500<=1500,(A1-3500)*0.03,IF(A1-3500<=4500,(A1-3500)*0.1-105,IF(A1-3500<=9000,(A1-3500)*0.2-555,IF(A1-3500<=35000,(A1-3500)*0.25-1005,IF(A1-3500<=55000,(A1-3500)*0.3-2755,IF(A1-3500<=80000,(A1-3500)*0.35-5505,IF(A1-3500>80000,(A1-3500)*0.45-13505,0))))))))
请输入数据:<input id =“ zgz” name =“ zgz” onfocus =“ s();”