Data Entry form (not a UserForm)

Mel Smith

Well-known Member
Joined
Dec 13, 2005
Messages
1,023
Office Version
  1. 365
Platform
  1. Windows
I'm using a Data Entry form in one of my shared workbooks. The form is not a self-made Userform but a data entry form used within a table.

Is there a way that I can have this Data Entry Form open automatically when the workbook is opened to ensure that each user enters data via this form?

Thanks for your help.

Mel
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Do you mean the in-built data form?
If so you can try this in the workbook open event
VBA Code:
    Sheets("Main").ShowDataForm
Just change the sheet name to suit
 
Upvote 0
Hello Fluff,

Yes the in-built data form. I used the code:
Private Sub Workbook_Open()
Sheets ("WCCC Squad").ShowDataForm
End Sub
but on opening the workbook I received a Worksheet class failed error message.

Mel
 
Upvote 0
Where does the data start?
 
Upvote 0
It appears that VBA doesn't like it if the header is not in row1 and I can't find any way round that.
 
Upvote 0
Solution
Hello Fluff,

Just as the notification of your post came through, I'd moved data out of rows 1-3 and moved my table up. After closing and re-opening, it worked a treat!

Many thanks, as always for your invaluable help.

Mel
 
Upvote 0
Glad to help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,430
Messages
6,124,849
Members
449,194
Latest member
HellScout

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top