AutoCAD VBA Programming

Size: px
Start display at page:

Download "AutoCAD VBA Programming"

Transcription

1 AutoCAD VBA Programming TOOLS AND TECHNIQUES John Gibband Bill Kramer Freeman fbooks San Francisco

2 Table of Contents Introduction Chapter 1: The AutoCAD VBA Environment 1 AutoCAD Programming Solutions 1 How AutoLISP Differs from VBA 3 Visual BASIC versus Visual BASIC for Applications 7 Essential VBA Vocabulary and Concepts 8 Getting Comfortable with the IDE 12 Starting the VBA IDE 13 What's in the IDE? 14 Developing Applications with VBA inside AutoCad 17 Chapter 2: VBA Application Jump-Start 20 Description of the Application 20 Start Your IDE 21 Design the Form 21 First Lines of Program Code 23 Form Properties 24 Add a List Box Control 25 Programming the Starting Sequence 26 Global Variable Declarations 27 Counting Blocks Macro 28 Test Run the Main Macro 33 List Box Reactor Function 34 Test the Program 37 Final Test 38 Chapter 3: Understanding the AutoCAD Object-Oriented Database 39 Object-Oriented Programming Introduction 39 What's an Object? 41 The Management Features of Objects 42 Object Concept Example 43 Computer Science Description of Objects 46 How Objects Are Stored in a Computer 47 About Creating New Objects 49 The AutoCAD Object Tree 49 The Document Object 52 Collection Objects 53 The Block Collection Object 53 Entity Objects 54 Learning about Objects in VBA 56 xiii

3 Chapter 4: The AutoCAD Object Model 59 Methods, Properties, and Events 59 Exploration of the AutoCAD Object Tree 60 Getting to the Application Object 61 The Application Object 62 Accessing the Document Object in VB 66 The Documents Collection 67 Document Object Methods 70 Document Object Properties 71 Document Object Events 74 Event Programming Example 77 Utility Object Functions 78 Collections of Objects 83 Entity Objects 85 Curved Entity Objects 89 Text Entity Objects 93 Preferences 94 Example Sequence 96 Chapter 5: Working with Entity Collection Objects 102 The Collection Object 102 Selection Sets Collection 103 Building a Collection of Entity Objects 104 Accessing Selection Set Members 106 More Selection Set Methods and Properties 107 Selection Set Collection Iterations 108 ModelSpace and PaperSpace Collections 111 Even More Selection Set Methods 112 Filtering the Selection Set 117 Refining the Filters - Numeric Tests 120 String Tests in Filters 123 Combining Multiple Tests 124 Selection Set Maintenance Issues 128 Working with Collections 130 Chapter 6: Drawing Tables 131 AutoCAD Drawing Tables 131 Tables Are Collections 132 The Dictionary Collection 133

4 The DimStyles Collection 134 The Groups Collection 136 Groups versus Dictionaries 138 The Layer Collection 139 The Linetypes Collection 142 The Registered Apps Collection 143 The Text Styles Collection 143 The UCS Collection 145 The Views Collection 147 The View Ports Collection 148 View Port Object 150 The Paper Space View Port Object 152 The Blocks Collection 154 Creating a New Block Definition 155 Reading a Block Definition 156 Working with Attribute Objects in a Block 162 Chapter 7: Working with Other Applications 167 Object Models 167 Interface to Microsoft Excel 169 Excel Application 1-Simple Database 170 Link to Excel 171 Variable Declarations 172 Excel Linkage Function 173 Closing the Workbook 175 Searching the Worksheet 176 Another Example Interface to Microsoft Excel 179 Using Handies 184 Object ID versus Handle 186 Linking with Other Applications 187 Storing Data in AutoCAD 188 Dictionary Object 188 Xrecord Objects 189 Accessing a Dictionary 189 Xrecord Contents 190 Reading Xrecords 192 Group Codes in Xrecords 193 Extended Data 194 Simple Xdata Example 196

5 Chapter 8: Managing Multiple Projects 201 Putting Complete Applications Together 201 Loading Projects to Run 204 Embedded Projects 205 Projects on Disk 205 Re-using Code 207 Running a Macro from Another Project 208 Sharing Data between Projects 210 Late and Early Binding in VBA 211 Multiple Projects in Release Chapter9: API Calls from VBA 214 What's an API? 214 The API Viewer 216 INI File Calls 217 How the PrivateProfileString APIs Work 218 Registry Calls 225 The Registry Editor 226 The VBA Registry Functions 227 System Calls 230 Computer Name 232 User's Login Name 232 System and Local Time 233 The Windows Temporary Directory 234 System Environmental Variable 234 Free Disk Space 235 Conclusion 236 Chapter 10: VBA Toolbox Routines 237 Definition of Terms 238 Toolbox Overview 238 Acquiring Data Items from a Data String 239 Add Back Slashes Result to a Path String 240 Add Trailing Back Slash to a String Path 241 Convert an Object's Entity Type to English 242 Count the Number of Occurrences of a Delimiter in a String 243 Create a Directory Path 244 Determine the Tense of a Word 245 Display a Fatal Error Message 246

6 Find a File 247 Find a Line in a List Box Control 248 Find an Application Window 249 Format a Point in a String 250 Get the Current View's Corner Points 251 Get the Extension from a String 252 Get the Left Substring from a String 253 Get the Path from a String 254 Get the Right Substring from a String 255 Päd a String with Spaces 256 Remove a String's Null Terminator 257 Replace all Requested Characters in a String with Another Character 258 Retrieve the System's Windows Directory 259 Show a Progress Spinner 260 Strip an Extension from a String 262 Strip the Path from a String 263 Verify a Control Exists on a Form 264 Verify a File's Existence 265 Verify a Listbox Item Exists 266 Chapterll: VB versus VBA 267 Quick Comparison of VB and VBA 268 Which Language for Which Situation? 272 Differences at the System Level 273 Porting Issues from VB to VBA 273 Porting Issues from VBA to VB 274 Attaching Your VB Application to the AutoCAD Object Model 274 VB and VBA Help 276 VB and VBA Help Conclusion 287 Chapter 12: Gotcha's and Tips 288 Divergent Data Type Comparison 289 Using Control Keys to Maneuver in VBA 291 Class Modules in VBA 293 The Special Character for Date and Format 295 Named and Optional Arguments 296 Using an Array of Doubles versus a Variant as an Array Passing an Array to an Object's Methods 300 Collections and Procedures 300

7 Short Circuit Evaluation 302 Accessing Objects on the Same Level as Your Current Object 303 Listbox Columns 305 Multiselect in a Listbox 308 Variable Name Shortcuts 309 Command Line Workaround 309 Passing Forms and Controls as Parameters 311 Multipage Form Controls 312 Conclusion 312 Chapter 13: Programming Style 313 Commenting Your Code 314 Keeping Code Concise and Simple 316 Proper Use of Subroutines and Functions 318 Scope, Precedence, and Life of Variables 319 Error Trapping 322 Do You Need to Change Your Programming Style for VBA? 323 Event-Driven versus Procedural-Driven Language 324 The Hungarian Naming Convention 326 Conclusion 330 Chapter 14: Class Modules and Objects 331 Not All Objects Are Equal 331 The VBA Class Module 332 Objects Example 1: Extended Data Manipulations 334 Making a Class Module 335 Properties 337 Methods 341 The Extended Data Example Project 345 Extended Data Object Conclusion 348 Objects Example 2: Hole Chart 349 An Object in an Object 350 The Inner Object 352 The Hole Charting Example Project 355 Hole Chart Application Conclusion 357 Creating Your Own Object 357

MS Excel VBA Class Goals

MS Excel VBA Class Goals MS Excel VBA 2013 Class Overview: Microsoft excel VBA training course is for those responsible for very large and variable amounts of data, or teams, who want to learn how to program features and functions

More information

Workbooks (File) and Worksheet Handling

Workbooks (File) and Worksheet Handling Workbooks (File) and Worksheet Handling Excel Limitation Excel shortcut use and benefits Excel setting and custom list creation Excel Template and File location system Advanced Paste Special Calculation

More information

BASIC EXCEL SYLLABUS Section 1: Getting Started Section 2: Working with Worksheet Section 3: Administration Section 4: Data Handling & Manipulation

BASIC EXCEL SYLLABUS Section 1: Getting Started Section 2: Working with Worksheet Section 3: Administration Section 4: Data Handling & Manipulation BASIC EXCEL SYLLABUS Section 1: Getting Started Unit 1.1 - Excel Introduction Unit 1.2 - The Excel Interface Unit 1.3 - Basic Navigation and Entering Data Unit 1.4 - Shortcut Keys Section 2: Working with

More information

Excel 2016: Introduction to VBA

Excel 2016: Introduction to VBA Excel 2016: Introduction to VBA In the previous Excel courses, you used Excel to simplify business tasks, including the creation of spreadsheets, graphs, charts, and formulas that were difficult to create

More information

Excel Programming with VBA (Macro Programming) 24 hours Getting Started

Excel Programming with VBA (Macro Programming) 24 hours Getting Started Excel Programming with VBA (Macro Programming) 24 hours Getting Started Introducing Visual Basic for Applications Displaying the Developer Tab in the Ribbon Recording a Macro Saving a Macro-Enabled Workbook

More information

Acknowledgments. Chapter 1: Primer in Excel VBA 1. Chapter 2: The Application Object 63

Acknowledgments. Chapter 1: Primer in Excel VBA 1. Chapter 2: The Application Object 63 Acknowledgments Introduction xxi xxiii Chapter 1: Primer in Excel VBA 1 Using the Macro Recorder 2 Recording Macros 2 Running Macros 6 The Visual Basic Editor 8 Other Ways to Run Macros 11 User-Defined

More information

Getting started 7. Writing macros 23

Getting started 7. Writing macros 23 Contents 1 2 3 Getting started 7 Introducing Excel VBA 8 Recording a macro 10 Viewing macro code 12 Testing a macro 14 Editing macro code 15 Referencing relatives 16 Saving macros 18 Trusting macros 20

More information

Advance Excel Performing calculations on data 1. Naming groups of data 2. Creating formulas to calculate values

Advance Excel Performing calculations on data 1. Naming groups of data 2. Creating formulas to calculate values Advance Excel 2013 Getting started with Excel 2013 1. Identifying the different Excel 2013 programs 2. Identifying new features of Excel 2013 a. If you are upgrading from Excel 2010 b. If you are upgrading

More information

<excelunusual.com> Easy Zoom -Chart axis Scaling Using VBA - by George Lungu. <www.excelunusual.com> 1. Introduction: Chart naming: by George Lungu

<excelunusual.com> Easy Zoom -Chart axis Scaling Using VBA - by George Lungu. <www.excelunusual.com> 1. Introduction: Chart naming: by George Lungu Easy Zoom -Chart axis Scaling Using VBA - by George Lungu Introduction: - In certain models we need to be able to change the scale of the chart axes function of the result of a simulation - An Excel chart

More information

Introduction... 1 Part I: Getting Started with Excel VBA Programming Part II: How VBA Works with Excel... 31

Introduction... 1 Part I: Getting Started with Excel VBA Programming Part II: How VBA Works with Excel... 31 Contents at a Glance Introduction... 1 Part I: Getting Started with Excel VBA Programming... 9 Chapter 1: What Is VBA?...11 Chapter 2: Jumping Right In...21 Part II: How VBA Works with Excel... 31 Chapter

More information

CSE 123 Introduction to Computing

CSE 123 Introduction to Computing CSE 123 Introduction to Computing Lecture 6 Programming with VBA (Projects, forms, modules, variables, flowcharts) SPRING 2012 Assist. Prof. A. Evren Tugtas Starting with the VBA Editor Developer/Code/Visual

More information

ADVANCED EXCEL Course Modules for Advance Excel Training Online (MS Excel 2013 Course):

ADVANCED EXCEL Course Modules for Advance Excel Training Online (MS Excel 2013 Course): Course Modules for Advance Excel Training Online (MS Excel 2013 Course): ADVANCED EXCEL 2013 1 Getting started with Excel 2013 A Identifying the different Excel 2013 programs B Identifying new features

More information

Work more efficiently by learning how to automate recurring tasks and create user applications

Work more efficiently by learning how to automate recurring tasks and create user applications V B A ( M A C R O S ) Work more efficiently by learning how to automate recurring tasks and create user applications Prepared by: XL Your Mind Gneisenaustraße 27 40477, Düsseldorf Germany W H A T T O E

More information

Visual Basic Primer A. A. Cousins

Visual Basic Primer A. A. Cousins Hard Wiring The first research computers of the late 1940s were programmed by hard wiring. Cables were plugged and unplugged into huge patch boards to physically alter the electrical circuitry. To program

More information

Class #2 Lab: Basic CAD Skills & Standards. Basic AutoCAD Interface AutoCAD Skills AutoCAD Standards

Class #2 Lab: Basic CAD Skills & Standards. Basic AutoCAD Interface AutoCAD Skills AutoCAD Standards Class #2 Lab: Basic CAD Skills & Standards 1230 Building Tech II NYC College of Technology Professor: Daniel Friedman AIA LEED AP Fall 2012 Paperspace/ Layouts Paperspace Paperspace Paperspace Paperspace

More information

VBA for AutoCAD 2002:

VBA for AutoCAD 2002: VBA for AutoCAD 2002: Writing AutoCAD Macros JEFFREY E. CLARK Prentice Hall PTR Upper Saddle River, NJ 07458 www.phptr. com '^J-? CONTENTS PREFACE xxi ACKNOWLEDGMENTS xxix Part One: The AutoCAD VBA Environment

More information

COURSE CONTENT Excel with VBA Training

COURSE CONTENT Excel with VBA Training COURSE CONTENT Excel with VBA Training MS Excel - Advance 1. Excel Quick Overview Use of Excel, its boundaries & features 2. Data Formatting & Custom setting Number, Text, Date, Currency, Custom settings.

More information

6/14/2010. VBA program units: Subroutines and Functions. Functions: Examples: Examples:

6/14/2010. VBA program units: Subroutines and Functions. Functions: Examples: Examples: VBA program units: Subroutines and Functions Subs: a chunk of VBA code that can be executed by running it from Excel, from the VBE, or by being called by another VBA subprogram can be created with the

More information

Programming with the Peltier Tech Utility

Programming with the Peltier Tech Utility Programming with the Peltier Tech Utility The Peltier Tech Utility was designed so that much of its functionality is available via VBA as well as through the Excel user interface. This document explains

More information

Contents. More Controls 51. Visual Basic 1. Introduction to. xiii. Modify the Project 30. Print the Project Documentation 35

Contents. More Controls 51. Visual Basic 1. Introduction to. xiii. Modify the Project 30. Print the Project Documentation 35 Contents Modify the Project 30 Introduction to Print the Project Documentation 35 Visual Basic 1 Sample Printout 36 Writing Windows Applications The Form Image 36 The Code 37 with Visual Basic 2 The Form

More information

Copyright. Trademarks Attachmate Corporation. All rights reserved. USA Patents Pending. WRQ ReflectionVisual Basic User Guide

Copyright. Trademarks Attachmate Corporation. All rights reserved. USA Patents Pending. WRQ ReflectionVisual Basic User Guide PROGRAMMING WITH REFLECTION: VISUAL BASIC USER GUIDE WINDOWS XP WINDOWS 2000 WINDOWS SERVER 2003 WINDOWS 2000 SERVER WINDOWS TERMINAL SERVER CITRIX METAFRAME CITRIX METRAFRAME XP ENGLISH Copyright 1994-2006

More information

Drawing an Integrated Circuit Chip

Drawing an Integrated Circuit Chip Appendix C Drawing an Integrated Circuit Chip In this chapter, you will learn how to use the following VBA functions to World Class standards: Beginning a New Visual Basic Application Opening the Visual

More information

LmÉPï C Á npï À ƵÀ ïì itech Analytic Solutions

LmÉPï C Á npï À ƵÀ ïì itech Analytic Solutions LmÉPï C Á npï À ƵÀ ïì itech Analytic Solutions No. 9, 1st Floor, 8th Main, 9th Cross, SBM Colony, Brindavan Nagar, Mathikere, Bangalore 560 054 Email: itechanalytcisolutions@gmail.com Website: www.itechanalytcisolutions.com

More information

Excel VBA. Microsoft Excel is an extremely powerful tool that you can use to manipulate, analyze, and present data.

Excel VBA. Microsoft Excel is an extremely powerful tool that you can use to manipulate, analyze, and present data. Excel VBA WHAT IS VBA AND WHY WE USE IT Microsoft Excel is an extremely powerful tool that you can use to manipulate, analyze, and present data. Sometimes though, despite the rich set of features in the

More information

Speaker Name: Darren J. Young / Course Title: Introduction to Visual LISP's vl- functions. Course ID: CP42-3

Speaker Name: Darren J. Young / Course Title: Introduction to Visual LISP's vl- functions. Course ID: CP42-3 Las Vegas, Nevada, December 3 6, 2002 Speaker Name: Darren J. Young / dyoung@mcwi.com Course Title: Introduction to Visual LISP's vl- functions Course ID: CP42-3 Course Outline: This course presents long-time

More information

User Guide. Version 2.0. Excel Spreadsheet to AutoCAD drawing Utility. Supports AutoCAD 2000 through Supports Excel 97, 2000, XP, 2003, 2007

User Guide. Version 2.0. Excel Spreadsheet to AutoCAD drawing Utility. Supports AutoCAD 2000 through Supports Excel 97, 2000, XP, 2003, 2007 User Guide Spread2Cad Pro! Version 2.0 Excel Spreadsheet to AutoCAD drawing Utility Supports AutoCAD 2000 through 2007 Supports Excel 97, 2000, XP, 2003, 2007 Professional tools for productivity! 1 Bryon

More information

Extending the Unit Converter

Extending the Unit Converter Extending the Unit Converter You wrote a unit converter previously that converted the values in selected cells from degrees Celsius to degrees Fahrenheit. You could write separate macros to do different

More information

Customizing the Excel 2013 program window. Getting started with Excel 2013

Customizing the Excel 2013 program window. Getting started with Excel 2013 Customizing the Excel 2013 program window 1 2 Getting started with Excel 2013 Working with data and Excel tables Creating workbooks Modifying workbooks Modifying worksheets Merging and unmerging cells

More information

Excel 2013 Power Programming with VBA

Excel 2013 Power Programming with VBA Excel 2013 Power Programming with VBA Excel 2013 Power Programming with VBA by John Walkenbach Excel 2013 Power Programming with VBA Published by John Wiley & Sons, Inc. 111 River Street Hoboken, NJ 07030-5774

More information

Introduction to The Femap API

Introduction to The Femap API Introduction to The Femap API ATA Engineering, Inc. 13290 Evening Creek Drive South Suite 250 San Diego, CA 92130 T 858.480.2000 F 858.792.8932 www.ata-e.com Prepared by: Kurt Knutson Manager of Software

More information

Table of Contents COPYRIGHTED MATERIAL. Introduction Book I: Excel Basics Chapter 1: The Excel 2013 User Experience...

Table of Contents COPYRIGHTED MATERIAL. Introduction Book I: Excel Basics Chapter 1: The Excel 2013 User Experience... Table of Contents Introduction... 1 About This Book...1 Foolish Assumptions...2 How This Book Is Organized...3 Book I: Excel Basics...3 Book II: Worksheet Design...3 Book III: Formulas and Functions...4

More information

Macros enable you to automate almost any task that you can undertake

Macros enable you to automate almost any task that you can undertake Chapter 1: Building and Running Macros In This Chapter Understanding how macros do what they do Recording macros for instant playback Using the relative option when recording macros Running the macros

More information

Speaker Name: Bill Kramer. Course: CP33-2 A Visual LISP Wizard's Intro to Object Magic. Course Description

Speaker Name: Bill Kramer. Course: CP33-2 A Visual LISP Wizard's Intro to Object Magic. Course Description Speaker Name: Bill Kramer Course: CP33-2 A Visual LISP Wizard's Intro to Object Magic Course Description This course introduces the use of objects in Visual LISP and demonstrates how they can be created

More information

Microsoft Excel 2016 Level 1

Microsoft Excel 2016 Level 1 Microsoft Excel 2016 Level 1 One Day Course Course Description You have basic computer skills such as using a mouse, navigating through windows, and surfing the Internet. You have also used paper-based

More information

VBA Excel 2013/2016. VBA Visual Basic for Applications. Learner Guide

VBA Excel 2013/2016. VBA Visual Basic for Applications. Learner Guide VBA Visual Basic for Applications Learner Guide 1 Table of Contents SECTION 1 WORKING WITH MACROS...5 WORKING WITH MACROS...6 About Excel macros...6 Opening Excel (using Windows 7 or 10)...6 Recognizing

More information

Advanced Financial Modeling Macros. EduPristine

Advanced Financial Modeling Macros. EduPristine Advanced Financial Modeling Macros EduPristine www.edupristine.com/ca Agenda Introduction to Macros & Advanced Application Building in Excel Introduction and context Key Concepts in Macros Macros as recorded

More information

Corporate essentials

Corporate essentials Microsoft Office Excel 2016, Corporate essentials A comprehensive package for corporates and government organisations Knowledge Capital London transforming perfomance through learning MS OFFICE EXCEL 2016

More information

Acknowledgments Introduction. Part I: Programming Access Applications 1. Chapter 1: Overview of Programming for Access 3

Acknowledgments Introduction. Part I: Programming Access Applications 1. Chapter 1: Overview of Programming for Access 3 74029ftoc.qxd:WroxPro 9/27/07 1:40 PM Page xiii Acknowledgments Introduction x xxv Part I: Programming Access Applications 1 Chapter 1: Overview of Programming for Access 3 Writing Code for Access 3 The

More information

CERTIFICATE IN WEB PROGRAMMING

CERTIFICATE IN WEB PROGRAMMING COURSE DURATION: 6 MONTHS CONTENTS : CERTIFICATE IN WEB PROGRAMMING 1. PROGRAMMING IN C and C++ Language 2. HTML/CSS and JavaScript 3. PHP and MySQL 4. Project on Development of Web Application 1. PROGRAMMING

More information

Multiframe. Windows Version 10. Automation Manual

Multiframe. Windows Version 10. Automation Manual Multiframe Windows Version 10 Automation Manual Formation Design Systems Pty Ltd 1984 2007 License & Copyright Multiframe Program 1985-2007 Formation Design Systems Multiframe is copyrighted and all rights

More information

About Codefrux While the current trends around the world are based on the internet, mobile and its applications, we try to make the most out of it. As for us, we are a well established IT professionals

More information

Microsoft Excel 2010 Level 1

Microsoft Excel 2010 Level 1 Microsoft Excel 2010 Level 1 One Day Course Course Description You have basic computer skills such as using a mouse, navigating through windows, and surfing the Internet. You have also used paper-based

More information

Text. Text Actions. String Contains

Text. Text Actions. String Contains Text The Text Actions are intended to refine the texts acquired during other actions, for example, from web-elements, remove unnecessary blank spaces, check, if the text matches the defined content; and

More information

Contents. Some Basics Simple VBA Procedure (Macro) To Execute The Procedure Recording A Macro About Macro Recorder VBA Objects Reference

Contents. Some Basics Simple VBA Procedure (Macro) To Execute The Procedure Recording A Macro About Macro Recorder VBA Objects Reference Introduction To VBA Contents Some Basics Simple VBA Procedure (Macro) To Execute The Procedure Recording A Macro About Macro Recorder VBA Objects Reference Some Basics Code: You perform actions in VBA

More information

CREOLE FORTH FOR EXCEL. Joseph M. O Connor SVFIG Forth Day November 2016

CREOLE FORTH FOR EXCEL. Joseph M. O Connor SVFIG Forth Day November 2016 CREOLE FORTH FOR EXCEL Joseph M. O Connor SVFIG Forth Day November 2016 Creole Forth started out as a Delphi component Inspired by Norman Smith s UNTIL Used successfully as a macro/scripting language in

More information

Welcome to Microsoft Excel 2013 p. 1 Customizing the QAT p. 5 Customizing the Ribbon Control p. 6 The Worksheet p. 6 Excel 2013 Specifications and

Welcome to Microsoft Excel 2013 p. 1 Customizing the QAT p. 5 Customizing the Ribbon Control p. 6 The Worksheet p. 6 Excel 2013 Specifications and Preface p. xi Welcome to Microsoft Excel 2013 p. 1 Customizing the QAT p. 5 Customizing the Ribbon Control p. 6 The Worksheet p. 6 Excel 2013 Specifications and Limits p. 9 Compatibility with Other Versions

More information

Debugging Code in Access 2002

Debugging Code in Access 2002 0672321025 AppA 10/24/01 3:53 PM Page 1 Debugging Code in Access 2002 APPENDIX A IN THIS APPENDIX Setting the Correct Module Options for Maximum Debugging Power 2 Using the Immediate Window 6 Stopping

More information

Themes & Templates Applying a theme Customizing a theme Creatingfilefromtemplate Creating yourowncustomize Template Using templates Editing templates

Themes & Templates Applying a theme Customizing a theme Creatingfilefromtemplate Creating yourowncustomize Template Using templates Editing templates Introducing Excel Understanding Workbooks and Worksheets Moving around a Worksheet Introducing the Ribbon Accessing the Ribbon by using your keyboard Using Shortcut Menus Customizing Your Quick Access

More information

Macros enable you to automate almost any task that you can undertake

Macros enable you to automate almost any task that you can undertake Chapter 1: Building and Running Macros In This Chapter Understanding how macros do what they do Recording macros for instant playback Using the relative option when recording macros Running the macros

More information

CONTENTS. Foreword xvii. Introduction xx Prerequisites xx. Section I Introduction to Macros 1

CONTENTS. Foreword xvii. Introduction xx Prerequisites xx. Section I Introduction to Macros 1 INSIDE LOTUS 1-2-3 MACROS REVISED AND EXPANDED RICHARD W. RIDINGTON, JR H. SCOTT TUCKER SUMMARY Inside Lotus 1-2-3 Macros, Revised and Expanded is a complete reference to 1-2-3 macros by the two leading

More information

Instructions for creating and modifying queries will be available in the future.

Instructions for creating and modifying queries will be available in the future. This document is intended to get you started quickly with BEx Analyzer 7.0. You will be able to open, run, and save queries; and export your data to Excel. Instructions for creating and modifying queries

More information

Road Map for Essential Studio 2011 Volume 2

Road Map for Essential Studio 2011 Volume 2 Road Map for Essential Studio 2011 Volume 2 Essential Studio User Interface Edition... 3 Windows Phone... 3 Essential Tools for WP7... 3 Essential Chart for WP7... 3 Essential Gauge for WP7... 3 ASP.NET...

More information

To understand the limitations of paper spreadsheets and to explore the Excel environment, you will:

To understand the limitations of paper spreadsheets and to explore the Excel environment, you will: L E S S O N 1 Excel basics Suggested teaching time 20-30 minutes Lesson objectives To understand the limitations of paper spreadsheets and to explore the Excel environment, you will: a b c Identify some

More information

Manual Calculation Definition Excel 2010 Vba Set

Manual Calculation Definition Excel 2010 Vba Set Manual Calculation Definition Excel 2010 Vba Set The default is to calculate them automatically, unless certain criteria are met. written for users of the following Microsoft Excel versions: 2007, 2010,

More information

Contents I Introduction 1 Introduction to PL/SQL iii

Contents I Introduction 1 Introduction to PL/SQL iii Contents I Introduction Lesson Objectives I-2 Course Objectives I-3 Human Resources (HR) Schema for This Course I-4 Course Agenda I-5 Class Account Information I-6 Appendixes Used in This Course I-7 PL/SQL

More information

Nomas Training. Course Outlines

Nomas Training. Course Outlines Nomas Training Course Outlines Nomas Training & Consultancy Ltd www.nomas.co.uk Training Course Outlines * COURSE LEVEL TOPICS An Introductory course for new users of this package. INTRODUCTION Entering

More information

C# 2008 and.net Programming for Electronic Engineers - Elektor - ISBN

C# 2008 and.net Programming for Electronic Engineers - Elektor - ISBN Contents Contents 5 About the Author 12 Introduction 13 Conventions used in this book 14 1 The Visual Studio C# Environment 15 1.1 Introduction 15 1.2 Obtaining the C# software 15 1.3 The Visual Studio

More information

Chapter 1: Excel in a Nutshell 3 Chapter 2: Basic Facts about Formulas 33 Chapter 3: Working with Names 59

Chapter 1: Excel in a Nutshell 3 Chapter 2: Basic Facts about Formulas 33 Chapter 3: Working with Names 59 Contents at a Glance Part I: Basic Information Chapter 1: Excel in a Nutshell 3 Chapter 2: Basic Facts about Formulas 33 Chapter 3: Working with Names 59 Part II: Using Functions in Your Formulas Chapter

More information

Prentice Hall CBT Systems X In A Box IT Courses

Prentice Hall CBT Systems X In A Box IT Courses Prentice Hall CBT Systems X In A Box IT Courses We make it click Visual Basic 5 In A Box Gary Cornell and Dave Jezak Prentice Hall PTR Upper Saddle River, NJ 07458 http://www.phptr.com Part of the Prentice

More information

Never Give Up Page 1

Never Give Up Page 1 VISUAL BASIC FOR APPLICATIONS (VBA) & MACROS TRAINING: Microsoft Visual Basic for Applications (VBA, Macros) when used with Microsoft Excel can build powerful automated business tools quickly and with

More information

Task 2 Guidance (P2, P3, P4, M1, M2)

Task 2 Guidance (P2, P3, P4, M1, M2) Task 2 Guidance (P2, P3, P4, M1, M2) P2 Make sure that your spreadsheet model meets the complex criteria and exhibits some aspects of complexity such as multiple worksheets (with links), complex formulae

More information

DATA 301 Introduction to Data Analytics Microsoft Excel VBA. Dr. Ramon Lawrence University of British Columbia Okanagan

DATA 301 Introduction to Data Analytics Microsoft Excel VBA. Dr. Ramon Lawrence University of British Columbia Okanagan DATA 301 Introduction to Data Analytics Microsoft Excel VBA Dr. Ramon Lawrence University of British Columbia Okanagan ramon.lawrence@ubc.ca DATA 301: Data Analytics (2) Why Microsoft Excel Visual Basic

More information

James Foxall. Sams Teach Yourself. Visual Basic 2012 *24. Hours. sams. 800 East 96th Street, Indianapolis, Indiana, USA

James Foxall. Sams Teach Yourself. Visual Basic 2012 *24. Hours. sams. 800 East 96th Street, Indianapolis, Indiana, USA James Foxall Sams Teach Yourself Visual Basic 2012 *24 Hours sams 800 East 96th Street, Indianapolis, Indiana, 46240 USA Table of Contents Introduction 1 PART I: The Visual Basic 2012 Environment HOUR

More information

Delivering training since 1996

Delivering training since 1996 VBA (Visual Basic for Applications) is an Object Oriented Language. This programming language can be used to automate tasks by developing procedures and functions. It is useful for programmers and for

More information

Extracting the last word of a string Extracting all but the first word of a string Extracting first names, middle names, and last names Counting the

Extracting the last word of a string Extracting all but the first word of a string Extracting first names, middle names, and last names Counting the Introducing Excel Understanding Workbooks and Worksheets Moving around a Worksheet Introducing the Ribbon Accessing the Ribbon by using your keyboard Using Shortcut Menus Customizing Your Quick Access

More information

Las Vegas, Nevada, December 3 6, Kevin Vandecar. Speaker Name:

Las Vegas, Nevada, December 3 6, Kevin Vandecar. Speaker Name: Las Vegas, Nevada, December 3 6, 2002 Speaker Name: Kevin Vandecar Course Title: Introduction to Visual Basic Course ID: CP11-3 Session Overview: Introduction to Visual Basic programming is a beginning

More information

Ms Excel Vba Continue Loop Through Range Of

Ms Excel Vba Continue Loop Through Range Of Ms Excel Vba Continue Loop Through Range Of Rows Learn how to make your VBA code dynamic by coding in a way that allows your 5 Different Ways to Find The Last Row or Last Column Using VBA In Microsoft

More information

MICROSOFT OFFICE 2013 SPECIALIST With Windows 10

MICROSOFT OFFICE 2013 SPECIALIST With Windows 10 Overview MICROSOFT OFFICE 2013 SPECIALIST With Windows 10 Microsoft Office 2013 training includes a variety of courses designed to teach individuals of all skill levels about using all of the Office 2013

More information

Python Scripting for Computational Science

Python Scripting for Computational Science Hans Petter Langtangen Python Scripting for Computational Science Third Edition With 62 Figures 43 Springer Table of Contents 1 Introduction... 1 1.1 Scripting versus Traditional Programming... 1 1.1.1

More information

Python Basics. Lecture and Lab 5 Day Course. Python Basics

Python Basics. Lecture and Lab 5 Day Course. Python Basics Python Basics Lecture and Lab 5 Day Course Course Overview Python, is an interpreted, object-oriented, high-level language that can get work done in a hurry. A tool that can improve all professionals ability

More information

Lab 7 Macros, Modules, Data Access Pages and Internet Summary Macros: How to Create and Run Modules vs. Macros 1. Jumping to Internet

Lab 7 Macros, Modules, Data Access Pages and Internet Summary Macros: How to Create and Run Modules vs. Macros 1. Jumping to Internet Lab 7 Macros, Modules, Data Access Pages and Internet Summary Macros: How to Create and Run Modules vs. Macros 1. Jumping to Internet 1. Macros 1.1 What is a macro? A macro is a set of one or more actions

More information

Free Downloads Automating Microsoft Access With VBA

Free Downloads Automating Microsoft Access With VBA Free Downloads Automating Microsoft Access With VBA If you use Microsoft Access in your every day business life but haven't learned to fully exploit the program, now's your chance. Automating Microsoft

More information

Excel Level One. Introduction. Contents. Starting Excel. Reviewing the Excel Screen

Excel Level One. Introduction. Contents. Starting Excel. Reviewing the Excel Screen Introduction Excel Level One This workshop introduces you to introductory Excel. You will learn about the menus, create a worksheet, enter values, edit a worksheet, and spell check. Contents Introduction

More information

Advanced Financial Modelling in Excel

Advanced Financial Modelling in Excel Advanced Financial Modelling in Excel The course includes teaches you how to resolve many complex issues in excel for financial modelling analysis with VBA including efficiently structuring financial models,

More information

Getting Started with ObjectARX

Getting Started with ObjectARX CP11-4 Getting Started with ObjectARX Tom Stoeckel ObjectARX is the most versatile and powerful programming interface for developing new commands and applications to customize and extend AutoCAD. This

More information

VBA Foundations, Part 12

VBA Foundations, Part 12 As quickly as you can Snatch the Pebble from my hand, he had said as he extended his hand toward you. You reached for the pebble but you opened it only to find that it was indeed still empty. Looking down

More information

Getting started 7. Setting properties 23

Getting started 7. Setting properties 23 Contents 1 2 3 Getting started 7 Introducing Visual Basic 8 Installing Visual Studio 10 Exploring the IDE 12 Starting a new project 14 Adding a visual control 16 Adding functional code 18 Saving projects

More information

KEYWORDS DDE GETOBJECT PATHNAME CLASS VB EDITOR WITHEVENTS HMI 1.0 TYPE LIBRARY HMI.TAG

KEYWORDS DDE GETOBJECT PATHNAME CLASS VB EDITOR WITHEVENTS HMI 1.0 TYPE LIBRARY HMI.TAG Document Number: IX_APP00113 File Name: SpreadsheetLinking.doc Date: January 22, 2003 Product: InteractX Designer Application Note Associated Project: GetObjectDemo KEYWORDS DDE GETOBJECT PATHNAME CLASS

More information

The Foundation of C++: The C Subset An Overview of C p. 3 The Origins and History of C p. 4 C Is a Middle-Level Language p. 5 C Is a Structured

The Foundation of C++: The C Subset An Overview of C p. 3 The Origins and History of C p. 4 C Is a Middle-Level Language p. 5 C Is a Structured Introduction p. xxix The Foundation of C++: The C Subset An Overview of C p. 3 The Origins and History of C p. 4 C Is a Middle-Level Language p. 5 C Is a Structured Language p. 6 C Is a Programmer's Language

More information

IntuiLink for Basic (Agilent E3600 series) DC Power Supplies

IntuiLink for Basic (Agilent E3600 series) DC Power Supplies IntuiLink for Basic (Agilent E3600 series) DC Power Supplies Agilent IntuiLink for Agilent E3600-Series DC power supplies offers the following capabilities: - Make a variety of measurements and insert

More information

Working with AutoCAD in Mixed Mac and PC Environment

Working with AutoCAD in Mixed Mac and PC Environment Working with AutoCAD in Mixed Mac and PC Environment Pavan Jella Autodesk AC6907 With the introduction of AutoCAD for Mac, some professionals now work in hybrid environments one engineer may draft designs

More information

CHAPTER 1: INTRODUCING C# 3

CHAPTER 1: INTRODUCING C# 3 INTRODUCTION xix PART I: THE OOP LANGUAGE CHAPTER 1: INTRODUCING C# 3 What Is the.net Framework? 4 What s in the.net Framework? 4 Writing Applications Using the.net Framework 5 What Is C#? 8 Applications

More information

Excel Community SAMPLE CONTENT

Excel Community SAMPLE CONTENT Excel Community GUIDE TO BUSINESS MODELLING BLOG SERIES SAMPLE CONTENT business with CONFIDENCE icaew.com/itfac Contents This document provides the full blog series on a Guide to Business Modelling written

More information

Programming Logic and Design Seventh Edition Chapter 2 Elements of High-Quality Programs

Programming Logic and Design Seventh Edition Chapter 2 Elements of High-Quality Programs Programming Logic and Design Chapter 2 Elements of High-Quality Programs Objectives In this chapter, you will learn about: Declaring and using variables and constants Assigning values to variables [assignment

More information

Microsoft Excel 2007

Microsoft Excel 2007 Microsoft Excel 2007 Objective To provide a review of the new features in the Microsoft Excel 2007 screen. Overview Introduction Office Button Quick Access Toolbar Tabs Scroll Bar Status Bar Clipboard

More information

DOWNLOAD OR READ : VBA PROGRAMMING FOR MICROSOFT OFFICE PROJECT VERSIONS 98 THROUGH 2007 FOR BEGINNING AND ADVANCED DEVELOPERS PDF EBOOK EPUB MOBI

DOWNLOAD OR READ : VBA PROGRAMMING FOR MICROSOFT OFFICE PROJECT VERSIONS 98 THROUGH 2007 FOR BEGINNING AND ADVANCED DEVELOPERS PDF EBOOK EPUB MOBI DOWNLOAD OR READ : VBA PROGRAMMING FOR MICROSOFT OFFICE PROJECT VERSIONS 98 THROUGH 2007 FOR BEGINNING AND ADVANCED DEVELOPERS PDF EBOOK EPUB MOBI Page 1 Page 2 advanced developers vba programming for

More information

COMPUTER COURSE OFFERINGS

COMPUTER COURSE OFFERINGS COMPUTER COURSE OFFERINGS IPAD AND IPHONE... 2 IPAD BASICS... 2 IPHONE BASICS... 2 KEYNOTE PRESENTATION BASICS... 2 MICROSOFT COURSES... 3 INTRODUCTION TO PERSONAL COMPUTERS: USING MICROSOFT WINDOWS 8...

More information

EHA Add-Ins and Keyboard Shortcuts

EHA Add-Ins and Keyboard Shortcuts EHA Add-Ins and Keyboard Shortcuts Creating Keyboard Shortcuts and Add-Ins (Module 1) TOPICS COVERED: 1) Recording Macros (0:00) 2) Adding the Developer Tab to the Ribbon (1:08) 3) Inserting a Code Module

More information

Module 1 - EHA Shortcut Add-in - 1

Module 1 - EHA Shortcut Add-in - 1 Module 1 - EHA Shortcut Add-in TOPICS COVERED: 1) Recording Macros (0:00) 2) Adding the Developer Tab to the Ribbon (1:08) 3) Inserting a Code Module (3:20) 4) Creating the New Name Dialog Shortcut Subroutine

More information

Introduction to Form Controls

Introduction to Form Controls Introduction to Form Controls What Are Form Controls? Form Controls are objects which you can place onto an Excel Worksheet which give you the functionality to interact with your models data. You can use

More information

Wireless Circuits and Systems Laboratory

Wireless Circuits and Systems Laboratory Wireless Circuits and Systems Laboratory Procedure #9 8714 VNA Data Acquisition and Manipulation (using Microsoft Excel) Contained in this procedure: 1) Acquiring 1- and 2-port data from the HP8714 and

More information

Contents. Introduction 13. Putting The Smart Method to Work 16. Session One: Basic Skills 23

Contents. Introduction 13. Putting The Smart Method to Work 16. Session One: Basic Skills 23 Contents Introduction 13 Feedback... 13 Downloading the sample files... 13 Problem resolution... 13 Typographical Conventions Used In This Book... 14 Putting The Smart Method to Work 16 Excel version and

More information

Explore commands on the ribbon Each ribbon tab has groups, and each group has a set of related commands.

Explore commands on the ribbon Each ribbon tab has groups, and each group has a set of related commands. Quick Start Guide Microsoft Excel 2013 looks different from previous versions, so we created this guide to help you minimize the learning curve. Add commands to the Quick Access Toolbar Keep favorite commands

More information

Autocad Macros Tutorial

Autocad Macros Tutorial Autocad Macros Tutorial 1 / 7 2 / 7 3 / 7 Autocad Macros Tutorial In my last post for CAD Notes, I showed you how to take a task that you perform frequently, and automate it by turning it into an AutoCAD

More information

Las Vegas, Nevada November 27-30, 2001

Las Vegas, Nevada November 27-30, 2001 Las Vegas, Nevada November 27-30, 2001 Speaker Name: LeAnne C. Thurmond Project Automation Services Fluor Daniel 100 Fluor Daniel Drive Greenville, SC 29607 USA Phone: 864-281-6855 Fax: 864-895-8161 leanne.thurmond@fluor.com

More information

AutoCAD Electrical Customization from A to Z

AutoCAD Electrical Customization from A to Z 11/30/2005-10:00 am - 11:30 am Room:Parrot 1/2 (Swan) Walt Disney World Swan and Dolphin Resort Orlando, Florida AutoCAD Electrical Customization from A to Z Randy Brunette - Brunette Technologies, LLC

More information

Microsoft Excel > Shortcut Keys > Shortcuts

Microsoft Excel > Shortcut Keys > Shortcuts Microsoft Excel > Shortcut Keys > Shortcuts Function Keys F1 Displays the Office Assistant or (Help > Microsoft Excel Help) F2 Edits the active cell, putting the cursor at the end* F3 Displays the (Insert

More information

PHP + ANGULAR4 CURRICULUM 6 WEEKS

PHP + ANGULAR4 CURRICULUM 6 WEEKS PHP + ANGULAR4 CURRICULUM 6 WEEKS Hands-On Training In this course, you develop PHP scripts to perform a variety to takes, culminating in the development of a full database-driven Web page. Exercises include:

More information

Which Excel course is right for me?

Which Excel course is right for me? Which Excel course is right for me? Here at Growtrain we are continuously looking at ways to improve our training delivery. We listen to our customer feedback and work closely with tutors to makes changes

More information

Microsoft Excel Expert 2010, Objective Domain

Microsoft Excel Expert 2010, Objective Domain Exam Design 77 888 Microsoft Excel Expert 2010, Objective Domain The Basics This is a Technical Specialist exam designed to assess candidates hands on skills using Microsoft Office Excel 2010 at the Expert

More information