Visual Basic for Applications, Excel's powerful built-in programming language, permits you to easily incorporate user-written functions into a spreadsheet.1
You can easily calculate Black-Scholes and binomial option prices, for example. Lest you think VBA is something esoteric which you will never otherwise need to know, VBA is now the core macro language for all Microsoft's office products, including Word. It has also been incorporated into software from other vendors. You need not write complicated programs using VBA in order for it to be useful to you. At the very least, knowing VBA will make it easier for you to analyze relatively complex problems for yourself.
This document presumes that you have a basic knowledge of Excel, including the use of built-in functions and named ranges. I do not presume that you know anything about writing macros or programming.
The examples here are mostly related to option pricing, but the principles apply generally to any situation where you use Excel as a tool for numerical analysis.
All of the examples here are contained in the Excel workbook VBA.XLS.
Table of contents
EXCEL VBA (Visual Basic for Application) is a programming language to use Visual Basic code to run the many features of the EXCEL Application.
A program written in VBA is often called a macro.
Macros can be used to automate repetitive tasks under EXCEL. They can also be used to create dialog boxes to make an application developed under EXCEL more user-friendly.
A macro can be created using the macro recorder, which does not requires no knowledge of the VBA language.
However, a macro created in this way will only run on a set of cells data and product code will not always be very effective. To be able to create macros specific to its needs, effective and interactive, you have to learn how to program in VBA.
Create a macro MACRO1 which writes in cell A1 the text "AgroParisTech" in bold type and in cell G1 the date of the day in italics.
Before you start recording, you need to ask yourself several questions:
Question: what to do so that the cell active after the execution of the macro is cell A1?
Size : | 260.632 Kb |
File type : | |
Downloads: | 1057 |
Created: | 2018-05-23 |
Excel VBA tutorial for professionals
Introduction to Excel VBA Macro programming
A course to learn how to use the Word 2010 version, PDF training course to download for free, Microsoft Office Word 2010, training support in 4 pages...
PowerPoint PresentationThis PDF tutorial introduces you to the basic features of PowerPoint which are particularly valuable in the teaching and learning environment....
Beginning Microsoft® Excel®This textbook was written for a community college introductory course in spreadsheets utilizing Microsoft Excel. While the figures shown utilize Excel 2016, the textbook was written to be applicable to other versions of Excel as well. The book introduces new users to the basics of spreadsheets and...
Microsoft Excel 2013Download free Microsoft Excel 2013 Tutorial , a PDF training file under 12 pages for beginners....
Microsoft Word 2013Download courses Microsoft Word 2013 in PDF ,a free training document under 15 pages for beginners....
Excel Data Analysis, 2nd EditionThis book offers a comprehensive and readable introduction to modern business and data ana..., download free Excel Data tutorial in PDF (358 pages) created by Hector Guerrero ....
VBA Tutorials for professionalsDownload free VBA tutorial course in PDF, training file in 46 chapters and 202 pages. Free unaffiliated ebook created from Stack OverFlow contributor....
Microsoft Word 2103 Step by StepThis PDF tutorial provides invaluable handson experience for who want to learn about new features in Word 2013 .It's a free and complet training document under 576 pages for download....
Microsoft Excel 2007 : Essential GuideThe purpose of this course is to provide a basic guide for student who wants to be familar with the basics of Microsoft Excel 2007....
Introduction to Microsoft PublisherDownload Introduction to Microsoft Publisher in PDF, free training document about how to create a perform basic tasks and creating business and greeting card....