SlideShare a Scribd company logo
1 of 21
Visual Basic for Applications Companion slides to  http://blip.tv/file/3011639   © The Stanford Decisions and Ethics Center decision.stanford.edu
On our agenda for today… ,[object Object]
Buttons and Macros ,[object Object]
Debugging ,[object Object],[object Object]
Iteration Logic ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Array Indexing  Starts from 1
Iteration Logic ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Iteration Logic ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Iteration Logic ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Conditional Logic ,[object Object],[object Object]
Conditional Logic ,[object Object],[object Object],[object Object],[object Object]
Conditional Logic ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Example ,[object Object],[object Object],[object Object],[object Object]
Reading and Writing ,[object Object],[object Object]
Functions and Subroutines ,[object Object],[object Object],[object Object],[object Object],[object Object]
Refactoring ,[object Object],[object Object],[object Object],[object Object]
Refactoring ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Getting Inputs ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Select Case ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Reffering to cells ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Getting VBA Help ,[object Object],[object Object]
Book on VBA                                                                

More Related Content

Viewers also liked

Latihan visual basic 2010/Looping/Perulangan
Latihan visual basic 2010/Looping/PerulanganLatihan visual basic 2010/Looping/Perulangan
Latihan visual basic 2010/Looping/PerulanganNurul Arhaiyyu
 
Materi 1 Pemrograman berbasis GUI
Materi 1 Pemrograman berbasis GUIMateri 1 Pemrograman berbasis GUI
Materi 1 Pemrograman berbasis GUIRobby Firmansyah
 
Chapter 08
Chapter 08Chapter 08
Chapter 08llmeade
 
Chapter 07
Chapter 07Chapter 07
Chapter 07llmeade
 
Chapter 05
Chapter 05Chapter 05
Chapter 05llmeade
 
Rencana Penyusunan Materi Soal Pemrograman Desktop kelas 11 SMK semester ganj...
Rencana Penyusunan Materi Soal Pemrograman Desktop kelas 11 SMK semester ganj...Rencana Penyusunan Materi Soal Pemrograman Desktop kelas 11 SMK semester ganj...
Rencana Penyusunan Materi Soal Pemrograman Desktop kelas 11 SMK semester ganj...Saprudin Eskom
 
Vb.net session 01
Vb.net session 01Vb.net session 01
Vb.net session 01Niit Care
 
Chapter 4 — Variables and Arithmetic Operations
Chapter 4 — Variables and Arithmetic OperationsChapter 4 — Variables and Arithmetic Operations
Chapter 4 — Variables and Arithmetic Operationsfrancopw
 
Chapter 2 — Program and Graphical User Interface Design
Chapter 2 — Program and Graphical User Interface DesignChapter 2 — Program and Graphical User Interface Design
Chapter 2 — Program and Graphical User Interface Designfrancopw
 
Chapter 3 — Program Design and Coding
Chapter 3 — Program Design and Coding Chapter 3 — Program Design and Coding
Chapter 3 — Program Design and Coding francopw
 
Chapter 1 — Introduction to Visual Basic 2010 Programming
Chapter 1 — Introduction to Visual Basic 2010 Programming Chapter 1 — Introduction to Visual Basic 2010 Programming
Chapter 1 — Introduction to Visual Basic 2010 Programming francopw
 
Introduction to visual basic programming
Introduction to visual basic programmingIntroduction to visual basic programming
Introduction to visual basic programmingRoger Argarin
 

Viewers also liked (13)

Latihan visual basic 2010/Looping/Perulangan
Latihan visual basic 2010/Looping/PerulanganLatihan visual basic 2010/Looping/Perulangan
Latihan visual basic 2010/Looping/Perulangan
 
Materi 1 Pemrograman berbasis GUI
Materi 1 Pemrograman berbasis GUIMateri 1 Pemrograman berbasis GUI
Materi 1 Pemrograman berbasis GUI
 
Chapter 08
Chapter 08Chapter 08
Chapter 08
 
Chapter 07
Chapter 07Chapter 07
Chapter 07
 
Chapter 05
Chapter 05Chapter 05
Chapter 05
 
Rencana Penyusunan Materi Soal Pemrograman Desktop kelas 11 SMK semester ganj...
Rencana Penyusunan Materi Soal Pemrograman Desktop kelas 11 SMK semester ganj...Rencana Penyusunan Materi Soal Pemrograman Desktop kelas 11 SMK semester ganj...
Rencana Penyusunan Materi Soal Pemrograman Desktop kelas 11 SMK semester ganj...
 
Vb.net session 01
Vb.net session 01Vb.net session 01
Vb.net session 01
 
Chapter 4 — Variables and Arithmetic Operations
Chapter 4 — Variables and Arithmetic OperationsChapter 4 — Variables and Arithmetic Operations
Chapter 4 — Variables and Arithmetic Operations
 
Chapter 2 — Program and Graphical User Interface Design
Chapter 2 — Program and Graphical User Interface DesignChapter 2 — Program and Graphical User Interface Design
Chapter 2 — Program and Graphical User Interface Design
 
Visual basic .NET
Visual basic .NETVisual basic .NET
Visual basic .NET
 
Chapter 3 — Program Design and Coding
Chapter 3 — Program Design and Coding Chapter 3 — Program Design and Coding
Chapter 3 — Program Design and Coding
 
Chapter 1 — Introduction to Visual Basic 2010 Programming
Chapter 1 — Introduction to Visual Basic 2010 Programming Chapter 1 — Introduction to Visual Basic 2010 Programming
Chapter 1 — Introduction to Visual Basic 2010 Programming
 
Introduction to visual basic programming
Introduction to visual basic programmingIntroduction to visual basic programming
Introduction to visual basic programming
 

More from Somik Raha

Language, Simulation and Inference
Language, Simulation and InferenceLanguage, Simulation and Inference
Language, Simulation and InferenceSomik Raha
 
Decision Analysis Introduction - BIT
Decision Analysis Introduction - BITDecision Analysis Introduction - BIT
Decision Analysis Introduction - BITSomik Raha
 
The Magic of Probability (BIT)
The Magic of Probability (BIT)The Magic of Probability (BIT)
The Magic of Probability (BIT)Somik Raha
 
Holding Space: Listening for god when you totally disagree
Holding Space: Listening for god when you totally disagreeHolding Space: Listening for god when you totally disagree
Holding Space: Listening for god when you totally disagreeSomik Raha
 
DAAG 2018: Emotions and Decision Analysis
DAAG 2018: Emotions and Decision AnalysisDAAG 2018: Emotions and Decision Analysis
DAAG 2018: Emotions and Decision AnalysisSomik Raha
 
The history of the Stanford University Department of Public Safety (Stanford ...
The history of the Stanford University Department of Public Safety (Stanford ...The history of the Stanford University Department of Public Safety (Stanford ...
The history of the Stanford University Department of Public Safety (Stanford ...Somik Raha
 
Finding your Meta-Strategy
Finding your Meta-StrategyFinding your Meta-Strategy
Finding your Meta-StrategySomik Raha
 
Decision Analysis - Ekatva - Gujarati
Decision Analysis - Ekatva - GujaratiDecision Analysis - Ekatva - Gujarati
Decision Analysis - Ekatva - GujaratiSomik Raha
 
Finding Your Voice
Finding Your VoiceFinding Your Voice
Finding Your VoiceSomik Raha
 
A Bayesian Dive
A Bayesian DiveA Bayesian Dive
A Bayesian DiveSomik Raha
 
From Probability to Decision Analysis
From Probability to Decision AnalysisFrom Probability to Decision Analysis
From Probability to Decision AnalysisSomik Raha
 
Gandhi Jayanti
Gandhi Jayanti Gandhi Jayanti
Gandhi Jayanti Somik Raha
 
Values: Finding your Meta-Strategy
Values: Finding your Meta-StrategyValues: Finding your Meta-Strategy
Values: Finding your Meta-StrategySomik Raha
 
Making your School Decision
Making your School DecisionMaking your School Decision
Making your School DecisionSomik Raha
 
The Great Debate
The Great DebateThe Great Debate
The Great DebateSomik Raha
 
Making Good Decisions
Making Good DecisionsMaking Good Decisions
Making Good DecisionsSomik Raha
 
Vivekananda Jaynati: Path of Action
Vivekananda Jaynati: Path of ActionVivekananda Jaynati: Path of Action
Vivekananda Jaynati: Path of ActionSomik Raha
 
Rabindra Jayanti
Rabindra JayantiRabindra Jayanti
Rabindra JayantiSomik Raha
 

More from Somik Raha (20)

Language, Simulation and Inference
Language, Simulation and InferenceLanguage, Simulation and Inference
Language, Simulation and Inference
 
Decision Analysis Introduction - BIT
Decision Analysis Introduction - BITDecision Analysis Introduction - BIT
Decision Analysis Introduction - BIT
 
The Magic of Probability (BIT)
The Magic of Probability (BIT)The Magic of Probability (BIT)
The Magic of Probability (BIT)
 
Holding Space: Listening for god when you totally disagree
Holding Space: Listening for god when you totally disagreeHolding Space: Listening for god when you totally disagree
Holding Space: Listening for god when you totally disagree
 
DAAG 2018: Emotions and Decision Analysis
DAAG 2018: Emotions and Decision AnalysisDAAG 2018: Emotions and Decision Analysis
DAAG 2018: Emotions and Decision Analysis
 
The history of the Stanford University Department of Public Safety (Stanford ...
The history of the Stanford University Department of Public Safety (Stanford ...The history of the Stanford University Department of Public Safety (Stanford ...
The history of the Stanford University Department of Public Safety (Stanford ...
 
Finding your Meta-Strategy
Finding your Meta-StrategyFinding your Meta-Strategy
Finding your Meta-Strategy
 
Akash Bhora
Akash BhoraAkash Bhora
Akash Bhora
 
Decision Analysis - Ekatva - Gujarati
Decision Analysis - Ekatva - GujaratiDecision Analysis - Ekatva - Gujarati
Decision Analysis - Ekatva - Gujarati
 
Finding Your Voice
Finding Your VoiceFinding Your Voice
Finding Your Voice
 
A Bayesian Dive
A Bayesian DiveA Bayesian Dive
A Bayesian Dive
 
From Probability to Decision Analysis
From Probability to Decision AnalysisFrom Probability to Decision Analysis
From Probability to Decision Analysis
 
Gandhi Jayanti
Gandhi Jayanti Gandhi Jayanti
Gandhi Jayanti
 
Values: Finding your Meta-Strategy
Values: Finding your Meta-StrategyValues: Finding your Meta-Strategy
Values: Finding your Meta-Strategy
 
Making your School Decision
Making your School DecisionMaking your School Decision
Making your School Decision
 
The Great Debate
The Great DebateThe Great Debate
The Great Debate
 
Making Good Decisions
Making Good DecisionsMaking Good Decisions
Making Good Decisions
 
Vivekananda Jaynati: Path of Action
Vivekananda Jaynati: Path of ActionVivekananda Jaynati: Path of Action
Vivekananda Jaynati: Path of Action
 
Axiology V16
Axiology V16Axiology V16
Axiology V16
 
Rabindra Jayanti
Rabindra JayantiRabindra Jayanti
Rabindra Jayanti
 

Recently uploaded

What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxChelloAnnAsuncion2
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptxSherlyMaeNeri
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 

Recently uploaded (20)

What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptx
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 

Visual Basic For Applications Companion Slides

  • 1. Visual Basic for Applications Companion slides to http://blip.tv/file/3011639 © The Stanford Decisions and Ethics Center decision.stanford.edu
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21. Book on VBA