﻿Sub Macro5()
	Dim selectedButton As Long
	selectedButton = MsgBox("処理を実行しますか？ ", vbYesNo)
	If selectedButton = vbNo Then
		MsgBox "処理を中断しました"
		Exit Sub
	End If
		MsgBox "処理が終了しました"
End Sub