Hi All,
I am validating contents of a MS word document,there I need to validate existence of images. I use below code to capture image properties.

Set objWord = CreateObject("Word.Application")
objWord.Visible = True
objWord.Documents.Open "C:\Test.doc"
imgcnt = objWord.ActiveDocument.inlineshapes.count
objWord.ActiveDocument.inlineshapes(1).OLEFormat.I conName
objWord.ActiveDocument.inlineshapes(1).OLEFormat.L abel

Here, the code is returning imgcnt as 10, but the next line of code "objWord.ActiveDocument.inlineshapes(1).OLEFormat. IconName"
returns 'Object required:' error message. The same error came for all the properties of OLEFormat object.

Can someone please help me to identify the issue. Is there any other way we can validate the MS word images?

Thanks in advance,