Sub up()
'
' up Macro
' マクロ記録日 : XXXX/XX/XX ユーザー名 : XXX
'
' Keyboard Shortcut: Ctrl+u
'
ActiveCell.Offset(-1, 0).Select //セルを1上に移動
Selection.Interior.ColorIndex = 3 //背景を赤に
End Sub
Sub down()
'
' down Macro
' マクロ記録日 : XXXX/XX/XX ユーザー名 : XXX
'
' Keyboard Shortcut: Ctrl+d
'
Selection.Interior.ColorIndex = 15 //背景を灰に
ActiveCell.Offset(1, 0).Select //セルを1下に移動
Selection.Interior.ColorIndex = 15 //背景を灰に
End Sub