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 7801101
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T00:50:43+00:00 2026-06-02T00:50:43+00:00

I’ve got the excelRTDserver.py up and running in Excel 2010 (32bit) by changing the

  • 0

I’ve got the excelRTDserver.py up and running in Excel 2010 (32bit) by changing the EXCEL_TLB_MINOR value to 7. I can see the server in the add-ins list and if I enter =RTD("Python.RTD.TimeServer","","seconds","5") into a cell, I get the current time. But it never updates. If I change the “5” to another number, I get an update but after the initial change it never changes again.

How do I get it to update? I found someone else with a similar problem here, but no solution.

UPDATE: I’ve got a little further – there is an exception raised within ServerStart when casting the PyIDispatch callback object into a IRTDUpdateEvent callback object. Using this method to capture the error message, I get “Cannot create a file when that file already exists.”. If I follow the suggestion here and use win32com.client.CastTo(CallbackObject,'IRTDUpdateEvent') I get “This COM object can not automate the makepy process – please run makepy manually for this object”, but I have already run makepy for Microsoft Excel 12.0 Object Library (1.6).

Any help would be greatly appreciated.

  • 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-06-02T00:50:44+00:00Added an answer on June 2, 2026 at 12:50 am

    I think you may be out of luck.

    According to the author of excelRTDServer.py in a recent python-win32 thread:

    The message that this is in response to describes your exact problem, and it’s recent, so maybe you already got this info directly, but in case you didn’t…

    I fear that things with IRTDUpdateEvent have changed with recent versions
    of excel (since Excel 2007? I guess that’s not so ‘recent’ anymore…).

    While hunting around for news of interface changes, I came across this
    thread in a java forum:

    http://www.nevaobject.com/phpbb3/viewtopic.php?t=516

    The part that worries me is this comment:

    “Apparently in Excel 12 (Excel 2007) the RTD callback object that
    implements dual IRTDUpdateEvent interface throws exception (generic COM
    exception 0x80020009) when is called via IDispatch. If you use v-table
    binding the call to UpdateNotify succeeds. I don’t really know whether it
    is a bug in Excel 12 or a feature.”

    So far I haven’t been able to confirm this against the MSDN information…
    But if this is true, it does explain the problem being seen. Many older
    examples on the web, and pywin32+makepy treat this interface as IDispatch,
    and wrap it accordingly.

    I don’t think we can fix this with pywin32 as it is right now. My
    understanding is that it relies on IDispatch support. May need to look at
    comtypes (http://starship.python.net/crew/theller/comtypes/) to wrap the
    (new?) IRTDUpdateEvent objects, or maybe a C extension. 🙁

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

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a jquery bug and I've been looking for hours now, I can't
I've got a string that has curly quotes in it. I'd like to replace
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I have a French site that I want to parse, but am running into
I am currently running into a problem where an element is coming back from
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
i got an object with contents of html markup in it, for example: string
Does anyone know how can I replace this 2 symbol below from the string
I have just tried to save a simple *.rtf file with some websites and

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.