teratail header banner
teratail header banner
質問するログイン新規登録

回答編集履歴

1

誤字修正

2016/10/24 00:35

投稿

jawa
jawa

スコア3020

answer CHANGED
@@ -17,13 +17,13 @@
17
17
  Set ppShp = ppSld.Shapes(1)
18
18
 
19
19
  'テキストの操作
20
- shp.TextFrame.TextRange.Text = "abcdefghij"
20
+ ppShp.TextFrame.TextRange.Text = "abcdefghij"
21
- shp.TextFrame.TextRange.Characters(2, 3).Font.Size = 18
21
+ ppShp.TextFrame.TextRange.Characters(2, 3).Font.Size = 18
22
22
  '余白の設定
23
- shp.TextFrame.MarginLeft = 0.5
23
+ ppShp.TextFrame.MarginLeft = 0.5
24
- shp.TextFrame.MarginRight = 0.5
24
+ ppShp.TextFrame.MarginRight = 0.5
25
- shp.TextFrame.MarginTop = 0.5
25
+ ppShp.TextFrame.MarginTop = 0.5
26
- shp.TextFrame.MarginBottom = 0.5
26
+ ppShp.TextFrame.MarginBottom = 0.5
27
27
 
28
28
  'ppApp.Quit
29
29
  'Set ppApp = Nothing