Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3345832
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T01:13:56+00:00 2026-05-18T01:13:56+00:00

Any ideas, i have made a previous post about this but i got no

  • 0

Any ideas, i have made a previous post about this but i got no replys which gives mthe impression i am doing it wrong

Any tips on how to do this?

essentially i want to automate outlook like this …

    Outlook.Application app = null;


    if (Process.GetProcessesByName("OUTLOOK").Count() > 0)
    {
        app = (Microsoft.Office.Interop.Outlook.ApplicationClass)(Marshal.GetActiveObject("Outlook.Application"));
    }

this gives me a outlook object, but what method calls are needed to be able to run a particular macro?

Thank you

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T01:13:56+00:00Added an answer on May 18, 2026 at 1:13 am

    My answer to your original question:

    I thik you’re doing it right, but maybe you don’t meet the security requirements! In order to run a macro, the office file needs to be a trusted source! It must be flagged via the Office Security Center or else you won’t be able to execute macros. You also need to allow access to the VBA Object via the security center for an external app to call the macros!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have made changes to my global.asax file so i want to recycle my
I have made a php form that is submitted by email. I am trying
I am trying to use file_get_contents.I have made sure that allow_url_fopen is enabled in
Okay the question title may not have made sense... mostly because I don't know
I have a String made up of several Strings seperated by commas. Using StringTemplate,
I have a button with an image set through interface builder. The original image
I have a DockPanel set up in the DataTemplate of an ItemsControl as below:
Hello internet techno-persons, I am writing a project for users to create documents from
I'm working on a file based commenting system with in-line comments (only 1 level).
Came in today and my Facebook Connect code is broken (no surprises there, each

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.