An Introduction to Excel VBA Programming
eBook - ePub

An Introduction to Excel VBA Programming

with Applications in Finance and Insurance

  1. 284 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

An Introduction to Excel VBA Programming

with Applications in Finance and Insurance

Book details
Book preview
Table of contents
Citations

About This Book

Excel Visual Basic for Applications (VBA) can be used to automate operations in Excel and is one of the most frequently used software programs for manipulating data and building models in banks and insurance companies. An Introduction to Excel VBA Programming: with Applications in Finance and Insurance introduces readers to the basic fundamentals of VBA Programming while demonstrating applications of VBA to solve real-world problems in finance and insurance. Assuming no prior programming experience and with reproducible examples using code and data, this text is suitable for advanced undergraduate students, graduate students, actuaries, and financial analysts who wish to learn VBA.

Features:



  • Presents the theory behind the algorithms in detail


  • Includes more than 100 exercises with selected solutions


  • Provides VBA code in Excel files and data to reproduce the results in the book


  • Offers a solutions manual for qualified instructors

Frequently asked questions

Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes, you can access An Introduction to Excel VBA Programming by Guojun Gan in PDF and/or ePUB format, as well as other popular books in Business & Finance. We have over one million books available in our catalogue for you to explore.

Information

Year
2017
ISBN
9781315280677
Edition
1
Subtopic
Finance
Part II
Applications
7
Generating Payment Schedules
In this chapter, we implement a simple Visual Basic for Applications (VBA) program that can generate regular payment dates of an interest rate swap according to a business calendar. Figure 7.1 shows the interface of the payment schedule generator.
Image
Figure 7.1: Interface of the payment schedule generator
From 7.1, we see that the interface contains six input cells highlighted in yellow and one button. The output is shown in the first two columns. The first column shows the payment dates, and the second column shows the year fractions between these dates. The goal of this chapter is to implement the payment generator.
7.1 Introduction
A derivative (Garrett, 2013) is a concept in finance and refers to a contract that derives its value from the performance of an underlying entity, such as an asset, index, or interest rate. Derivatives have been used for risk management purposes. For example, insurance companies have used interest rate swaps to hedge the interest rate risks associated with variable annuity contracts.
An interest rate swap (IRS) is a financial derivative in which two parties agree to exchange interest rate cash flows, based on a specified notional amount. Under an IRS, each counterpart agrees to pay either a fixed or floating rate denominated in a particular currency to the other counterpart.
When p...

Table of contents

  1. Cover
  2. Half Title
  3. Title Page
  4. Copyright Page
  5. Dedication
  6. Table of Contents
  7. List of Figures
  8. List of Tables
  9. Preface
  10. I VBA Preliminaries
  11. II Applications
  12. A Solutions to Selected Exercises
  13. References
  14. Index
  15. Index of VBA Keywords