CP212 Lab 1 : Building a Codeless Application

Labs Submission due: Friday 11:59 pm

Objectives


Lab Lesson

Data Validation

Cell Styles

Cell Styles allow you to format cells in a specific way to act as a cue to the user as to how the cell should be used. On the Home tab, in the Styles group will find the Cell Styles tool and gallery.

Excel Cell Styles Gallery

The Cell Styles in the Data and Model category are particularly useful when developing spreadsheet applications.

Below is a simple, contrived example of using some of the styles:

Example of different cell styles to indicate where the user should enter data, and where calculations or output exist.


Activities

Sample Applications

Break Even Analysis - a basic spreadsheet, and also an improved version but without using VBA. This is what is meant by a basic Excel application, although it really is just a spreadsheet using some advanced features of Excel. Open this application and examine it.

Codeless Heart Rate - a simple application to calculate your training heart rate, but using good design techniques including the use of graphics, data validation and locked cells.

Worksheet Controls - a spreadsheet applications using controls that are placed on the worksheet but does not contain any VBA code. This example creates an amortization table for a large bank loan (mortgage).

Tasks

Instructions

  • Save the spreadsheet file with the extension(.xlsx) since no VBA code is written in this lab. Name your spreadsheet with your network login followed by _l01.xlsx.

    For example, if your network login was barn4520, then your lab file should be named barn4520_l01.xlsx. Save often.

  • Lab tasks must be completed and submitted by the submission due.

  • Upload your completed task files to the Dropbox folder named Lab01 in MyLearningSpace for grading.

Develop a Codeless Excel Application

Links

Timesheet Example - A spreadsheet where the users actions could be controlled by Excel to make it a basic "dictator" application. More samples in future labs. Currently there is no VBA in the example, just advanced Excel use.

Decision Support Example - a more complex problem involving production scheduling - completed using VBA. This uses the Solver add-in, so if you want to try it you have to turn on the Solver add-in first. It might help to display the Solver dialog once (it is on the Data tab) and restart Excel.

Funny Name Generator - like the name suggests. This page demonstrates cute graphics, moving shapes and a custom
UserForm.

Blackjack - a game written in Excel.

Excel Overview Review

Reference

CP212 VBA Reference file for Office 2010 and older versions