Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Option Explicit
Private WithEvents cmdCreated As CommandButton
Private Sub Command1_Click()
Set cmdCreated = Form1.Controls.Add("VB.CommandButton", "cmdCreated")
cmdCreated.Top = 0
cmdCreated.Left = 0
cmdCreated.Caption = "Created"
cmdCreated.Visible = True
End Sub
Private Sub cmdCreated_Click()
MsgBox "cmdCreated event"
End Sub