Hi,
VS2022 can add these interfaces, but not 2019
Glad to know that VS2022 and Microsoft Excel 16.0 Object work for you.
For problems about VS2019, I found a fix for add class
:https://developercommunity.visualstudio.com/t/MFC-Long-list-of-errors-generated-when/1588036
Please consider using VS2022 instead of VS2019.
Best regards,
Minxin Yu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
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.