Jet Fusion
Member
Hi All
Is there a way to change this code to call for the built in Excel Forms function from another sheet1 (Dashboard) not the sheet3 that contains the table (cell B2)?
Thanks in advance
Jet
Is there a way to change this code to call for the built in Excel Forms function from another sheet1 (Dashboard) not the sheet3 that contains the table (cell B2)?
Code:
Sub OpenDataEntryForm()
Dim nName As Name
Range("B2").CurrentRegion.Name = "database"
ActiveSheet.ShowDataForm
For Each nName In ActiveWorkbook.Names
If "database" = nName.Name Then nName.Delete
Next nName
End Sub
Thanks in advance
Jet