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 letter to the elected official to address issue

Write down the letter to the elected official. Recognize the issue which is salient to you (national, state, local). Decide which elected official is most suiatble to address your issue.

  Major limitation in use of gdp as measure of nation''s wealth

A major limitation in the use of GDP as a measure of a nation's wealth is that it does not take into account:

  Explain why the criminal law considers certain acts illegal

Explain why the criminal law considers certain acts illegal even though the crime itself has not yet been completed or is still in the planning stages. Discuss the justification for the requirement by some conspiracy statutes for evidence of an overt..

  Typical public school child

what does a typical public school child look like from a demographic and socioeconomic standpoint?

  How two countries vary in their cultural patterns

How do the two countries vary in their cultural patterns? How does communication play role in each culture? What communication devices were utilized by both parties in this example?

  Use of the asset and liability approach

Which of the following statements is true regarding SFAS 109 and its use of the asset and liability approach?

  Mental health and mental health problems

Reflect on how other cultures differ in their view of what constitutes mental health and mental health problems.

  Worked in both union and non-union situations

You have worked in both union and non-union situations, so you're pretty well-versed in the unionizing process. Because Mildred Smit and Vice President Steve Zellner, have no experience in working with labor unions, your task is to provide them with ..

  Examine the federal tort claims act

Examine the federal tort claims Act (FTCA). Discuss whether theses laws reduces the risk of citizens or does it serve a compelling state interest . Analyze Dolan v. United States postal services.

  Embyonic stem cell research

Critically discuss the main arguments for and against embyonic stem cell research? What are President Bush's views?

  Design an application that gets customer account data

Modify the No Interest Credit Company application so it executes continuously for any number of customers until a sentinel value is supplied for the account number.

  Examples of ineffective communication

Give 2 examples of ineffective communication that could result in bad customer service in a medical office. Discuss strategies for overcoming perceived service issues.

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