Session12 Exercise

You might also like

Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 3

Exercise 12

There are three sets of data tables in the 'Practice' sheet. Below are your tasks

Record a Macro on table 1 which:


Bolds the top row of the table,
1 Changes cell color of top row to light blue,
Adds a thick black border around the table,
Normal black border inside the table,
Centrally aligns all the values in all the cells
2 Run this macro on table 2
3 Create a button to run this macro and run the macro on table 3 using the button
4 Save the file as macro enabled workbook
ing the button
Table 1
Item_Fat_CItem_TypeYear Outlet_TypItem_Outlet_Sales
Low Fat Snack Food 1985 Supermark 4022.764
Low Fat Hard Drink 1985 Supermark 2303.668
Regular Baking Goo 1985 Supermark 4064.043
Low Fat Baking Goo 1985 Grocery St 214.3876
Regular Canned 1985 Grocery St 125.8362
Regular Fruits and 1985 Supermark 2797.692
Regular Dairy 1985 Grocery St 780.3176

Table 2
Item_Fat_CItem_TypeYear Outlet_TypItem_Outlet_Sales
Low Fat Snack Food 1985 Supermark 4022.764
Low Fat Hard Drink 1985 Supermark 2303.668
Regular Baking Goo 1985 Supermark 4064.043
Low Fat Baking Goo 1985 Grocery St 214.3876
Regular Canned 1985 Grocery St 125.8362
Regular Fruits and 1985 Supermark 2797.692
Regular Dairy 1985 Grocery St 780.3176
Regular Frozen Foo 1985 Grocery St 147.8076
Low Fat Household 1985 Grocery St 583.2408
Regular Breakfast 1985 Supermark 3285.723
Low Fat Household 1985 Supermark 4363.653
low fat Soft Drinks 1985 Grocery St 679.116
Regular Meat 1985 Grocery St 176.437
Low Fat Canned 1985 Supermark 7968.294
Low Fat Health and 1985 Supermark 6976.252
Low Fat Starchy Fo 1985 Supermark 5262.483
Low Fat Soft Drinks 1985 Supermark 898.83

Table 3
Item_Fat_CItem_TypeYear Outlet_TypItem_Outlet_Sales
Low Fat Snack Food 1985 Supermark 4022.764
Low Fat Hard Drink 1985 Supermark 2303.668
Regular Baking Goo 1985 Supermark 4064.043
Low Fat Baking Goo 1985 Grocery St 214.3876

You might also like