Issue while ussing WorkBook.Save method in Invoke method

I maganaged to bypass validation error using this expression as TargetObject value.

Ctype(wordDoc,Microsoft.Office.Interop.Word.DocumentClass)
Changing variable type for wordDoc should work as well

Does this work from your side?

Cheers

1 Like