Can you use Interop Assemblies with Office 365 client applications?

With Office 2010/2013, you can download the PIA Primary Interop Assemblies and make material that will run Excel, etc., for example, create a special spreadsheet.

Add-Type -Assembly "Microsoft.Office.Interop.Excel" 
$app = New-Object Microsoft.Office.Interop.Excel.ApplicationClass

Does the same work with Excel in Office 365?

+3
source share
1 answer

I bought Office 365 (Home) and installed it (installer with a click). It must have built-in assemblies, because the code works fine, and you can automate Excel through PowerShell, as usual.

I looked everywhere on the Internet and did not find a single person who ever talked about it. So, I will be the first. Case is closed.

+3
source

All Articles