Basic Calculator in VB Macros
Rate this article
0 out of 5
This article discuss about creating a Basic Calculator in Microsoft Office Excel....

Introduction

This article is about a project called “Basic Calculator ”, which is done in Microsoft Excel, with the help of Macro. A Macro is a series of commands and functions those are stored in a Microsoft Visual Basic Module and it could be run wherever you need to perform a task. With the help of Macro and Visual Basic Commands, this project will help you to perform different arithmetic  calculations. 


Screen Shot

Background

This article assumes that you have some basic knowledge in Microsoft excel and Visual Basic.



Using this Project

Before doing or editing a project in Macro you should activate macro and explore the developer tab first. 

1. Select the “Microsoft Office” button and  click “Excel option”
2. Select the option “Advanced” and choose “Show developer tab” option.
3. Select “Trust Centre”, click “Trust Centre Settings” and choose Macro Settings.
4. Select “Enable all macros” and click “Trust Access to VBA project object model” option.
5. Select OK button.

Run Macro: go to the developer tab and select Macro. Run macro by clicking the “Run” button. Edit macro: select “Step into” button, the desired VBA code will be opened for editing the selected macro.



Points of Interest

Some of the basic features used in this project are: Macro, VBA, Module, Workbook, Sheet, Cell, Developer Tab, Insert Controls, Mathematics, Microsoft Excel 2007.



History

08/05/2012 - Article Created


Please download the source code form the below link and try experimenting with the source code.






Basic Calculator Source

   
Messages
Posted:
Post Your Comments
Name (Max 50 Chars)
Comments
   Design  HTML

TekTipsDownload
GateExam
Academic Projects
TekTipsExperts



 
Site optimized for IE7, 1280 X 768 and above. Copyright © 2010 - 2018 KTS InfoTech
Site Developed Using KTS WebCloud