(Solved) : 1 Write Subroutine Named Sub Oddintegers Display Asks Positive Integer Inputbox First Chec Q39885205 . . .

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 s1. 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…

Leave a Comment

About

We are the best freelance writing portal. Looking for online writing, editing or proofreading jobs? We have plenty of writing assignments to handle.

Quick Links

Browse Solutions

Place Order

About Us

× How can I help you?