PC Review


Reply
Thread Tools Rate Thread

Dataform opening on startup, and validation list in form?

 
 
dd
Guest
Posts: n/a
 
      11th Jan 2007
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


 
Reply With Quote
 
 
 
 
Corey
Guest
Posts: n/a
 
      11th Jan 2007
Place the code in the WORKBOOK OPEN event

Private Sub Workbook_Open()
ActiveSheet.ShowDataForm
End Sub

Corey....
"dd" <dd.dd> wrote in message
news:%(E-Mail Removed)...
> 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
>
>



 
Reply With Quote
 
Tushar Mehta
Guest
Posts: n/a
 
      11th Jan 2007
In article <#(E-Mail Removed)>, "dd" <dd.dd> says...
> 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
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Opening a form only at startup =?Utf-8?B?U2hhbmU=?= Microsoft Access Forms 3 7th Feb 2006 08:54 PM
Excel DataForm not picking up correct list =?Utf-8?B?TmF6?= Microsoft Excel Programming 1 1st Jun 2005 01:40 AM
How to retrieve form field value if form is EncType=multipart/form-dataForm? Li Zhang Microsoft ASP .NET 3 20th May 2005 07:50 PM
RE: Form opening at startup. Shaun Hubbard Microsoft Access 0 24th Aug 2004 03:53 PM
Auto opening of Validation list Joe Microsoft Excel Misc 6 29th May 2004 05:41 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:12 PM.