セル

Excel VBA Sample

セルを検索

Findメソッドセル範囲内で検索する戻り値:Rangeオブジェクト一致するデータが見つからなかった場合、Nothingを返すRangeオブジェクト.Find(What, After, LookIn, LookAt, SearchOrder,...
Excel VBA Sample

VBA 斜線用のパーツ Excelリボンに登録

'選択範囲の空白とゼロ値に斜線を引く'とりあえず、3000個分Sub myDrawBlankDiagonalLine1() Dim c As Range Dim n As Long For Each c In ActiveWindow.Ra...
Excel VBA Sample

VBA 斜線

斜線を引くSub zsDrawDiagonalLine() Dim ws1 As Worksheet Dim tRng As Range Dim allRng As Range Dim i As Long, j As Long, k As ...