(求助)如何用VB在EXCEL里面插入图形
VBA在EXCEL里面写的程序,为什么转到VB里面报错,如果想用VB在EXCEL里面插入图形不知道应该怎么转换VBA代码如下
ActiveSheet.Shapes.AddShape(msoShapeOval, 10,10,5,5).Select
Selection.ShapeRange.Name = "Shape_Oval"
Selection.ShapeRange.LockAspectRatio = msoTrue
Selection.Placement = xlFreeFloating
Selection.ShapeRange.Fill.Visible = msoFalse
With Selection.ShapeRange.Line
.Visible = msoTrue
.Weight = 2
.ForeColor.RGB = RGB(255, 192, 0)
.Transparency = 0
End With