Private Sub Clear_Click()
transactiondate.Value = ""
itemcode.Value = ""
description.Value = ""
Partno.Value = ""
transactiontype.Value = ""
qtty2.Value = ""
uom.Value = ""
Location.Value = ""
balance.Value ""
End Sub
如何获取命令按钮来清除屏幕,而不是获取“复杂错误-无效使用属性”
答案 0 :(得分:0)
.value并不总是等于“”。整数必须等于0。
String.value = ""
Integer.value = 0
Double.value = 0