Word2003 中如何使用VC将多个图形进行组合操作?如下为VBA实现的组合,如何转换成VC语句来实现? 5
SubMacro1()Dimelements(0To7)AsVariantDimiAsIntegerFori=0To7elements(i)=Application.Ac...
Sub Macro1()
Dim elements(0 To 7) As Variant
Dim i As Integer
For i = 0 To 7
elements(i) = Application.ActiveDocument.Shapes.AddTextbox(msoTextOrientationHorizontal, i * 30, 30, 25, 25).Name
Next i
ActiveDocument.Shapes.Range(elements).Group
End Sub 展开
Dim elements(0 To 7) As Variant
Dim i As Integer
For i = 0 To 7
elements(i) = Application.ActiveDocument.Shapes.AddTextbox(msoTextOrientationHorizontal, i * 30, 30, 25, 25).Name
Next i
ActiveDocument.Shapes.Range(elements).Group
End Sub 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询