please solve using VBA and include all steps
1. Write a subroutine named Sub OddIntegers Display that asks for a positive integer with an InputBox. First, check to make sure the integer is positive. If it is not, display an informational error in a MsgBox (vbInformation). Otherwise, use a For loop to sum all of the odd integers up to the input number (inclusive). Display the result in a MsgBox. Microsoft Excel Microsoft Exc sitive integer The sum of all odd integers up through 6 is 9 covou HOK Informational error message in MsgBox Results displayed in a MsgBox Show transcribed image text 1. Write a subroutine named Sub OddIntegers Display that asks for a positive integer with an InputBox. First, check to make sure the integer is positive. If it is not, display an informational error in a MsgBox (vbInformation). Otherwise, use a For loop to sum all of the odd integers up to the input number (inclusive). Display the result in a MsgBox. Microsoft Excel Microsoft Exc sitive integer The sum of all odd integers up through 6 is 9 covou HOK Informational error message in MsgBox Results displayed in a MsgBox
Expert Answer
Answer to 1. Write a subroutine named Sub OddIntegers Display that asks for a positive integer with an InputBox. First, check to m…