-
Launch Macro Subroutine at Excel Start
Two questions:
1-How to run automatically Visual Basic Subroutine Macro at start of excel?
Sub Auto_Open
ComboBox1.AddItem "Item1"
ComboBox1.AddItem "Item2"
ComboBox1.AddItem "Item...)
End Sub
(This is not executing at startup of the Workbook.)
2-If the launch is a Shell command for Access, how is the Access Window maximized and on top of all the other windows?
Last edited by <>er@; 02-06-2007 at 12:55 PM.
-
Paul
~~~~
Microsoft MVP (Visual Basic)
-
Could also just save your macro workbook as an addin (.XLA file) and select from the AddIns menu in Excel so that it is opened whenever Excel is opened.
Similar Threads
-
Replies: 1
Last Post: 01-02-2007, 08:58 AM
-
By fatboy in forum VB Classic
Replies: 2
Last Post: 01-19-2006, 08:54 AM
-
By cokoliso in forum VB Classic
Replies: 0
Last Post: 01-12-2006, 06:35 PM
-
By Pass0 in forum VB Classic
Replies: 1
Last Post: 10-24-2005, 01:26 PM
-
By Robb in forum VB Classic
Replies: 1
Last Post: 06-19-2002, 01:51 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks