Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

278
Visualizações
Is Excel odbc datasource async?

I recently came across VBA code in Excel that used this command (Application.wait) to delay until the program fetched the data from an ODBC source for use in a pivot table. In order for such a thing to be necessary, retrieving data from odbc must be async. Is that true or the Application.wait is useless?

about 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

According to Microsoft's manual the Wait method suspends all Microsoft Excel activity and may prevent you from performing other operations on your computer while Wait is in effect. However, background processes such as printing and recalculation continue. (emphasis mine)

As you can set an ODBC Connection as a background process (ODBCConnection.BackgroundQuery property, set it to True) so, yes, it can run async.

  • ODBC: https://docs.microsoft.com/en-us/office/vba/api/excel.odbcconnection.backgroundquery
  • WAIT: https://docs.microsoft.com/en-us/office/vba/api/excel.application.wait
about 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda