SlideShare a Scribd company logo
VISUAL BASIC FOR
APPLICATIONS WITH
EXCEL

1
To install or enable VBA:












1.Double-click the Add/Remove Programs icon in the Microsoft Windows Control Panel
(found on the Start menu).
2.If you installed Excel as part of Microsoft Office, click Microsoft Office (edition and
version)
3.In the currently installed programs box, and then click the Change button. If you
installed Excel individually, click Excel (edition and version) in the currently installed
programs box, and then click the Change button.
4. On the installation options screen in the Setup program, click the plus sign (+)
next to Office Shared Features.
5. Select Visual Basic for Applications, click the arrow next to your selection, and then
click
6. Run from My Computer.

2












After the installation is complete, you may also need to change the macro security
setting in Excel before you can run any VBA programs. To change the macro security
setting in Excel 2007, do the following:
1. Click the Office button, and then click the Excel Options button. Click the Trust
Center button from the left-hand navigation menu, and then click the Trust Center
Settings button, which opens the Trust Center window.
2. From the Trust Center window, click the Macro Settings icon from the left-hand
navigation Menu and choose the Disable All Macros with Notification option.
3.After the installation is complete, you may also need to change the macro security
setting in excel before you can run any VBA programs. To change the macro
security setting in Excel 2007, do the following:
5. Click the Office button, and then click the Excel Options button. Click the Trust
Center button from the left-hand navigation menu, and then click the Trust Center
Settings button, which opens the Trust Center window.
6. From the Trust Center window, click the Macro Settings icon from the left-hand
navigation Menu and choose the Disable All Macros with Notification option.

3






The VBA development software is included with each component of the Microsoft Office
suite of programs, including Excel. Starting the VBA development software places you in
the VBA programming environment IDE
Getting to the IDE from Excel :
IDE can be acced from Excel through the keystroke Alt + F11 or via the Developer tab
located in the Excel Ribbon as shown in Figure



Microsoft Office button



Launch the Visual Basic Editor

The Ribbon
Accessing the VBA
IDE from the
Ribbon’s
Developer tab.

4






If you do not see the Developer tab in the Ribbon, you will need to change an Excel
option by completing the next set of steps.
1. Click the Office button, and then click the Excel Options icon.
2. Click the Popular icon from the left-hand navigation menu and choose Show
Developer.

5
The menu bar

The Project Explorer window

The Standard
toolbar

An Object
Code window
The Properties
window

Figure 1.3 shows that there is currently one project, called
Book1, open, and that this project contains four Excel objects:
Sheet1, Sheet2, Sheet3, and This Workbook
6
The Sheet1
selection

The Name
property

7
An edited
worksheet name
in Excel.

8
Working with
Form and ActiveX
controls.

9
Manage control
properties
while in Design
Mode

The Command Button control placed on
a worksheet.
10
Click to access the Properties window

Displays the selected
control’s properties

11
The Object
List

The Procedure List

The
Editor

12

More Related Content

What's hot

Tutorial 3 accessing the database
Tutorial 3 accessing the databaseTutorial 3 accessing the database
Tutorial 3 accessing the database
ssa_joe
 
Creating a Microsoft Excel Macro
Creating a Microsoft Excel MacroCreating a Microsoft Excel Macro
Creating a Microsoft Excel Macro
Lauraly DuBois
 
Visual studio ide componects dot net framwork
Visual studio ide componects dot net framworkVisual studio ide componects dot net framwork
Visual studio ide componects dot net framwork
Dipen Parmar
 
Excel training commands not in ribbon
Excel training   commands not in ribbonExcel training   commands not in ribbon
Excel training commands not in ribbonVijay Perepa
 
Module 7: Advanced Quiz Options Task 3
Module 7: Advanced Quiz Options Task 3Module 7: Advanced Quiz Options Task 3
Module 7: Advanced Quiz Options Task 3
Ciel Educttu
 
Module 8: Grade Center Task 1
Module 8: Grade Center Task 1Module 8: Grade Center Task 1
Module 8: Grade Center Task 1
Ciel Educttu
 
Forgot Password to Unprotect Excel Sheet in Two Cases
Forgot Password to Unprotect Excel Sheet in Two CasesForgot Password to Unprotect Excel Sheet in Two Cases
Forgot Password to Unprotect Excel Sheet in Two Cases
Aadewea
 
Module 9: Feedback & Grade Task 1
Module 9: Feedback & Grade Task 1Module 9: Feedback & Grade Task 1
Module 9: Feedback & Grade Task 1
Ciel Educttu
 
Module 6: Assignments Task 2
Module 6: Assignments Task 2Module 6: Assignments Task 2
Module 6: Assignments Task 2
Ciel Educttu
 
Tips about windows 8.1 certification
Tips about windows 8.1 certificationTips about windows 8.1 certification
Tips about windows 8.1 certification
Logitrain
 
Android User Interface: Basic Form Widgets
Android User Interface: Basic Form WidgetsAndroid User Interface: Basic Form Widgets
Android User Interface: Basic Form WidgetsAhsanul Karim
 
Hello android example.
Hello android example.Hello android example.
Hello android example.
Rahul Rana
 
Exporting data from HyperTeam CRM
Exporting data from HyperTeam CRMExporting data from HyperTeam CRM
Exporting data from HyperTeam CRM
HyperTeam USA Business and IT Consulting Inc.
 
Introduction to Eikon
Introduction to EikonIntroduction to Eikon
Introduction to Eikon
isc_library
 
Module 6: Assignments Task 3
Module 6: Assignments Task 3Module 6: Assignments Task 3
Module 6: Assignments Task 3
Ciel Educttu
 
Windows Store apps development
Windows Store apps developmentWindows Store apps development
Windows Store apps development
Laurent Duveau
 
Meta analysis in rev man screen captures-1
Meta analysis in rev man   screen captures-1Meta analysis in rev man   screen captures-1
Meta analysis in rev man screen captures-1
andy andy
 
Fulcrum eForm Creation Tool
Fulcrum eForm Creation ToolFulcrum eForm Creation Tool
Fulcrum eForm Creation Tool
kapilkantkamal
 
How to add the windows calculator to the quick access toolbar in microsoft ex...
How to add the windows calculator to the quick access toolbar in microsoft ex...How to add the windows calculator to the quick access toolbar in microsoft ex...
How to add the windows calculator to the quick access toolbar in microsoft ex...Trường Tiền
 

What's hot (20)

Tutorial 3 accessing the database
Tutorial 3 accessing the databaseTutorial 3 accessing the database
Tutorial 3 accessing the database
 
Creating a Microsoft Excel Macro
Creating a Microsoft Excel MacroCreating a Microsoft Excel Macro
Creating a Microsoft Excel Macro
 
Visual studio ide componects dot net framwork
Visual studio ide componects dot net framworkVisual studio ide componects dot net framwork
Visual studio ide componects dot net framwork
 
Excel training commands not in ribbon
Excel training   commands not in ribbonExcel training   commands not in ribbon
Excel training commands not in ribbon
 
Module 7: Advanced Quiz Options Task 3
Module 7: Advanced Quiz Options Task 3Module 7: Advanced Quiz Options Task 3
Module 7: Advanced Quiz Options Task 3
 
Module 8: Grade Center Task 1
Module 8: Grade Center Task 1Module 8: Grade Center Task 1
Module 8: Grade Center Task 1
 
Asp notes
Asp notesAsp notes
Asp notes
 
Forgot Password to Unprotect Excel Sheet in Two Cases
Forgot Password to Unprotect Excel Sheet in Two CasesForgot Password to Unprotect Excel Sheet in Two Cases
Forgot Password to Unprotect Excel Sheet in Two Cases
 
Module 9: Feedback & Grade Task 1
Module 9: Feedback & Grade Task 1Module 9: Feedback & Grade Task 1
Module 9: Feedback & Grade Task 1
 
Module 6: Assignments Task 2
Module 6: Assignments Task 2Module 6: Assignments Task 2
Module 6: Assignments Task 2
 
Tips about windows 8.1 certification
Tips about windows 8.1 certificationTips about windows 8.1 certification
Tips about windows 8.1 certification
 
Android User Interface: Basic Form Widgets
Android User Interface: Basic Form WidgetsAndroid User Interface: Basic Form Widgets
Android User Interface: Basic Form Widgets
 
Hello android example.
Hello android example.Hello android example.
Hello android example.
 
Exporting data from HyperTeam CRM
Exporting data from HyperTeam CRMExporting data from HyperTeam CRM
Exporting data from HyperTeam CRM
 
Introduction to Eikon
Introduction to EikonIntroduction to Eikon
Introduction to Eikon
 
Module 6: Assignments Task 3
Module 6: Assignments Task 3Module 6: Assignments Task 3
Module 6: Assignments Task 3
 
Windows Store apps development
Windows Store apps developmentWindows Store apps development
Windows Store apps development
 
Meta analysis in rev man screen captures-1
Meta analysis in rev man   screen captures-1Meta analysis in rev man   screen captures-1
Meta analysis in rev man screen captures-1
 
Fulcrum eForm Creation Tool
Fulcrum eForm Creation ToolFulcrum eForm Creation Tool
Fulcrum eForm Creation Tool
 
How to add the windows calculator to the quick access toolbar in microsoft ex...
How to add the windows calculator to the quick access toolbar in microsoft ex...How to add the windows calculator to the quick access toolbar in microsoft ex...
How to add the windows calculator to the quick access toolbar in microsoft ex...
 

Similar to VBA

Vbabook ed2
Vbabook ed2Vbabook ed2
Vbabook ed2
NilsonVallecillo
 
Autocad excel vba
Autocad excel vbaAutocad excel vba
Autocad excel vbarjg_vijay
 
INTRODUCTION TO VISUAL BASICS
INTRODUCTION TO VISUAL BASICS INTRODUCTION TO VISUAL BASICS
INTRODUCTION TO VISUAL BASICS
Prof Ansari
 
Learn Vba excel 2007
Learn Vba excel 2007Learn Vba excel 2007
Learn Vba excel 2007
Steve Johnson
 
Mfc programming tutorial automation step by-step
Mfc programming tutorial automation step by-stepMfc programming tutorial automation step by-step
Mfc programming tutorial automation step by-stepnamtranvanpt
 
GEIT 3341 DATABASE I LAB 2 GEIT 3341 Database I
GEIT 3341  DATABASE I  LAB 2  GEIT 3341 Database I  GEIT 3341  DATABASE I  LAB 2  GEIT 3341 Database I
GEIT 3341 DATABASE I LAB 2 GEIT 3341 Database I
MatthewTennant613
 
Learn Advanced Excel Online
Learn Advanced Excel OnlineLearn Advanced Excel Online
Learn Advanced Excel Online
bigspire
 
Microsoft teams employee onboarding
Microsoft teams employee onboardingMicrosoft teams employee onboarding
Microsoft teams employee onboarding
Parag Rege
 
2580 microsoft excel2010_rtm_wsg_external
2580 microsoft excel2010_rtm_wsg_external2580 microsoft excel2010_rtm_wsg_external
2580 microsoft excel2010_rtm_wsg_externalBrittanyShatia
 
Productivity tools
Productivity toolsProductivity tools
Productivity tools
Angelito Quiambao
 
Office 365 Productivity Tips "February Frenzy"
Office 365 Productivity Tips "February Frenzy"Office 365 Productivity Tips "February Frenzy"
Office 365 Productivity Tips "February Frenzy"
Christian Buckley
 
Form4 cd4
Form4 cd4Form4 cd4
Form4 cd4smktsj2
 
VT University Live Session 3
VT University Live Session 3VT University Live Session 3
VT University Live Session 3
VisibleThread
 
Salesforce Integration | Outlook Sync Guide
Salesforce Integration | Outlook Sync GuideSalesforce Integration | Outlook Sync Guide
Salesforce Integration | Outlook Sync Guide
Piper powered by Icontrol
 
QESUTGPfbmYH3WQF257.pptx
QESUTGPfbmYH3WQF257.pptxQESUTGPfbmYH3WQF257.pptx
QESUTGPfbmYH3WQF257.pptx
RAMCHANDRASHARMA7
 
Basics of excel for medical profession
Basics of excel for medical professionBasics of excel for medical profession
Basics of excel for medical profession
Digital Shende
 
BUS599Business Plan Financials Guide 2.26.2016_final.docNON.docx
BUS599Business Plan Financials Guide 2.26.2016_final.docNON.docxBUS599Business Plan Financials Guide 2.26.2016_final.docNON.docx
BUS599Business Plan Financials Guide 2.26.2016_final.docNON.docx
RAHUL126667
 
Microsoft excel 2007 programme for effective tertiary institution result grading
Microsoft excel 2007 programme for effective tertiary institution result gradingMicrosoft excel 2007 programme for effective tertiary institution result grading
Microsoft excel 2007 programme for effective tertiary institution result gradingAlexander Decker
 

Similar to VBA (20)

Vbabook ed2
Vbabook ed2Vbabook ed2
Vbabook ed2
 
Autocad excel vba
Autocad excel vbaAutocad excel vba
Autocad excel vba
 
INTRODUCTION TO VISUAL BASICS
INTRODUCTION TO VISUAL BASICS INTRODUCTION TO VISUAL BASICS
INTRODUCTION TO VISUAL BASICS
 
Excel ch10
Excel ch10Excel ch10
Excel ch10
 
Learn Vba excel 2007
Learn Vba excel 2007Learn Vba excel 2007
Learn Vba excel 2007
 
Mfc programming tutorial automation step by-step
Mfc programming tutorial automation step by-stepMfc programming tutorial automation step by-step
Mfc programming tutorial automation step by-step
 
GEIT 3341 DATABASE I LAB 2 GEIT 3341 Database I
GEIT 3341  DATABASE I  LAB 2  GEIT 3341 Database I  GEIT 3341  DATABASE I  LAB 2  GEIT 3341 Database I
GEIT 3341 DATABASE I LAB 2 GEIT 3341 Database I
 
Learn Advanced Excel Online
Learn Advanced Excel OnlineLearn Advanced Excel Online
Learn Advanced Excel Online
 
Vba 2 (students copy)
Vba 2 (students copy)Vba 2 (students copy)
Vba 2 (students copy)
 
Microsoft teams employee onboarding
Microsoft teams employee onboardingMicrosoft teams employee onboarding
Microsoft teams employee onboarding
 
2580 microsoft excel2010_rtm_wsg_external
2580 microsoft excel2010_rtm_wsg_external2580 microsoft excel2010_rtm_wsg_external
2580 microsoft excel2010_rtm_wsg_external
 
Productivity tools
Productivity toolsProductivity tools
Productivity tools
 
Office 365 Productivity Tips "February Frenzy"
Office 365 Productivity Tips "February Frenzy"Office 365 Productivity Tips "February Frenzy"
Office 365 Productivity Tips "February Frenzy"
 
Form4 cd4
Form4 cd4Form4 cd4
Form4 cd4
 
VT University Live Session 3
VT University Live Session 3VT University Live Session 3
VT University Live Session 3
 
Salesforce Integration | Outlook Sync Guide
Salesforce Integration | Outlook Sync GuideSalesforce Integration | Outlook Sync Guide
Salesforce Integration | Outlook Sync Guide
 
QESUTGPfbmYH3WQF257.pptx
QESUTGPfbmYH3WQF257.pptxQESUTGPfbmYH3WQF257.pptx
QESUTGPfbmYH3WQF257.pptx
 
Basics of excel for medical profession
Basics of excel for medical professionBasics of excel for medical profession
Basics of excel for medical profession
 
BUS599Business Plan Financials Guide 2.26.2016_final.docNON.docx
BUS599Business Plan Financials Guide 2.26.2016_final.docNON.docxBUS599Business Plan Financials Guide 2.26.2016_final.docNON.docx
BUS599Business Plan Financials Guide 2.26.2016_final.docNON.docx
 
Microsoft excel 2007 programme for effective tertiary institution result grading
Microsoft excel 2007 programme for effective tertiary institution result gradingMicrosoft excel 2007 programme for effective tertiary institution result grading
Microsoft excel 2007 programme for effective tertiary institution result grading
 

More from Raghu nath

Mongo db
Mongo dbMongo db
Mongo db
Raghu nath
 
Ftp (file transfer protocol)
Ftp (file transfer protocol)Ftp (file transfer protocol)
Ftp (file transfer protocol)
Raghu nath
 
Javascript part1
Javascript part1Javascript part1
Javascript part1Raghu nath
 
Regular expressions
Regular expressionsRegular expressions
Regular expressionsRaghu nath
 
Selection sort
Selection sortSelection sort
Selection sortRaghu nath
 
Binary search
Binary search Binary search
Binary search Raghu nath
 
JSON(JavaScript Object Notation)
JSON(JavaScript Object Notation)JSON(JavaScript Object Notation)
JSON(JavaScript Object Notation)Raghu nath
 
Stemming algorithms
Stemming algorithmsStemming algorithms
Stemming algorithmsRaghu nath
 
Step by step guide to install dhcp role
Step by step guide to install dhcp roleStep by step guide to install dhcp role
Step by step guide to install dhcp roleRaghu nath
 
Network essentials chapter 4
Network essentials  chapter 4Network essentials  chapter 4
Network essentials chapter 4Raghu nath
 
Network essentials chapter 3
Network essentials  chapter 3Network essentials  chapter 3
Network essentials chapter 3Raghu nath
 
Network essentials chapter 2
Network essentials  chapter 2Network essentials  chapter 2
Network essentials chapter 2Raghu nath
 
Network essentials - chapter 1
Network essentials - chapter 1Network essentials - chapter 1
Network essentials - chapter 1Raghu nath
 
Python chapter 2
Python chapter 2Python chapter 2
Python chapter 2Raghu nath
 
python chapter 1
python chapter 1python chapter 1
python chapter 1Raghu nath
 
Linux Shell Scripting
Linux Shell ScriptingLinux Shell Scripting
Linux Shell ScriptingRaghu nath
 

More from Raghu nath (20)

Mongo db
Mongo dbMongo db
Mongo db
 
Ftp (file transfer protocol)
Ftp (file transfer protocol)Ftp (file transfer protocol)
Ftp (file transfer protocol)
 
MS WORD 2013
MS WORD 2013MS WORD 2013
MS WORD 2013
 
Msword
MswordMsword
Msword
 
Ms word
Ms wordMs word
Ms word
 
Javascript part1
Javascript part1Javascript part1
Javascript part1
 
Regular expressions
Regular expressionsRegular expressions
Regular expressions
 
Selection sort
Selection sortSelection sort
Selection sort
 
Binary search
Binary search Binary search
Binary search
 
JSON(JavaScript Object Notation)
JSON(JavaScript Object Notation)JSON(JavaScript Object Notation)
JSON(JavaScript Object Notation)
 
Stemming algorithms
Stemming algorithmsStemming algorithms
Stemming algorithms
 
Step by step guide to install dhcp role
Step by step guide to install dhcp roleStep by step guide to install dhcp role
Step by step guide to install dhcp role
 
Network essentials chapter 4
Network essentials  chapter 4Network essentials  chapter 4
Network essentials chapter 4
 
Network essentials chapter 3
Network essentials  chapter 3Network essentials  chapter 3
Network essentials chapter 3
 
Network essentials chapter 2
Network essentials  chapter 2Network essentials  chapter 2
Network essentials chapter 2
 
Network essentials - chapter 1
Network essentials - chapter 1Network essentials - chapter 1
Network essentials - chapter 1
 
Python chapter 2
Python chapter 2Python chapter 2
Python chapter 2
 
python chapter 1
python chapter 1python chapter 1
python chapter 1
 
Linux Shell Scripting
Linux Shell ScriptingLinux Shell Scripting
Linux Shell Scripting
 
Perl
PerlPerl
Perl
 

Recently uploaded

Isios-2024-Professional-Independent-Trustee-Survey.pdf
Isios-2024-Professional-Independent-Trustee-Survey.pdfIsios-2024-Professional-Independent-Trustee-Survey.pdf
Isios-2024-Professional-Independent-Trustee-Survey.pdf
Henry Tapper
 
Greek trade a pillar of dynamic economic growth - European Business Review
Greek trade a pillar of dynamic economic growth - European Business ReviewGreek trade a pillar of dynamic economic growth - European Business Review
Greek trade a pillar of dynamic economic growth - European Business Review
Antonis Zairis
 
Commercial Bank Economic Capsule - May 2024
Commercial Bank Economic Capsule - May 2024Commercial Bank Economic Capsule - May 2024
Commercial Bank Economic Capsule - May 2024
Commercial Bank of Ceylon PLC
 
what is a pi whale and how to access one.
what is a pi whale and how to access one.what is a pi whale and how to access one.
what is a pi whale and how to access one.
DOT TECH
 
how can I sell my pi coins for cash in a pi APP
how can I sell my pi coins for cash in a pi APPhow can I sell my pi coins for cash in a pi APP
how can I sell my pi coins for cash in a pi APP
DOT TECH
 
The European Unemployment Puzzle: implications from population aging
The European Unemployment Puzzle: implications from population agingThe European Unemployment Puzzle: implications from population aging
The European Unemployment Puzzle: implications from population aging
GRAPE
 
innovative-invoice-discounting-platforms-in-india-empowering-retail-investors...
innovative-invoice-discounting-platforms-in-india-empowering-retail-investors...innovative-invoice-discounting-platforms-in-india-empowering-retail-investors...
innovative-invoice-discounting-platforms-in-india-empowering-retail-investors...
Falcon Invoice Discounting
 
NO1 Uk Rohani Baba In Karachi Bangali Baba Karachi Online Amil Baba WorldWide...
NO1 Uk Rohani Baba In Karachi Bangali Baba Karachi Online Amil Baba WorldWide...NO1 Uk Rohani Baba In Karachi Bangali Baba Karachi Online Amil Baba WorldWide...
NO1 Uk Rohani Baba In Karachi Bangali Baba Karachi Online Amil Baba WorldWide...
Amil baba
 
what is the future of Pi Network currency.
what is the future of Pi Network currency.what is the future of Pi Network currency.
what is the future of Pi Network currency.
DOT TECH
 
how to swap pi coins to foreign currency withdrawable.
how to swap pi coins to foreign currency withdrawable.how to swap pi coins to foreign currency withdrawable.
how to swap pi coins to foreign currency withdrawable.
DOT TECH
 
USDA Loans in California: A Comprehensive Overview.pptx
USDA Loans in California: A Comprehensive Overview.pptxUSDA Loans in California: A Comprehensive Overview.pptx
USDA Loans in California: A Comprehensive Overview.pptx
marketing367770
 
how to sell pi coins in South Korea profitably.
how to sell pi coins in South Korea profitably.how to sell pi coins in South Korea profitably.
how to sell pi coins in South Korea profitably.
DOT TECH
 
Economics and Economic reasoning Chap. 1
Economics and Economic reasoning Chap. 1Economics and Economic reasoning Chap. 1
Economics and Economic reasoning Chap. 1
Fitri Safira
 
What price will pi network be listed on exchanges
What price will pi network be listed on exchangesWhat price will pi network be listed on exchanges
What price will pi network be listed on exchanges
DOT TECH
 
Webinar Exploring DORA for Fintechs - Simont Braun
Webinar Exploring DORA for Fintechs - Simont BraunWebinar Exploring DORA for Fintechs - Simont Braun
Webinar Exploring DORA for Fintechs - Simont Braun
FinTech Belgium
 
Latino Buying Power - May 2024 Presentation for Latino Caucus
Latino Buying Power - May 2024 Presentation for Latino CaucusLatino Buying Power - May 2024 Presentation for Latino Caucus
Latino Buying Power - May 2024 Presentation for Latino Caucus
Danay Escanaverino
 
Introduction to Indian Financial System ()
Introduction to Indian Financial System ()Introduction to Indian Financial System ()
Introduction to Indian Financial System ()
Avanish Goel
 
PF-Wagner's Theory of Public Expenditure.pptx
PF-Wagner's Theory of Public Expenditure.pptxPF-Wagner's Theory of Public Expenditure.pptx
PF-Wagner's Theory of Public Expenditure.pptx
GunjanSharma28848
 
Monthly Economic Monitoring of Ukraine No. 232, May 2024
Monthly Economic Monitoring of Ukraine No. 232, May 2024Monthly Economic Monitoring of Ukraine No. 232, May 2024
Turin Startup Ecosystem 2024 - Ricerca sulle Startup e il Sistema dell'Innov...
Turin Startup Ecosystem 2024  - Ricerca sulle Startup e il Sistema dell'Innov...Turin Startup Ecosystem 2024  - Ricerca sulle Startup e il Sistema dell'Innov...
Turin Startup Ecosystem 2024 - Ricerca sulle Startup e il Sistema dell'Innov...
Quotidiano Piemontese
 

Recently uploaded (20)

Isios-2024-Professional-Independent-Trustee-Survey.pdf
Isios-2024-Professional-Independent-Trustee-Survey.pdfIsios-2024-Professional-Independent-Trustee-Survey.pdf
Isios-2024-Professional-Independent-Trustee-Survey.pdf
 
Greek trade a pillar of dynamic economic growth - European Business Review
Greek trade a pillar of dynamic economic growth - European Business ReviewGreek trade a pillar of dynamic economic growth - European Business Review
Greek trade a pillar of dynamic economic growth - European Business Review
 
Commercial Bank Economic Capsule - May 2024
Commercial Bank Economic Capsule - May 2024Commercial Bank Economic Capsule - May 2024
Commercial Bank Economic Capsule - May 2024
 
what is a pi whale and how to access one.
what is a pi whale and how to access one.what is a pi whale and how to access one.
what is a pi whale and how to access one.
 
how can I sell my pi coins for cash in a pi APP
how can I sell my pi coins for cash in a pi APPhow can I sell my pi coins for cash in a pi APP
how can I sell my pi coins for cash in a pi APP
 
The European Unemployment Puzzle: implications from population aging
The European Unemployment Puzzle: implications from population agingThe European Unemployment Puzzle: implications from population aging
The European Unemployment Puzzle: implications from population aging
 
innovative-invoice-discounting-platforms-in-india-empowering-retail-investors...
innovative-invoice-discounting-platforms-in-india-empowering-retail-investors...innovative-invoice-discounting-platforms-in-india-empowering-retail-investors...
innovative-invoice-discounting-platforms-in-india-empowering-retail-investors...
 
NO1 Uk Rohani Baba In Karachi Bangali Baba Karachi Online Amil Baba WorldWide...
NO1 Uk Rohani Baba In Karachi Bangali Baba Karachi Online Amil Baba WorldWide...NO1 Uk Rohani Baba In Karachi Bangali Baba Karachi Online Amil Baba WorldWide...
NO1 Uk Rohani Baba In Karachi Bangali Baba Karachi Online Amil Baba WorldWide...
 
what is the future of Pi Network currency.
what is the future of Pi Network currency.what is the future of Pi Network currency.
what is the future of Pi Network currency.
 
how to swap pi coins to foreign currency withdrawable.
how to swap pi coins to foreign currency withdrawable.how to swap pi coins to foreign currency withdrawable.
how to swap pi coins to foreign currency withdrawable.
 
USDA Loans in California: A Comprehensive Overview.pptx
USDA Loans in California: A Comprehensive Overview.pptxUSDA Loans in California: A Comprehensive Overview.pptx
USDA Loans in California: A Comprehensive Overview.pptx
 
how to sell pi coins in South Korea profitably.
how to sell pi coins in South Korea profitably.how to sell pi coins in South Korea profitably.
how to sell pi coins in South Korea profitably.
 
Economics and Economic reasoning Chap. 1
Economics and Economic reasoning Chap. 1Economics and Economic reasoning Chap. 1
Economics and Economic reasoning Chap. 1
 
What price will pi network be listed on exchanges
What price will pi network be listed on exchangesWhat price will pi network be listed on exchanges
What price will pi network be listed on exchanges
 
Webinar Exploring DORA for Fintechs - Simont Braun
Webinar Exploring DORA for Fintechs - Simont BraunWebinar Exploring DORA for Fintechs - Simont Braun
Webinar Exploring DORA for Fintechs - Simont Braun
 
Latino Buying Power - May 2024 Presentation for Latino Caucus
Latino Buying Power - May 2024 Presentation for Latino CaucusLatino Buying Power - May 2024 Presentation for Latino Caucus
Latino Buying Power - May 2024 Presentation for Latino Caucus
 
Introduction to Indian Financial System ()
Introduction to Indian Financial System ()Introduction to Indian Financial System ()
Introduction to Indian Financial System ()
 
PF-Wagner's Theory of Public Expenditure.pptx
PF-Wagner's Theory of Public Expenditure.pptxPF-Wagner's Theory of Public Expenditure.pptx
PF-Wagner's Theory of Public Expenditure.pptx
 
Monthly Economic Monitoring of Ukraine No. 232, May 2024
Monthly Economic Monitoring of Ukraine No. 232, May 2024Monthly Economic Monitoring of Ukraine No. 232, May 2024
Monthly Economic Monitoring of Ukraine No. 232, May 2024
 
Turin Startup Ecosystem 2024 - Ricerca sulle Startup e il Sistema dell'Innov...
Turin Startup Ecosystem 2024  - Ricerca sulle Startup e il Sistema dell'Innov...Turin Startup Ecosystem 2024  - Ricerca sulle Startup e il Sistema dell'Innov...
Turin Startup Ecosystem 2024 - Ricerca sulle Startup e il Sistema dell'Innov...
 

VBA

  • 2. To install or enable VBA:       1.Double-click the Add/Remove Programs icon in the Microsoft Windows Control Panel (found on the Start menu). 2.If you installed Excel as part of Microsoft Office, click Microsoft Office (edition and version) 3.In the currently installed programs box, and then click the Change button. If you installed Excel individually, click Excel (edition and version) in the currently installed programs box, and then click the Change button. 4. On the installation options screen in the Setup program, click the plus sign (+) next to Office Shared Features. 5. Select Visual Basic for Applications, click the arrow next to your selection, and then click 6. Run from My Computer. 2
  • 3.       After the installation is complete, you may also need to change the macro security setting in Excel before you can run any VBA programs. To change the macro security setting in Excel 2007, do the following: 1. Click the Office button, and then click the Excel Options button. Click the Trust Center button from the left-hand navigation menu, and then click the Trust Center Settings button, which opens the Trust Center window. 2. From the Trust Center window, click the Macro Settings icon from the left-hand navigation Menu and choose the Disable All Macros with Notification option. 3.After the installation is complete, you may also need to change the macro security setting in excel before you can run any VBA programs. To change the macro security setting in Excel 2007, do the following: 5. Click the Office button, and then click the Excel Options button. Click the Trust Center button from the left-hand navigation menu, and then click the Trust Center Settings button, which opens the Trust Center window. 6. From the Trust Center window, click the Macro Settings icon from the left-hand navigation Menu and choose the Disable All Macros with Notification option. 3
  • 4.    The VBA development software is included with each component of the Microsoft Office suite of programs, including Excel. Starting the VBA development software places you in the VBA programming environment IDE Getting to the IDE from Excel : IDE can be acced from Excel through the keystroke Alt + F11 or via the Developer tab located in the Excel Ribbon as shown in Figure  Microsoft Office button  Launch the Visual Basic Editor The Ribbon Accessing the VBA IDE from the Ribbon’s Developer tab. 4
  • 5.    If you do not see the Developer tab in the Ribbon, you will need to change an Excel option by completing the next set of steps. 1. Click the Office button, and then click the Excel Options icon. 2. Click the Popular icon from the left-hand navigation menu and choose Show Developer. 5
  • 6. The menu bar The Project Explorer window The Standard toolbar An Object Code window The Properties window Figure 1.3 shows that there is currently one project, called Book1, open, and that this project contains four Excel objects: Sheet1, Sheet2, Sheet3, and This Workbook 6
  • 9. Working with Form and ActiveX controls. 9
  • 10. Manage control properties while in Design Mode The Command Button control placed on a worksheet. 10
  • 11. Click to access the Properties window Displays the selected control’s properties 11
  • 12. The Object List The Procedure List The Editor 12