Skip to content

Resulting DLL Cannot be added as reference in VBA #27996

Description

@TheAxeManGa

Hello! I've done my utmost to create a com-exposed DLL that can be added as a valid reference to a VBA project in Excel and/or Access.

This very vaguely covers creation of a manual IDL or C++ header and I have no clear direction on how to create these files so I can finally instantiate a new class in VBA derived from the classes in my DLL.

This used to be absolutely TRIVIAL in .NET Framework with Visual Studio (2 clicks!) .NET 6 seems to be a nightmare.

Additional documentation is needed to clarify the creation of a TLB derived from a .NET 6 DLL.

Thanks!


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.


Associated WorkItem - 599910

Metadata

Metadata

Assignees

Labels

📌 seQUESTeredIdentifies that an issue has been imported into Quest.adegeo/tempTemporary label for adegeodotnet-fundamentals/svcin-prThis issue will be closed (fixed) by an active pull request.

Type

No type

Projects

Status
✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions