开发者

Show GroupItems in Word VBA

I am usin开发者_StackOverflow中文版g this code to show the group number, how can I show the groupitems number?

Public Sub Shapename()
  MsgBox (Selection.ShapeRange.Name)
End Sub

Is there an easy way to figure out the shape names and numbers in Word?


That would be the ZOrderPosition property:

Public Sub Shapename()
  MsgBox (Selection.ShapeRange.Name & " " & Selection.ShapeRange.ZOrderPosition)
End Sub
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜