Open Form Automatically in Excel File

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am not new to Excel, but I am new to using forms within the application.
I've created a form to make it easier for a user to enter the information
that I need in my table. But I'd like the form to open automatically when
the user opens the Excel file. (Otherwise, how will they even know that a
form exists for them to use?) I'm sure there has to be a way to do this,
but I haven't found it yet. Any suggestions would be greatly appreciated.
Thanks!
 
Assuming you mean Data>form, record a macro when you open the form, right
click the excel icon next to the file menu, select view code, from left
dropdown in main window select workbook and then paste in the code from the
recorded macro between the 2 lines, will probably look like

Private Sub Workbook_Open()
ActiveSheet.ShowDataForm
End Sub

make sure all users accept the macro when opening the workbook
 
Back
Top