Visual Studio 2022 / Impossible d'ouvrir une session Excel

Fabrice SERVO 0 Reputation points
2023-11-03T10:38:48.6633333+00:00

Bonjour,

Sur Visual Studio 2022 lorsque j'essai d'ouvrir une session Excel, j'ai l'erreur ci-dessous.

La récupération de la fabrique de classes COM pour le composant avec le CLSID {00024500-0000-0000-C000-000000000046} a échoué en raison de l'erreur suivante : 80070490 Élément introuvable. (Exception de HRESULT : 0x80070490).

Je n'ai pas ce problème avec le même Dev / Prog sur un PC en W7

Pourriez-vous, s'il vous plait, m'aider?

Merci

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,099 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Emi Zhang-MSFT 19,131 Reputation points Microsoft Vendor
    2023-11-06T00:58:22.5966667+00:00

    Hi,

    This is an English language forum, I suggest you transform the language to English. The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Fabrice SERVO 0 Reputation points
    2023-11-09T10:08:55.0933333+00:00

    Hello,

    On Visual Studio 2022, whene i try to open a session Excel with the code:

    Imports Microsoft.Office.Interop
    Module Module1
    	Public xlap As Excel.Application
    	Sub Main()
    		xlap = New Excel.Application
    		xlap.Visible = True
    	End Sub
    
    End Module
    

    I have this error message:

    La récupération de la fabrique de classes COM pour le composant avec le CLSID {00024500-0000-0000-C000-000000000046} a échoué en raison de l'erreur suivante : 80070490 Élément introuvable. (Exception de HRESULT : 0x80070490).

    I don't have this problem whith the same dev on my other PC in W7

    Thnak you for your help

    0 comments No comments