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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T00:13:06+00:00 2026-05-26T00:13:06+00:00

I have a COM (C++) API that listens for data updates from a server

  • 0

I have a COM (C++) API that listens for data updates from a server and writes these updates to a sheet. These updates are handled in VBA code and can arrive multiple times a second. In order to write these updates to the sheet in the most efficient manner, I use the following premise:

 Application.ScreenUpdating = False
 Application.Calculation = xlCalculationManual

 <UPDATE CODE>
 Application.ScreenUpdating = True
 Application.Calculation = xlCalculationAutomatic

In fact, I schedule a procedure to do this regular intervals where ScreenUpdating = False for about 20 seconds, then it is set to true so the data can update and then I set it to false again. i have found that this is a better option than setting ScreenUpdates + Calculation explicitly simply because of the highfrequency of the updates I receive.

The Problem:

I have read here that excel sets ScreenUpdating = True at the end of each method that disables it which is not what I need.

The Question:

Is there some way to force Excel to not automatically enable ScreenUpdating?

  • 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-26T00:13:07+00:00Added an answer on May 26, 2026 at 12:13 am

    See if these help with your APIs

    http://msdn.microsoft.com/en-us/library/ff818516%28v=vs.85%29.aspx

    http://msdn.microsoft.com/en-us/library/windows/desktop/ee461765%28v=vs.85%29.aspx

    I just searched google for “list of apis microsoft”

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

Sidebar

Related Questions

I have an API that gives me PCM wave data: http://msdn.microsoft.com/en-us/library/ff966424.aspx The byte[] buffer
I have some code in my project that reads from and writes into Excel
I have an isolated python script that simply captures data from Twitter's streaming API
I have a domain foo.com on server bar. I have a subdomain api.foo.com which
I'm using the virtualbox api that uses COM on windows. If you have a
session.identify is a third party COM API that I call and have no access
I have some VB code which makes use of a COM api and results
I have a json object that I'm loading from wordpress using the JSON API
I have developed a jQuery API browser from the raw XML available from http://api.jquery.com/api/
I have a question about fiscal date literals in the Force.com API ( http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_calls_soql_select_dateformats.htm

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.