Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   How do i start an application from within a task in Outlook (http://www.outlookbanter.com/outlook-vba/41418-how-do-i-start-application.html)

A. Lewis Jones February 21st 07 12:38 AM

How do i start an application from within a task in Outlook
 
Specifically, I want to start Access using, say, an icon within a task in
Outlook. The system will not let me because of concerns about security. I
have searched help, but cannot find how to use VBA, or anything else, to
start Access, let alone any other application, from the window of the task.

Michael Bauer [MVP - Outlook] February 21st 07 06:01 AM

How do i start an application from within a task in Outlook
 


This should do it:

Private o As Object
Sub test()
Set o = CreateObject("access.application")
o.Visible = True
End Sub


--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Keep your Outlook categories organized!
http://www.shareit.com/product.html?...4&languageid=1
(German: http://www.VBOffice.net/product.html?pub=6)

Am Tue, 20 Feb 2007 16:38:15 -0800 schrieb A. Lewis Jones:

Specifically, I want to start Access using, say, an icon within a task in
Outlook. The system will not let me because of concerns about security.

I
have searched help, but cannot find how to use VBA, or anything else, to
start Access, let alone any other application, from the window of the

task.


All times are GMT +1. The time now is 03:41 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com