Open Form Automatically in Excel File

B

Bejewell

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!
 
P

Peo Sjoblom

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top