Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Your VBA Function receives a 5x6 array. We will call this array [A]. Your function analyzes each of the input values first based on the

image text in transcribed

Your VBA Function receives a 5x6 array. We will call this array [A]. Your function analyzes each of the input values first based on the criteria below: a. If the value is greater than zero, it multiplies it by 2. b. If the value is equal to zero, it adds 5 to it. c. If the value is less than zero, it subtracts 8 from it. In doing so, the newly calculated values are stored in a new array called [B] within your function. Next, all of the values in array B are added to each other using a For/Next loop and the total value is returned to Excel Note: Make sure you use a multi-alternative decision block properly and don't forget to begin counting your array at 1,1

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

Step: 3

blur-text-image

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

Oracle Database 10g Insider Solutions

Authors: Arun R. Kumar, John Kanagaraj, Richard Stroupe

1st Edition

0672327910, 978-0672327919

More Books

Students also viewed these Databases questions