Preview

Excel Wth Vba

Good Essays
Open Document
Open Document
2847 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Excel Wth Vba
excel wth vbaVBA In Excel and Access

Purpose statement:

The purpose of this term’s work is to enable you to create Pivot Tables programmatically from an Access database using VBA with Excel/Access.

Introduction:

Excel is widely used for reporting, especially analysis of financial information etc. The tool mostly used is the Pivot Table/|PivotChart to summarize the information. RSC used the PivotTable quite extensively for their CTC (Cost to Company) analysis.

Microsoft also uses a programming language, called VBA, to program all of the Office applications. We are going to learn a bit about the VBA language and Pivot Tables/Charts in this semester.

Creating Pivot Tables/Charts automatically:

Firstly you will have to work through the Pivot Table and Chart tutorial that I have downloaded from the Internet – it will be on the usual drive. This will show you how to create a Pivot Table from data given in an Excel “database” using the wizards available. An Excel “database” is actually just a long list of repetitive data captured in Excel – you will see how the Pivot Table is used to summarize the data into useful information. The word pivot indicates that you can play around with the information – for example you can see the total sales per salesperson per quarter as well as the yearly total for that salesperson. By just moving one field, you can pivot the information to show you the quarterly sales for all the salespersons as well as the total sales for all the salespersons for that quarter. I will explain in more detail in class; ensure to take notes.

VBA:

The second part is to show you how to program Excel using VBA – very similar to using VB.NET; BUT the big difference is the components you work with. In VB.NET you work with forms, text boxes, radio buttons etc. In VBA for Excel you work with workbooks, worksheets, ranges and eventually with Pivot Tables.

Macro:

A macro is an application (program) written in VBA. You can

You May Also Find These Documents Helpful

  • Better Essays

    Microsoft Access Tutorial. (2005). Reports I: Show off your data. Retrieved on July 16, 2005 from http://office.microsoft.com/training/training.aspx?AssetID=RC010780631033.…

    • 2384 Words
    • 10 Pages
    Better Essays
  • Good Essays

    U42 P1

    • 574 Words
    • 3 Pages

    A spread sheet is a grid that sorts data into columns and rows, spread sheets make entering and illustrating data, spread sheets also allow you to input formulas which can be used to work with the data. Microsoft Excel provides you with a variety of different ways of graphically showing this data after it has been sorted with graphs or coloured tables or even just plain. Entering formulae into the database allow you to program the desired spread sheet to add subtract and a many more. Spread sheets are also very compatible with the various other programmes such as Access, because of the compatibility you are enabled to import information from one programme to another. Using spread sheets would considerably lower the risk of mistakes made by the managers and accounting team especially when dealing with the income, outgoings and profitable money.…

    • 574 Words
    • 3 Pages
    Good Essays
  • Good Essays

    It206 Wk4 Scenarios

    • 918 Words
    • 4 Pages

    A business professional wants to use Microsoft® Excel® to organize data for the monthly expense report. He has never used Microsoft® Excel® and is inquiring about the functions that would support him with this task.…

    • 918 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Chid Abuse

    • 829 Words
    • 4 Pages

    | On the Main St. worksheet, in cell B25, insert a function that will total all of the sales for Quarter 1 in the range B6:B23. Copy the function in cell B25 to the range C25:F25.…

    • 829 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Unit 42 M3

    • 430 Words
    • 2 Pages

    The recorded procedures or steps in Excel are in fact lines of codes in visual basic that can be edited and tweaked for better results. These macros can then be exported to other worksheets if you want to replicate certain actions.…

    • 430 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Party Plates is currently using the information system identified as Microsoft Excel. While this is a great program and has been very useful for our business practices thus far, our team has collaborated upon a recommendation for the implementation of converting to the Microsoft Access database. To keep up with the current growth of our customer base, we know that this conversion is necessary. Microsoft Access assists employees to swiftly record and account for information with the ability of Microsoft Office Fluent user’s interaction with its design capabilities that do not necessitate intense database knowledge. The practice of creating a group within a group and then performing calculations are far more complicated in Excel. With Office Access, one has the ability to link tables to his or her database from other Access databases, Windows SharePoint Services sites, ODBC data sources, Excel spreadsheets, Microsoft SQL Server databases, and other data sources. One can then link tables easily to generate reports; thereby, one can base his or her decisions on a more inclusive set of information. Users are able to share data over the internet on Microsoft Office SharePoint Server. Databases are good for finding relationships in data. Spreadsheets are excellent when performing "what if" analysis and working with numbers.…

    • 745 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Busad 250 Syllabus

    • 2065 Words
    • 11 Pages

    *Useful free resource to review functions of MS Excel and MS Access. Login through your ISU net login to gain full access. Located in the ISU webpage, Student Menu, Sign-ons/Services, Sign-ons, Lynda.com Tutorials.…

    • 2065 Words
    • 11 Pages
    Satisfactory Essays
  • Powerful Essays

    EAS230Syllabus

    • 1748 Words
    • 8 Pages

    Philosophy: Lectures, 2 exams, and 9 project (lab) assignments form the basis for this course. The projects will be extensive, and will require that you attend lab sections so that you can get help from the TAs. Class attendance is mandatory. Speak up in class. Emails, while convenient, do not shift responsibility for handling a problem to the recipient. There's no substitute for face time. Emails which ask questions that are better asked in class, will be actively ignored. This is the University at Buffalo, not the University of Phoenix.…

    • 1748 Words
    • 8 Pages
    Powerful Essays
  • Better Essays

    It is usually presented in the form of a report in tables, charts, statistics, and graphs or on spread sheets etc. This data may be used to arrive at important decisions within the organisation or with external organisations. So the data report has to be produced in such a way that it meets the aims and objectives of the requirement.…

    • 2343 Words
    • 10 Pages
    Better Essays
  • Satisfactory Essays

    Week 4

    • 262 Words
    • 2 Pages

    Macro is designed for the do-it-yourselfer. The software program is ranked among the most useful tools of Microsoft programs. They took a task that would have been executed manually and made it automatic for many computer tasks. This can be from a simple task of creating spreadsheets or worksheets to a very complex task of exporting journal entries in an Excel program into an accounting package and the creating reports in Word. What makes Macros so great tis that in a lot of cases you don’t need to be an expert to set it up? You need to invest a little of time to learn the language they are written it…

    • 262 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Many organizations use spreadsheets to keep record of financial, employee, customer, and vendor information. Spreadsheets make it easier to create budgets, calendars, invoices, and contact lists. With Microsoft Excel, it can be linked to other programs such as Microsoft Word and Access. Spreadsheets help to compile a company’s data into user friendly data.…

    • 513 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Microsoft Excel is an electronic spreadsheet. It can be used in several ways for several tasks. Excel is used to manage, store and calculate different types of information. One of the uses for Excel would be keeping track of a company’s warehouse inventory.…

    • 816 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    4. You plan to use the Fill Down feature on a formula and you need to keep a cell reference the same.…

    • 985 Words
    • 5 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Visual Basic Tutorial

    • 1968 Words
    • 8 Pages

    The first thing you'll need is a database. Use Access to create this database; it consists of a few simple fields in the tbl_master table:…

    • 1968 Words
    • 8 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Learning Visual Basic

    • 370 Words
    • 2 Pages

    Using Windows Form Applications, various input/output boxes were designed and programmed to run by setting up variables using expressions and operators.…

    • 370 Words
    • 2 Pages
    Satisfactory Essays