【发布时间】:2012-06-01 18:56:49
【问题描述】:
在每次单击按钮时,我都希望能够使 4 个文本框和 4 个标签“可见”。我不知道如何使用 VBA 代码来做到这一点。
这是我迄今为止尝试过的: 没有产生错误,但我不知道如何从这里开始。
Private Sub Command36_Click()
Static Counter As Integer
Dim Name As String
Dim Name2 As String
Dim Count As Integer
Counter = Counter + 1
Name = "Label" & Counter
Name2 = "Text" & Counter
Command36.Caption = Name & Name2
For Count = 1 To Count = Counter
Microsoft Access 表单、VBS
【问题讨论】:
标签: ms-access vba ms-access-2003