Week 9 Coursework.xlsx - Write a Sub Procedure to determine the size of an array Assume the upper left value of the array is the active cell when the

Week 9 Coursework.xlsx - Write a Sub Procedure to determine...

This preview shows page 1 - 3 out of 5 pages.

vector 1 vector 2 Matrix 1 9 12 3 1 2 8 34 4 4 5 7 56 5 4 3 6 6 1 4 4 1 Write a Sub Procedure to determine the size of an array. Assume the upper left value of the array is the active cell when the procedure is called. Write a second procedure to call this size procedure and display the resulting height and width of the array in a msgbox.
Image of page 1
vector 1 vector 2 Vector 1+2 9 3 8 2 7 1 6 0 5 0 Matrix 1 Matrix 2 Matrix 1+2 7 2 12 7 1 4 4 6 1 3 13 4 7 7 1 6 4 7 1 3 Write a sub procedure “Arrayfromexcel” to bring values from an excel sheet into a VBA array, assuming the active cell is set to the upper left value in the array. Check the size of the array in the sheet and define the VBA array to be the same size. Write another sub procedure to call “arrayfromexcel” twice in order to read in 2 arrays. Assume the arrays start in the same row and are space 1 column apart. Determine if the 2 arrays are the same size and if they are add them. If they aren’t display a message stating this. Write another sub procedure to output the new array to the
Image of page 2
Image of page 3

You've reached the end of your free preview.

Want to read all 5 pages?

  • Spring '18

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes
A+ icon
Ask Expert Tutors