LoginSignup
1
0

More than 5 years have passed since last update.

【VBA】オートシェイプの作成

Posted at

AddShapeメソッドを使用して、オートシェイプの追加をコードでできます。

object.Addshape Type,Left,Top,Width,Height

ただ、Typeで設定可能な定数は多くて、なかなか覚えてられません。。。
備忘録として、私がよく使うものを一覧でまとめようと思います。

msoShapeRectangle 四角形
msoShapeFoldedCorner メモ
msoShapeRectangularCallout 四角形吹き出し
msoShapeRoundedRectangularCallout 角丸四角形吹き出し
msoShapeLineCallout1 線吹き出し1(枠付き)
msoShapeLineCallout1BorderandAccentBar 強調線吹き出し1(枠付き)
msoShapeBalloon 角丸四角形吹き出し
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0