INTRODUCTION TO VISUAL BASIC FOR APPLICATIONS (VBA)
This tutorial introduces you to Visual Basic for Applications (VBA), a version of Visual Basics which comes with Microsoft Excel. You will learn how to type in and run a simple program in the form of a Function block.
Excel supplies ready-made functions such as log, exp, sin, cos, sum. In addition to these, you can define your own functions by writing Visual Basic modules. For example, suppose that you often have to calculate the area of a circle, 3.14159 r2. To avoid retyping this expression many times, you want to define a function called “Circ” that will automatically carry out that calculation.
First, you must open a Visual Basic module. Go into Excel and create a new workbook. Click on Tool / Macro / Visual Basic Editor. This opens the Visual Basic window. Note that there is a Shortcut Key to get to the Visual Basic editor,
Get download pdf INTRODUCTION TO VISUAL BASIC FOR APPLICATIONS (VBA)
Related Tutorial
Tags: area of a circle, circ, expression, folders, main categories, microsoft, microsoft excel, pdf introduction, r2, spreadsheet, visual basic editor, visual basic for applications, visual basics
Comments
Leave a Reply