Determine the number of rows and column of data on worksheet

Assignment Help Computer Engineering
Reference no: EM131986634

Problem

A user (me) inputs values of an MxN matrix starting at cell A1 in Sheet2. Create a run button on Sheet2 that executes a macro named problem2.
This macro solves the following problem:

• Determine the number of rows and columns of data on the worksheet and store these values in variables named M and N.

• Create a MxN array named array1.

• Obtain the values from the worksheet and store them in array1.

• Calculate the transpose of array1 and output the transpose one row below the original MxN array. For example, if the user inputs the following array, the macro will calculate the transpose after the run button is clicked and output it to the worksheet, This macro should work for any MxN array input by the user. Hint: You can check if there is only one row or one column by checking if ActiveCell.Value = "" for cells A2 and B1. Do not use the built-in Excel function Transpose. Use the Option Explicit statement for this macro. Assume the user will input all necessary values on the worksheet before clicking the run button.

Reference no: EM131986634

Questions Cloud

Quality improvement part of qm : Define quality management (QM). Explain how quality assurance (QA) and quality improvement (QI) are part of QM.
Can you think of a situation where you also have access : For a small business, having payment terms is like using "free money" for a while. What do you think this means?
Define quality assurance and quality improvement : Define quality assurance (QA) and quality improvement (QI). Give an example of how each applies to healthcare. Describe the differences between the two.
Best possible outcomes for the provider : How can we create the alignment of incentives that creates the best possible outcomes for the provider, supplier and the patient?
Determine the number of rows and column of data on worksheet : Determine the number of rows and columns of data on the worksheet and store these values in variables named M and N. Create a MxN array named array1.
How do the assessment core function : How do the assessment core function, organizational practices, essential public services, and performance indicators interrelate?
By how much will the companys value increase : If the company chooses the machine which adds the most value to the firm, by how much will the company's value increase?
Case study-managing gi discomfort : Mary Treat is a 68-year-old woman in reasonably good health. She is 64 inches tall and weighs 180 pounds. She takes a daily multi-vitamin supplement
What is the market price of a face value bond : Slan, Inc. Offers a 7 percent coupon bond with annual payments. The yield to maturity is 5.85 percent and the maturity date is 9 years.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd