回答編集履歴
1
コードが見にくかったので見やすくした
answer
CHANGED
|
@@ -6,10 +6,13 @@
|
|
|
6
6
|
|
|
7
7
|
Private Sub CommandButton1_Click()
|
|
8
8
|
|
|
9
|
+
Dim objB As CommandBars
|
|
10
|
+
Set objB = Application.CommandBars
|
|
11
|
+
|
|
9
|
-
|
|
12
|
+
CommandButton1.Picture = objB.GetImageMso("Cut", 16, 16)
|
|
10
|
-
|
|
13
|
+
CommandButton2.Picture = objB.GetImageMso("ChartInsert", 16, 16)
|
|
11
|
-
|
|
14
|
+
Image1.Picture = objB.GetImageMso("Copy", 16, 16)
|
|
12
|
-
|
|
15
|
+
Label1.Picture = objB.GetImageMso("FilePrint", 16, 16)
|
|
13
16
|
|
|
14
17
|
End Sub
|
|
15
18
|
|