Results 1 to 4 of 4

Thread: Access Outlook from Visual Basic Application

  1. #1
    Join Date
    Feb 2009
    Posts
    78

    Access Outlook from Visual Basic Application

    hie friends,

    I have Microsoft Outlook 2007 installed in my computer system. I want to access Outlook 2007 from VBA (i.e. Visual Basic Application). My question is - Is it possible to access outlook from VBA ? If possible, then how ?
    please give necessary info regarding same...thnx

  2. #2
    Join Date
    Apr 2008
    Posts
    4,642

    Re: Access Outlook from Visual Basic Application

    Yes, it is possible to control Outlook from any program written with Microsoft Visual Basic with the help of a supporting Automation feature of Microsoft Outlook.
    Automation provides a standard method for one application to access the objects, methods, properties, and events of other applications that support Automation.

  3. #3
    Join Date
    Apr 2008
    Posts
    2,139

    Re: Access Outlook from Visual Basic Application

    If you are using VBA to create macros, there are two ways you can automate Outlook.
    • You can implement a macro that creates a new instance of the Outlook Application object.
    • You can implement a macro that creates a current instance of the Outlook Application object.


    For the detailed information on both the methods along with the sample code , click on the following link

    http://msdn.microsoft.com/en-us/library/bb206737.aspx

  4. #4
    Join Date
    Jan 2008
    Posts
    3,755

    Re: Access Outlook from Visual Basic Application

    If you are developing a cross-application solution using one primary application and several secondary applications, you can write VBA code in the primary application to automate Outlook to send messages and to store and retrieve information in Outlook items.
    For example, in Microsoft Office Excel you can write routines that send a workbook to an Outlook distribution list.

Similar Threads

  1. Tips for developing Visual Basic application
    By SpearMan in forum Tips & Tweaks
    Replies: 2
    Last Post: 23-04-2012, 03:05 PM
  2. How to create installation package of application in visual basic 6.0
    By Badrinath18 in forum Software Development
    Replies: 5
    Last Post: 02-07-2011, 07:28 PM
  3. Difference between Visual Basic and Access
    By Well-Tech in forum Windows Software
    Replies: 4
    Last Post: 07-09-2010, 04:09 PM
  4. Outlook automation with Visual Basic
    By Rutajit in forum Software Development
    Replies: 2
    Last Post: 07-05-2009, 11:41 PM
  5. Problem in Ms Access In Visual Basic
    By Kushan in forum Software Development
    Replies: 3
    Last Post: 19-03-2009, 02:31 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,583,490.04795 seconds with 16 queries