Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

PowerShell, Office 2007: [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Office.Interop.Wor‌​d")

$
0
0

Hi All,

I have problem to convert word document in to html (Office 2007)

Interop Assembly appear to work but powershell returns:

Unable to find type [Microsoft.Office.Interop.Word.WdSaveFormat]:  

I'using :

$saveFormat = [Enum]::Parse([Microsoft.Office.Interop.Word.WdSaveFormat], “wdFormatFilteredHTML”);


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>