Micke-K/IntuneManagement

Documenting - no word option

Jien-hub opened this issue · 4 comments

When trying to document - the only options I have are Markdown, CSV and HTML. I read you can export to word?

Update from Logs - Failed to add Word Interop type. Cannot create word documents. Verify that Word is installed properly. Exception: Could not load file or assembly 'Microsoft.Office.Interop.Word, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.

Hello!

The script will check if Word is installed by trying to create a Microsoft.Office.Interop.Word object. If that fails, Word will not be listed as an option in the documentation form.

Do you have Word installed?

Cheers!

Yes I actually do! Its office Microsoft 365 version so not sure if it will impact the creation of the object?

Update - repair of office did the the trick!

Thanks and amazing work BTW :D

Great news and thank you for the kind words!

Can we close this now?

Cheers!

Closing issues. Looks like fixed after repairing Microsoft Apps.

Cheers!