0
:変換
For Each varObj In ActiveDocument.Shapes
If varObj.Type = msoEmbeddedOLEObject Then
n = n + 1
End If
Next varObj
私は何をしようと、コンパイルされません。
foreach (Word.Shapes tempLoopVar_varObj in winword.ActiveDocument.Shapes)
{
if (tempLoopVar_varObj.Type == ord.WdInlineShapeType.msoEmbeddedOLEObject)
{
fileCount++;
}
}