HI
I am using the below mentioned code to call a dataform, I do not want the datasheet to be shown when this is done, please help.
Private Sub CommandButton5_Click()
Worksheets("Main Data Sheet").Activate
ActiveCell.Activate
Worksheets("Main Data Sheet").Range("A2").Select
ActiveCell.CurrentRegion.Name = "Database"
ActiveSheet.ShowDataForm
End Sub
I am using the below mentioned code to call a dataform, I do not want the datasheet to be shown when this is done, please help.
Private Sub CommandButton5_Click()
Worksheets("Main Data Sheet").Activate
ActiveCell.Activate
Worksheets("Main Data Sheet").Range("A2").Select
ActiveCell.CurrentRegion.Name = "Database"
ActiveSheet.ShowDataForm
End Sub