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

  • SEARCH
  • Home
  • 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 1025595
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T11:57:06+00:00 2026-05-16T11:57:06+00:00

How Do control with python multiple instances of Excel. This is not read/write, but

  • 0

How Do control with python multiple instances of Excel. This is not read/write, but more running macros on different workbooks.

Ex:
Excel.exe running Book1.xls. has mac1
Excel.exe running Book2.xls. has mac2.

I got one instance to work, this first instance, which use 2003.
I could not figure out the other instance which is 2007.

If 2 can be done, can 3 or 4, Or is the a limit.
I thought of memcache launching the different instances, but really not sure, if workable.

TIA

working on apply this:
Using Python to program MS Office macros?

  • 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-16T11:57:07+00:00Added an answer on May 16, 2026 at 11:57 am

    Unfortunately you cannot control which instance you get back when grabbing things from the ROT (running object table.) Only the first instance of an application will register itself.

    http://support.microsoft.com/kb/238975

    However, each document is registered in the ROT so in your case you may be able to find the right instance by looking for documents.

    -Oisin

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

Sidebar

Related Questions

I have a machine control system in Python that currently looks roughly like this
python newbie here. I'm writing the code to control an experiment that has multiple
I am trying to write an app in python to control a motor using
I am running a Python GUI application. I want to invoke and control GDB
I would like to be able to control iTunes with python. I know this
I'm trying to control latest Sun VirtualBox via it's COM interface from Python. But,
Hey, This issue was addressed before but not in this angle. I'm trying to
I have the following Python 2.7 dictionary data structure (I do not control source
This answer, stating that the naming of classes in Python is not done because
All right, I've seen this multiple times in the past, but most recently with

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.