how to rotate inlineshape?
hi
I have a word document full of scaned photos.I want to rotate 180 degree for all the photos with VBA. But I couldn't find a rotate method for inlineshape. Here is the code. It rotate shapes with IncrementRotation method. But there is not that method for inlineshape. Should I convert inlineshape into shapes? I tried but could convert and then rotate just one.
Please help me sort it out. Thanks.
Sub FigureInfo()
Dim iShapeCount As Integer
Dim iILShapeCount As Integer
Dim DocThis As Document
Dim J As Integer
Dim sTemp As String
Set DocThis = ActiveDocument
iShapeCount = DocThis.Shapes.Count
MsgBox "iShapeCount=" + Str(iShapeCount)
If iShapeCount > 0 Then
End If
For J = 1 To iShapeCount
DocThis.Shapes(J).IncrementRotation 180
Next J
iILShapeCount = DocThis.InlineShapes.Count
MsgBox "iILShapeCount=" + Str(iILShapeCount)
If iILShapeCount > 0 Then
End If
For J = 1 To iILShapeCount
Next J
End Sub