Dataform opening on startup, and validation list in form?

D

dd

Is there a way to have the DataForm command activate when the file is opened
? I tried the following worksheet event, but nothing happens:

Private Sub Worksheet_Activate()
ActiveSheet.ShowDataForm
End Sub

Also, is there a way to attach validation lists to the form's textboxes so
that users can select the required data?

Regards
D Dawson
 
C

Corey

Place the code in the WORKBOOK OPEN event

Private Sub Workbook_Open()
ActiveSheet.ShowDataForm
End Sub

Corey....
 
T

Tushar Mehta

Is there a way to have the DataForm command activate when the file is opened
? I tried the following worksheet event, but nothing happens:

Private Sub Worksheet_Activate()
ActiveSheet.ShowDataForm
End Sub

Also, is there a way to attach validation lists to the form's textboxes so
that users can select the required data?

Regards
D Dawson
You already have a response to your first question.

As far as the 2nd goes, no, the data form supports nothing beyond the bare
basics.

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions
 

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