Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Need help writing VBA code for the following Write a subroutine that: . Writes a random number between 1 and 100 into the range Al:J10
Need help writing VBA code for the following
Write a subroutine that: . Writes a random number between 1 and 100 into the range Al:J10 Reads the values from the worksheet and stores them in a 2 dimensional array of Integer. This must be done after the values are written to the worksheet. Loops through all the values in the array and counts the number of values that are greater than a value specified by the user (use Inputbox and remember to convert the value from a String to an Integer, also use an IE statement to ensure a number between 1 and 100 is entered, inclusive). Display the results in a message box. Loops through all the values in the range A1:J10 and shades all the cells with values larger than the value specified redStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started