Produce a summary of the processed payroll

Assignment Help Visual Basic Programming
Reference no: EM132852344

VBA - Project

Download and open Project 5.xlsm. Save it as yourLastName_P5.xlsm (replacing yourLastName with - your last name!) and write the VBA code to complete the assignment requirements outlined in this document.

The high-level view of this project is that it requires you to develop a Payroll Solution that achieves the following:

1. Delivers a user interface to facilitate adding employee data to the Payroll Worksheet

2. Delivers a solution that processes the data on the Payroll Worksheet and prepares it for delivery to our Payroll Service provider (ADP) who creates the ACH records for our bi-weekly payroll

3. Delivers a Payroll Summary Report that summarizes totals for the Payroll data to be sent to ADP

Deliverable 1: A User Interface for adding employees to the Payroll worksheet (one at a time) Insert a new worksheet and design an input area where a user will enter a new employee's payroll data. Data to be captured includes: Employee ID, Name, City, State, Department, Health Insurance, Pay Basis, Hours Worked and Rate of Pay. The layout could be similar to this screen shot, though I would expect a better user interface that includes headings, better formatting and some styling that makes the input area attractive and the process intuitive.

EmpID's should be assigned by the system, and not entered by the user. The user will input data directly onto the worksheet - and click a button to add the data to the Payroll Worksheet. When the user clicks the button to add the data, validate the inputs as defined here to ensure the integrity of the data in our payroll system.

Data Validation:
Use the "Switch" method - so that bad data is identified in a single validation. Highlight each cell that contains bad data. If the data is bad - the row should not be added to the Payroll worksheet.
• Ensure that the user has provided a value for the Employee Name, City, State and Department cells.
• The Health Insurance value represents a deduction withheld from the employee's pay corresponding to the level of coverage chosen. Ensure that the value in the cell for Health Insurance cell is valid: Family, Single or None. To simplify payroll processing, rewrite the data back to the input area in upper case (UCASE() function) - for example: (Range("B3") = Ucase(range("b3")
• Validate the Pay Basis. Only Hourly or Salary values are valid. To simplify payroll processing, rewrite the data back to the input area also in upper case.
• Validate the Hours Worked for a reasonable value. Anything above 60 hours is invalid.
• Validate the Rate of Pay for Hourly employees - anything above $50 / hour is invalid. There is no upper limit for employees paid on a Salary basis.

If any value is invalid, highlight the cell, display a descriptive message box and end the processing. DO NOT WRITE BAD DATA to the Payroll worksheet.

If the data is valid, process it:
• Find the last row of data on the Payroll Worksheet
• Assign the new Employee and ID. Find the last Employee ID in that last row of the Payroll worksheet, increment it by 5 and write that value back to the Employee ID cell on the Input area.
• Write each value from the input worksheet to the first blank row of the payroll worksheet (last row + 1) - mapping the input data to the Payroll Data columns. For a good challenge, find a way to use a looping mechanism for this step. Think about how the Cells(row,col) object might serve that purpose.
• Format numeric data written to the Payroll worksheet, as needed.
• Display a descriptive message box to inform the user that the employee was added. Provide information about the row# and the assigned EmpID.

Deliverable 2: Process Payroll Worksheet Data to Calculate Payroll
You will process all rows of the Payroll worksheet to calculate the data for the columns pictured below.

Formulas for each column are provided in the following section.

Employees are classified as HOURLY or SALARY and Reg Pay, OT Hrs, OT Rate, and OT Pay (Columns J, K, L, M) are calculated using the Pay Basis (Column G).

When Pay Basis = Hourly: Hourly Employees are paid for each hour they work. Any hours worked above 40 are deemed "Overtime" and are paid at a higher wage. (Regular) Reg Pay is calculated as Hours Worked (up to max of 40) times the employee's Regular Pay Rate. Hourly employees who work more than 40 hours are eligible for overtime pay. OT Hrs is calculated for hourly employees who worked more than 40 hours by subtracting 40 from the Hours Worked.
The (Overtime) OT Rate is calculated by multiplying the Regular Pay Rate times 1.5 and OT Pay is calculated by multiplying OT Hrs times OT Rate.

When Pay Basis = Salary: Salary employees are paid a flat wage. Their (Regular) Reg Pay is the same as their Regular Pay Rate. You do not calculate a salary person's Regular Pay Rate times Hours Worked. They are not eligible to earn overtime pay. A Salary employee's OT Hrs and OT Rate, and OT Pay should always display as 0.

Gross Pay (Column N) = Reg Pay + OT Pay

The next 3 columns (Columns O, P, Q) represent money withheld from the employee's pay by the employer. They are calculated using standard withholding rates. The standard withholding tax rates should be defined as named CONSTANTS in your code (using the CONST declaration) and have the following values (these values do not display on the worksheet - though they are used to calculate Fed W/H, State W/H, and City W/H (as defined below):
Federal Tax Rate = 15% State Tax Rate = 5.50% City Tax Rate = 2.75%

Fed W/H (Column O) = gross pay * federal tax rate Insurance (column R) is aso a deduction and is determined by the value of Health Ins (Column F)
State W/H (Column P) = gross pay * state tax rate If Health Ins is: Family, Insurance = $125.00
City W/H (Column Q) = gross pay * city tax rate Single, Insurance = $50.00
None, Insurance = $0.00
Net Pay (Column S) is the amount the employee actually receives. Net pay = Gross Pay - Fed W/H - State W/H - City W/H - Insurance

Connect the Calculate Payroll command button to your VBA code, so that when clicked, the payroll is calculated for each row in the payroll worksheet.

Deliverable 3: Produce a Summary of the Processed Payroll

As another output of processing the payroll data, produce the following Summary in the area provided (just left of the Payroll data). Accumulate each row as part of the loop that processes the worksheet data (Deliverable 2). Use accumulator statements. (You may NOT write a sum function in the cells AND you may not use the WorksheetFunction.SUM function in VBA).

Coding Requirements:
• Write your code in a code module (not a sheet or workbook code sheet). This assignment requires the creation of two Subroutines:
o One to capture and validate inputs and write data to the Payroll worksheet, and
o One to Process the payroll data and produce the summary report.
• Follow good coding practices - declare variables for ALL inputs used within a validation, calculation or formula. Do NOT calculate directly from OR into a CELL. Meaning - you must declare and use variables for all payroll processing - and only assign the values back to the worksheet after all processing is done. The only exception is for Deliverable 1 - which is spelled out in the assignment introduction.
• Format your CODE - by using indentation and comments to make your code more readable.
• Organize your code into sections to:
o Declare your variables
o Declare and assign your program named constants
o Assign worksheet values to variables
o Calculate required values
o Assign calculated values back to the worksheet
o Format worksheet data as needed

Attachment:- Vba Project.rar

Attachment:- Project 5.rar

Reference no: EM132852344

Questions Cloud

Does the iq test results follow the empirical rule : Does the IQ test results follow the empirical rule? Why or why not?
Considering importance of data in organization : Considering the importance of data in organization, it is absolutely essential to secure the data present in the database.
What are major data mining processes : What are the major data mining processes? List and briefly define the phases in the CRISP-DM process.
Consider completely destructive and harmful : Enumerate some technologies that you consider completely destructive and harmful. Explain your choice.
Produce a summary of the processed payroll : Produce a Summary of the Processed Payroll - data on the Payroll Worksheet and prepares it for delivery to our Payroll Service provider (ADP) who creates
Computer security incident response team : After the recent security breach, Always Fresh decided to form a computer security incident response team (CSIRT).
Find number of successes from a population : In which of the following situations is it not appropriate to use the normal approximation to estimate a probability when taking a sample of size
How can software assist in procuring goods and services : How can software assist in procuring goods and services? What is e-procurement software?
Organizational information systems : Management Information Systems Definition and importance. Characteristics and features of Management Information Systems

Reviews

len2852344

4/8/2021 10:57:52 PM

I have attached example project 5. 2/3 of the codes will be similar to that. please consider the discount you promised.

Write a Review

Visual Basic Programming Questions & Answers

  Calculate the average mpg for a car

Calculate the average MPG for a car. The user would enter starting mileage, ending mileage, and gallons purchased for fuel. The application would calculate number of miles.

  Prepare a basic four function calculator

Your project will consist of programming a basic 4 function calculator with an on and off button. Such task usually primitive and essay to implement however the thing that will make it a challenge is to correctly utilize the Graphical user Interfa..

  Arrays write a program using dynamic arrays to record the

write a program using dynamic arrays to record the high temperatures of last ltbrgtseven days and to display all of

  Do not allow the user to resize the form.

Remove minimize, maximize, and close buttons from the title bar

  Do not allow the user to resize the form.

Remove minimize, maximize, and close buttons from the title bar

  Remove multiple textboxes not just one textbox or maskedtex

The code should also be able to remove multiple textboxes not just one textbox or maskedtextbox.If someone has code that can do this please forward it to me, thanks. The code should also be able to remove multiple textboxes not just one textbox or ma..

  Design period of an inventory system

Implement systems main login entry. Use following design to implement the requirement using the knowledge you have in C# windows applications

  Visual basic programming discussion

The use of decision logic is one of the major concepts of computer programming. The decision takes your code from being sequential to one that can take various options based on the different conditions. Determine the method of coding that you would u..

  Calculate and display cost for operating a home appliance

Validate that the data entered has the correct format, and is within a reasonable range. Calculate and display the cost for operating a home appliance as soon as the data is entered.

  Help an elementary school student learn multiplication

Write a program that will help an elementary school student learn multiplication. Use a Random object to produce two positive one-digit integers. The program should prompt the user with a question, such as "How much is 6 times 7?"

  To demonstrate completing and delivering a prototype rad

to demonstrate completing and delivering a prototype rad system using oops capabilities of vb.net. prepare a vvb boards

  INFS 3150 Principles Of Structured Computer Programming

INFS 3150 Principles Of Structured Computer Programming And Problem Solving Assignment Help and Solution, University of Toledo - Assessment Writing Service

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