160 likes | 292 Views
Introduction to Visual Basic for Applications. LT Craig Maxey. Context Analyst’s are constantly tasked with an excess of work. Programming capabilities introduced to the analyst community will elevate the efficacy of their work. Purpose
E N D
Introduction to Visual Basic for Applications LT Craig Maxey
Context • Analyst’s are constantly tasked with an excess of work. Programming capabilities introduced to the analyst community will elevate the efficacy of their work. • Purpose • Introduce analysts to the capabilities and functionality of a powerful programming platform resident on each of their machines • Outcome • Will provide analysts an overview of capabilities if they choose to increase their knowledge of Excel VBA FOR OFFICIAL USE ONLY
Overview • Introduction • Capabilities • Macro’s • Integrated Development Environment • Data Types • Range Objects • Iterative Programming • Practice
Capabilities • Applications • HEDIS Opportunity Tool • Data Manipulation • PEB Data Manipulation • Fit To Fill Workflow • Data Cleanup • M2 Data cleanup
Programming Basics FOR OFFICIAL USE ONLY
Data Types • Int - Integers • Double – Double Precision Floating Point • Range from -1.7E308 to 1.7E308 (That’s Big) • Strings – Text (These are objects, but we will worry about what that means later) • Booleans – T/F
Range Object • Represents a contiguous area of cells in a spreadsheet • Range is the base object in Excel VBA Programming
Iterative Programming • For Loop • Do Loop
Summation Idea • Let’s Make a Calculator!!! • What do we need? • How do we return a value?