Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default open data form when worksheet opens

Hi there,

is there a way to auto-launch the built-in data form when the worksheet is
open?

also, is there a way to edit or add buttons or functions to the data form?

thanks!!

Em~
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default open data form when worksheet opens


Option Explicit
Sub Auto_Open()

Dim wks As Worksheet
Set wks = Worksheets("Sheet1")
With wks
Application.DisplayAlerts = False
.ShowDataForm
Application.DisplayAlerts = True
End With

End Sub

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

And just in case...

http://support.microsoft.com/default...;en-us;Q110462
ShowDataForm Method Fails If Data Can't Be Found

=======
And I don't think there's a way to modify those builtin forms.

But you can build your own...
Check Debra Dalgleish's site:
http://contextures.com/xlUserForm01.html

and these articles by Peter Aiken:
http://msdn2.microsoft.com/en-us/lib...ffice.10).aspx
http://msdn2.microsoft.com/en-us/lib...ffice.10).aspx

Or use one from John Walkenbach:
http://j-walk.com/ss/dataform/index.htm

And the source code is available for a small fee ($20 USA, IIRC).

emmy128 wrote:

Hi there,

is there a way to auto-launch the built-in data form when the worksheet is
open?

also, is there a way to edit or add buttons or functions to the data form?

thanks!!

Em~


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
When I open a saved worksheet, it opens with a gray background MichelleJ Excel Discussion (Misc queries) 2 March 7th 08 01:32 PM
Is it possible to open only form when an excel file opens... SupperDuck Excel Programming 2 July 2nd 07 10:56 PM
When I open a workbook, how can I choose which worksheet opens? josephdmcc Excel Worksheet Functions 1 April 12th 06 04:59 PM
I open one excel worksheet, PERSONAL.XLS also opens, why? harry Excel Discussion (Misc queries) 1 December 22nd 05 06:02 PM
When I open up excel a worksheet that has been inputed opens up w. EL GUAPO Excel Discussion (Misc queries) 3 April 17th 05 08:52 PM


All times are GMT +1. The time now is 11:19 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"