質問編集履歴
1
使用しているexcelのソースコードを記入しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -47,3 +47,35 @@
|
|
47
47
|
### 補足情報(FW/ツールのバージョンなど)
|
48
48
|
|
49
49
|
現在PPT2016を使用しています。
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
現在excelで使用しているソースコードです。
|
54
|
+
|
55
|
+
Sub test()
|
56
|
+
|
57
|
+
Const ppLayoutBlank = 12
|
58
|
+
|
59
|
+
Dim i As Long
|
60
|
+
|
61
|
+
With CreateObject("PowerPoint.Application")
|
62
|
+
|
63
|
+
With .Presentations.Add
|
64
|
+
|
65
|
+
For i = 2 To Cells(Rows.Count, "A").End(xlUp).Row
|
66
|
+
|
67
|
+
Cells(i, "A").Resize(1, 4).Copy
|
68
|
+
|
69
|
+
With .Slides.Add(i - 1, ppLayoutBlank)
|
70
|
+
|
71
|
+
.Shapes.PasteSpecial
|
72
|
+
|
73
|
+
End With
|
74
|
+
|
75
|
+
Next i
|
76
|
+
|
77
|
+
End With
|
78
|
+
|
79
|
+
End With
|
80
|
+
|
81
|
+
End Sub
|