如何从用户表格返回公式
我正在尝试使用CommandBotton1在TextBox1 X TextBox2中乘以值,因此,如果TextBox1 = 3 and TextBox2 = 2.5 我想将结果视为公式,包括来自textbox1的值2 = 3x2.5 我不想将结果视为值7
private sub commandton1_click() me.textbox3 = me.textbox1 * me.textbox2
end sub sub
I am trying to multiply value in Textbox1 X Textbox2 using commandbotton1, so for example if Textbox1 = 3 and TextBox2 = 2.5
I would like to see result in textBox3 as formula including values from TextBox1&2 =3x2.5
i don't want to see result as value 7
Private Sub CommandButton1_Click()
Me.TextBox3 = Me.TextBox1 * Me.TextBox2
End Sub
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
像这样 ?
Like this ?