① セルの幅/高さの変更
② エクセル上の文字フォントの変更
③ オブジェクトの書式変更(図形塗りつぶし色、枠線)
newcom xlApp, "Excel.Application" xlApp("visible") = 1 xlApp("displayalerts") = 0 xlBooks = xlApp("workbooks") xlBook = xlBooks("Add") xlSheet = xlBook("Worksheets","sheet1") Shapes= xlSheet("Shapes") Shapes -> "AddShape" 1, 80, 130, 40, 50 Shapes -> "AddShape" 1, 120, 130, 40, 50 Shapes -> "AddShape" 1, 160, 130, 40, 50 Shapes -> "AddShape" 1, 200, 130, 40, 50 xlSheet("Range","B1") = "←幅変更→" xlSheet("Range","B2") = "↑高さ変更↓" end