CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: VBA

  1. #1
    Join Date
    Oct 2001
    Location
    Chennai, India
    Posts
    9

    VBA

    ==================
    ** URGENT REALLY**
    ==================

    Any one is there to ans my question ?

    How to add a Command Bar Button programattically (throu' VBA) in MS Outlook. I want this button to be displayed only while user is in "Contacts" folder. (There is a way of adding command button ie., throu' customize... option in Tools menu. This is bit complex and explanatory to a remote user. This is the reason why im not opting this method)

    When i click this button i want to invoke word document and the contact details selected in the Contacts folder must be appended in the word document.


    Thanks in Advance....

    AWAITING YOUR EARLIEST ANSWER

    WITH LUV
    KICCHA.


  2. #2
    Join Date
    Jun 2001
    Location
    Ireland
    Posts
    56

    Re: VBA

    You should add the button on startup and wait for the Click event before validating if you are in the contacts.
    If you want I will post some sample code if you need it, just let me know.

    Don't forget to rate!!!

    Andrew Lennon (Berlitz)
    Automation Dev Engineer

  3. #3
    Join Date
    Jun 2001
    Location
    Ireland
    Posts
    56

    Re: VBA

    There is a zip file with all info you require to follow.

    Don't forget to rate!!!!

    Andrew Lennon (Berlitz)
    Automation Dev Engineer

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured