Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Can you help me with this excel vba code ? Develop a VBA sub FindFives that will return the array row numbers and array column

image text in transcribedimage text in transcribed

Can you help me with this excel vba code ?

Develop a VBA sub FindFives that will return the array row numbers and array column numbers of all 5's that are encountered in a user-defined selection. Row and column numbers should be ouput nicely starting in cell E2 (for row indices) and F2 (for column indices). If there are no matches, there should be a message box indicating so. Make sure there is a button on the sheet to run your sub (selection must be selected before running the sub). The file "BuildArray.xlsm on D2L will help you, especially with respect to the ReDim Preserve statements (which allows the vector to be resized while keeping all existing elements) See the flowchart on the following page. It has everything on it except you will need to figure out how to display "No Fives Found if there are no 5's in the selection Develop a VBA sub FindFives that will return the array row numbers and array column numbers of all 5's that are encountered in a user-defined selection. Row and column numbers should be ouput nicely starting in cell E2 (for row indices) and F2 (for column indices). If there are no matches, there should be a message box indicating so. Make sure there is a button on the sheet to run your sub (selection must be selected before running the sub). The file "BuildArray.xlsm on D2L will help you, especially with respect to the ReDim Preserve statements (which allows the vector to be resized while keeping all existing elements) See the flowchart on the following page. It has everything on it except you will need to figure out how to display "No Fives Found if there are no 5's in the selection

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

Concepts of Database Management

Authors: Philip J. Pratt, Joseph J. Adamski

7th edition

978-1111825911, 1111825912, 978-1133684374, 1133684378, 978-111182591

More Books

Students also viewed these Databases questions

Question

What is the ouput? cout Answered: 1 week ago

Answered: 1 week ago