You can’t directly use an Office 365 COM component without having Office installed, because those COM libraries (Excel, Word, Outlook, etc.) are tied to the Office installation itself. They aren’t standalone redistributable components.
If you want to work with Office files without installing Office, here are a few alternatives:
Use the Open XML SDK – lets you create, edit, and read Office documents programmatically without relying on COM.
Interop via Office Online / Graph API – if you’re on Microsoft Office 365, you can interact with Word/Excel files through cloud APIs instead of COM automation.
Third-party libraries – for example, libraries like EPPlus or ClosedXML (for Excel) allow you to manipulate spreadsheets without Office installed.
Install the Office runtime (if available) – older versions of Access had a runtime that could be deployed separately, but for full Excel/Word automation you generally need Office itself.
So short answer: COM automation requires Office on the machine. If you can’t install it, switch to OpenXML or another library depending on your use case.