In your programs and macros, you can use message boxes to display information or ask for confirmation of a task. By using an If structure or Select Case structure linked to the value that the message box returns, you can determine which button In the . message box the user has chosen. You can use this value to…