Create a macro that adds a column before the totals column

Assignment Help Other Subject
Reference no: EM13315520

Problem :  In the following steps, you open a workbook, create a macro to add a column to a worksheet, assign the macro to a button on the Quick Access Toolbar, and then excute the macro.

To complete this assignment, you must start with the file "Finkle Trinkets Start.xlsx".
 
Perform the following tasks:

1.  If the Developer tab is not displayed on the Ribbon, then activate it as explained in the course notes and during the lecture.

2.  Change the document properties, to include your name as Author, "Project 2, Q3" as the Title, COSC1702A or COSC1702B as the Subject, and appropriate keywords.

3.  Create a macro that adds a column before the Totals column by doing the following:

a.  Click the Record Macro button (Developer Tab | Code group).

b.  When the Record Macro dialog box appears, name the macro AddColumn, assign the shortcut key Ctrl+Shift+N, store the macro in this workbook, enter your name in the Description box, and then click the OK button to start the macro recording process.

c.  Select cell C3, click Insert Sheet Columns (Home tab | Cells group | Insert button arrow), select cell C6 and sum the cell range C4:C5, set the column width to 15, and then click the Stop Recording button (Developer tab | Code group).

4.  In the newly added column, enter Necklaces in C3, 14,279 in C4, and 14,350 in C5.

5.  Click the Macros button (Developer tab | Code group) to display the Macro dialog box.  Run the AddColumn macro to add a coumn.  Enter the following data: Earrings, 15,765, and 18,110.  Click the Macros button again, select AddColumn macro, and then click the Edit button (Macro dialog box).

When the Visual Basic Editor displays the macro, click File on the menu bar and then click Print.  Bring this printout with you to give to the TA during your demonstration.

6.  Right-click  the Quick Access Toolbar and then click Customize Quick Access Toolbar.  When the Excel Options dialog box is displayed, click the 'Choose commands from' box arrow and choose Macros.

Click AddColumn, click the Add button, and then click the OK buton to close the Excel Options dialog box.

7.  Run the macro as follows: (a) click the AddColumn button on the Quck Access Toolbar, and enter Bracelets, 12,320, and 14,250 for the column values; and (b) press Ctrl+Shift+N , and enter Charms, 13,115, and 17,500 fo rthe column values.

8.  Protect the worksheet using the password macrosRule.

9.  Save the workbook as "yourname-Project2-Q3" where "yourname" is your last name.  Remember that this file contains a macro and must be a macro compatible format.

10. Submit your file to CMS.


Attachment:- Assignment.RAR

Reference no: EM13315520

Questions Cloud

What amount of heat is put into the engine : A Carnot engine has an efficiency of 0.325, and the temperature of its cold reservoir is 414 K. what amount of heat is put into the engine
What is the final angular speed of the merry-go-round : Joey, whose mass is 37kg , stands at rest at the outer edge of the frictionless 250kg merry-go-round, 1.9m from its center. The merry-go-round is also at rest. What is the final angular speed of the merry-go-round
What reason they see advertising nawras easily : Are see Nawras advertising were easy for customers and people and if yes, what reason they see Advertising Nawras easily?
Common errors of relevance : Examine two “common errors of relevance.” Discuss the damage the errors can cause and recommend at least two ways to avoid them.
Create a macro that adds a column before the totals column : In the following steps, you open a workbook, create a macro to add a column to a worksheet, assign the macro to a button on the Quick Access Toolbar, and then excute the macro.
What is the lamps mass : A lamp hangs vertically from a cord in a descending elevator with a constant deceleration a. If the tension in the cord is T0, answer the following, What is the lamp's mass
Estimate exponential rate of growth that would produce numb : World population reacted 4billion in 197 Use the doubling time approximation (3.5) to estimate the exponential rate of growth that would produce those numbers. Use the exponential growth equation (3.6) to find the growth rate
Calculate the speeds of the tips of both rotors : The diameters of the main rotor and tail rotor of a single-engine helicopter are 7.69 m and 1.02 m, respectively. Calculate the speeds of the tips of both rotors
History of bias against protected groups : Assume you are a new police chief of a department with a history of bias against protected groups (e.g., minorities, gays, and women), addressing the entire police force. As the new chief you state: “We cannot think critically if we use bias.” Suppor..

Reviews

Write a Review

Other Subject Questions & Answers

  Write a two-page memorandum regarding the ethical rules

Write a two-page memorandum regarding the ethical rules in your state regarding a law firm's duty to safeguard client information that is stored electronically

  Neurons originating in the hypothalamus

Which of the following would not be stimulated by neurons originating in the hypothalamus?

  Tough times demand focus-total rewards strategy

In the article Tough Times Demand Focus-Total Rewards Strategy, what is the key question the author is addressing?

  Cause problems in a new habitat

Discuss the dangers posed to existing community members when new species are introduced into ecosystems. What type of organism would be most likely to survive and cause problems in a new habitat?

  Discussing overlap of crime-punishment and poverty

Write a paper discussing the overlap of crime, punishment, and poverty. Please elaborate on the following points in your essay, each of which is raised by Wheelock and Uggen:

  Laplace transform to solve wing initial value problem

Use the Laplace transform to solve the following initial value problem:

  Element of nonverbal communication

Which of the following is an important element of nonverbal communication?

  Difference between credentialing-licensure and accreditation

Define and explain the differences between credentialing, licensure, and accreditation  Using complete sentences, state and briefly describe the 'Healthy People 2010' seven major responsibilities.

  Discuss whether equal protection

In Grutter v. Bollinger, considering the 25-year notion, discuss whether equal protection really changes and whether or not the 2008 presidential election expedited this timeline.

  Alleviate nutrients defficiencies in cropping systems

What are the ways in which fertilizers can be applied to alleviate nutrients defficiencies in cropping systems identifying advantages and disadvantages of each method with respect to its suitability for the fertilizer being used, the soil conditions ..

  Incidence rates for measuring chronic diseases

Why are prevalence rates more useful than incidence rates for measuring chronic diseases?

  Memory trace in language development

Write a 1-2 page paper that compares and contrasts the role of decay and memory trace in language development

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