Excel VBA 質問スレ Part80(ワッチョイあり) (101レス)
上
下
前
次
1-
新
52
(2)
:
(ブーイモ MM02-Ky5X)
2024/04/09(火)14:44
ID:EBugvdEwM(1)
AA×
>>47
[240|
320
|
480
|
600
|
100%
|
JPG
|
べ
|
レス栞
|
レス消
]
52: (ブーイモ MM02-Ky5X) [sage] 2024/04/09(火) 14:44:25.19 ID:EBugvdEwM >>47 Sub 全自動で表を作るMacro1() Dim da As Date da = "1/1" 'この日からスタート ro = 2 For we = 1 To 52 '52週間分作る Cells(ro, 3).Resize(1, 3) = Array("a", "b", "c") For lo = 1 To 7 Cells(ro + lo, 2) = da da = da + 1 Next Set ra = Cells(ro, 2).Resize(8, 4) ra.Borders(xlEdgeLeft).LineStyle = xlContinuous ra.Borders(xlEdgeLeft).Weight = xlMedium ra.Borders(xlEdgeRight).LineStyle = xlContinuous ra.Borders(xlEdgeRight).Weight = xlMedium ra.Borders(xlEdgeTop).LineStyle = xlContinuous ra.Borders(xlEdgeTop).Weight = xlMedium ra.Borders(xlEdgeBottom).LineStyle = xlContinuous ra.Borders(xlEdgeBottom).Weight = xlMedium ra.Borders(xlInsideVertical).LineStyle = xlContinuous ra.Borders(xlInsideVertical).Weight = xlMedium ra.Borders(xlInsideHorizontal).LineStyle = xlContinuous ra.Borders(xlInsideHorizontal).Weight = xlMedium ro = ro + 8 Next Range("B:B").Font.Name = "MS 明朝" Range("C:E").Font.Name = "MS ゴシック" Range("B:E").Font.Bold = True Range("B:B").NumberFormatLocal = "m月d日 (aaa)" End Sub http://mevius.5ch.net/test/read.cgi/tech/1700826110/52
全自動で表を作る この日からスタート 週間分作る 明朝 ゴシック 月日
上
下
前
次
1-
新
書
関
写
板
覧
索
設
栞
歴
あと 49 レスあります
スレ情報
赤レス抽出
画像レス抽出
歴の未読スレ
AAサムネイル
ぬこの手
ぬこTOP
0.023s