Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

IN VBE IN EXCEL Write a function subroutine called MaxRange that mimics Excels MAXfunction. It should accept a range as the input argument and it

IN VBE IN EXCEL

Write a function subroutine called MaxRange that mimics Excels MAXfunction. It should accept a range as the input argument and it should return the largest value in that range. Just like the Excels MAX function, it should ignore strings and empty cells, and if the range contains no numbers it should return 0. (For simplicity, assume that we will not test your function with ranges that contain negative numbers, dates, times, or cells with errors.)

image text in transcribed

image text in transcribed

In Question3.xlsm, if we enterthe formula -MaxRange (A2:A8) into cell C2, as shown in figure below, we should get 14.1 as the result in cell C2. 12 5.5 string MaxRange(A2:A8) 5 7 14.1 Instructions: Do not create a button for this question You are not allowed to use Excel's MAX or MIN functions, or anyvariations of them, in your code. 4 25g6 15 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing Fundamentals, Design, and Implementation

Authors: David M. Kroenke, David J. Auer

14th edition

133876705, 9781292107639, 1292107634, 978-0133876703

More Books

Students also viewed these Databases questions

Question

How could assessment be used in an employee development program?

Answered: 1 week ago