
ExcelVBA窗体三个文字框textbox1、textbox2、textbox3,textbox3的数值=textbox2*textbox3,编码怎么写?
1个回答
展开全部
在textbox2的代码区写入:
Private Sub TextBox2_Change()
TextBox3.Value = TextBox2.Value * TextBox1.Value
End Sub
Private Sub TextBox2_Change()
TextBox3.Value = TextBox2.Value * TextBox1.Value
End Sub
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询