Home
Software
Hardware
German
About Us


Writing a macro in Excel

  • Writing a macro in Excel is easy - requires common sense programming
  • A flash movie showing a simple example of macros/VBA

  • VBA, which stands for Visual Basic for Applications, is a programming language developed by Microsoft. Excel, along with the other members of Microsoft Office 2003, includes the VBA language (at no extra charge). In short, VBA is the tool that people use to develop programs that control Excel.
    Don’t confuse VBA with VB (which stands for Visual Basic). VB is a programming language that lets you create standalone executable programs. VBA and VB have a lot in common. If you know VB itwould be easy for you to understand and use VBA.
    VBA helps in "automating" tasks in Excel. This term means that a series of steps is completed automatically. For example, if you write a macro or program that adds color to some cells, prints the worksheet, and then removes the color, you have automated those three steps. Macro comes from the Greek makros, which means large.
    For example, you might create a VBA program to format and print your month-end sales report. After developing and testing the program, you can execute the macro with a single command, causing Excel to automatically perform many time-consuming procedures.
    Although Excel includes numerous built-in functions, you can create custom worksheet functions that can greatly simplify your formulas. Even better, the Insert Function dialog box displays your custom functions, making them appear built in.

    macros in Excel
    Macros in Excel continued

    Family Computer Club, no.9, Savitri Cinema Commercial Complex, Greater Kailash-2,
    New Delhi-110048 Ph: 29213339 Mobile: 9810081867
    Contact person: Dr. Dinesh K Takyar
    Any Queries?
    Good learning solutions!

     
    Home
    Software
    Hardware
    German
    About Us