UWP calling Office Interop APIs
There is a newer version of this sample available at this link, using the new VS Packaing Project that is the supported way going forward to build solutions that have both UWP and Desktop components. https://github.com/Microsoft/Windows-Packaging-Samples/tree/master/OfficeInterop
This sample demonstrates how to automate Microsoft Office apps installed on the PC using the Microsoft.Office.Interop.* APIs
Build/Deploy and Run the sample
- Visual Studio 2017 and the Windows 10 Anniversary Update SDK (version 14393)
- Select UWP project as your starting project
- Press F5 to run!
Related blog post: https://stefanwick.com/2017/05/26/uwp-calling-office-interop-apis/