Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

VBA Question. Please include comments so I can follow along and learn. 1. Create a VBA array function called ShiftVector(rng,n) with arguments for a range

VBA Question. Please include comments so I can follow along and learn.image text in transcribed

1. Create a VBA array function called ShiftVector(rng,n) with arguments for a range (rng) and n that will shift the elements of an (m x 1) vector up by n rows. The first n rows of the range rng will wrap around and appear at the bottom of the resulting vector. IMPORTANT: Your array function should be capable of accommodating strings and data types other than just numbers. Remember to use Ctrl-Shift-Enter for array functions! Example 1-ShiftVector(A1:A9,3) 1 hey Ctrl-Shift-Enter 9 7 4 hey hey 31yo 8 yo 8 yo hi The following page has a flow chart for this problem. CHEN 1310 Homework #8 Page 2 nr-nr 4) his will becom b-nrn ihto hput n Ouotpat b END 1. Create a VBA array function called ShiftVector(rng,n) with arguments for a range (rng) and n that will shift the elements of an (m x 1) vector up by n rows. The first n rows of the range rng will wrap around and appear at the bottom of the resulting vector. IMPORTANT: Your array function should be capable of accommodating strings and data types other than just numbers. Remember to use Ctrl-Shift-Enter for array functions! Example 1-ShiftVector(A1:A9,3) 1 hey Ctrl-Shift-Enter 9 7 4 hey hey 31yo 8 yo 8 yo hi The following page has a flow chart for this problem. CHEN 1310 Homework #8 Page 2 nr-nr 4) his will becom b-nrn ihto hput n Ouotpat b END

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

Database Design Using Entity Relationship Diagrams

Authors: Sikha Saha Bagui, Richard Walsh Earp

3rd Edition

103201718X, 978-1032017181

More Books

Students also viewed these Databases questions

Question

8. Explain the relationship between communication and context.

Answered: 1 week ago

Question

d. How were you expected to contribute to family life?

Answered: 1 week ago