Premium Essay

Excel Vba for Dummies Outline

In:

Submitted By jayxbx
Words 2094
Pages 9
Excel VBA Programming Dummies Outline and Notes
Jason Xu
II: How VBA Works with Excel
Chapter 3: Working in the Visual Basic Editor * To continue a single line of code from one line to the next, end the first line with a space followed by an underscore (_) * Option Explicit, inserted at the beginning of a VBA Module, forces variables to be defined (Should always use).
Chapter 4: Introducing the Excel Object Model * A collection is a group of objects of the same type. * Workbooks: A collection of all currently open Workbook objects * Worksheets: A collection of all Worksheet objects contained in a particular Workbook object * Sheets: A collection of all sheets (regardless of their type) contained in a particular Workbook object. Contains both Worksheets and Charts. * Etc…. (collections are plural) * Referring to Objects * To reference a single object from a collection, you put the object’s name or index number in parentheses after the name of the collection: * Worksheets(“Sheet1”) * Excel won’t be able to identify the object if the quotation marks are omitted. * If Sheet1 if the first (or only) worksheet in the collection, you can also use the following reference: * Worksheets(1) * If referring to an object by its index number, use a plain number without quotation marks. * Navigating through the hierarchy * Application is at top of the hierarchy * Move down the hierarchy and connect each object with the dot (.) operator * Application.Workbooks(“Book1.xlsx”).Worksheets(1).Range(“A1”).Value * Above is a fully qualified reference. Exact/Most specific reference possible is given, and nothing is left to the imagination. * Simplifying object references: * Application object is always assumed so it can be omitted.

Similar Documents

Free Essay

John Walkenbach - Excel Vba Programming

...Charts • Common Instructions • And Other Good Stuff! To access the Cheat Sheet created specifically for this book, go to www.dummies.com/cheatsheet/excelvbaprogramming Get Smart at Dummies.com Dummies.com makes your life easier with 1,000s of answers on everything from removing wallpaper to using the latest version of Windows. Check out our • Videos • Illustrated Articles • Step-by-Step Instructions Plus, each month you can win valuable prizes by entering our Dummies.com sweepstakes. * Want a weekly dose of Dummies? Sign up for Newsletters on • Digital Photography • Microsoft Windows & Office • Personal Finance & Investing • Health & Wellness • Computing, iPods & Cell Phones • eBay • Internet • Food, Home & Garden Find out “HOW” at Dummies.com *Sweepstakes not currently available in all countries; visit Dummies.com for official rules. Excel VBA Programming ® FOR DUMmIES 2ND ‰ EDITION by John Walkenbach Excel® VBA Programming For Dummies®, 2nd Edition Published by Wiley Publishing, Inc. 111 River Street Hoboken, NJ 07030-5774 www.wiley.com Copyright © 2010 by Wiley Publishing, Inc., Indianapolis, Indiana Published by Wiley Publishing, Inc., Indianapolis, Indiana Published simultaneously in Canada No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical,...

Words: 98776 - Pages: 396

Premium Essay

Exel 2010 Formulas

...Excel 2010 Microsoft ® ® ® Formulas John Walkenbach BONUS CD-ROM! Includes all Excel workbook files used in the book, plus the complete book in a searchable PDF file Excel® 2010 Formulas by John Walkenbach Excel® 2010 Formulas Published by Wiley Publishing, Inc. 111 River Street Hoboken, NJ 07030-5774 www.wiley.com Copyright © 2010 by Wiley Publishing, Inc., Indianapolis, Indiana Published by Wiley Publishing, Inc., Indianapolis, Indiana Published simultaneously in Canada No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8600. Requests to the Publisher for permission should be addressed to the Permissions Department, John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ 07030, (201) 7486011, fax (201) 748-6008, or online at http://www.wiley.com/go/permissions. Trademarks: Wiley, the Wiley Publishing logo, For Dummies, the Dummies Man logo, A Reference for the Rest of Us!, The Dummies Way, Dummies Daily, The Fun and Easy Way, Dummies.com, Making Everything Easier, and related trade dress are trademarks...

Words: 49651 - Pages: 199

Premium Essay

Financial Modelling

...Advanced Modelling in Finance using Excel and VBA Mary Jackson and Mike Staunton JOHN WILEY & SONS, LTD Chichester ž New York ž Weinheim ž Brisbane ž Singapore ž Toronto Copyright  2001 by John Wiley & Sons, Ltd, Baffins Lane, Chichester, West Sussex PO19 1UD, England National 01243 779777 International (C44) 1243 779777 e-mail (for orders and customer service enquiries): cs-books@wiley.co.uk Visit our Home Page on http://www.wiley.co.uk or http://www.wiley.com All Rights Reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except under the terms of the Copyright, Designs and Patents Act 1988 or under the terms of a licence issued by the Copyright Licensing Agency, 90 Tottenham Court Road, London W1P 9HE, UK, without the permission in writing of the publisher. Other Wiley Editorial Offices John Wiley & Sons, Inc., 605 Third Avenue, New York, NY 10158-0012, USA Wiley-VCH Verlag GmbH, Pappelallee 3, D-69469 Weinheim, Germany John Wiley & Sons Australia Ltd, 42 McDougall Street, Milton, Queensland 4064, Australia John Wiley & Sons (Asia) Pte Ltd, 2 Clementi Loop #02-01, Jin Xing Distripark, Singapore 129809 John Wiley & Sons Canada Ltd, 6045 Freemont Blvd, Mississauga, ONT, L5R 4J3, Canada British Library Cataloguing in Publication Data A catalogue record for this book is available from the British...

Words: 57326 - Pages: 230

Premium Essay

Access 2007

...Microsoft® Office Access 2007 ™ ALL-IN-ONE DESK REFERENCE FOR DUMmIES ‰ by Alan Simpson, Margaret Levine Young, Alison Barrows, April Wells, Jim McCarter Microsoft® Office Access 2007 ™ ALL-IN-ONE DESK REFERENCE FOR DUMmIES ‰ Microsoft® Office Access 2007 ™ ALL-IN-ONE DESK REFERENCE FOR DUMmIES ‰ by Alan Simpson, Margaret Levine Young, Alison Barrows, April Wells, Jim McCarter Microsoft® Office Access™ 2007 All-in-One Desk Reference For Dummies® Published by Wiley Publishing, Inc. 111 River Street Hoboken, NJ 07030-5774 www.wiley.com Copyright © 2007 by Wiley Publishing, Inc., Indianapolis, Indiana Published by Wiley Publishing, Inc., Indianapolis, Indiana Published simultaneously in Canada No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8600. Requests to the Publisher for permission should be addressed to the Legal Department, Wiley Publishing, Inc., 10475 Crosspoint Blvd., Indianapolis, IN 46256, (317) 572-3447, fax (317) 572-4355, or online at http://www...

Words: 190131 - Pages: 761

Free Essay

Prueba 1 Excel

...Excel Tutorial to Improve Your Efficiency (2007 Version) Introduction My purpose with this Excel tutorial is to illustrate some Excel tips that will dramatically improve your efficiency. I make no attempt to be as encyclopedic as some of the 800-page Excel manuals available. I concentrate on common tasks, not every last thing that can be done in Excel. Also, I presume that you have some Excel knowledge. For example, I assume you know about rows and columns, values, labels, and formulas, relative and absolute addresses, and other basic Excel elements. If you know virtually nothing about Excel, you probably ought to work through an “Excel for Dummies” book and then work through this tutorial. The style of this tutorial should be easy to follow. Main topics appear in bold black type. Specific direction headings are in yellow, and these are followed by detailed directions in red. Additional comments about the directions appear in blue. Then there are “Try it!” exercises in green. These “Try it!” exercises are a key feature of this tutorial. I have embedded numerous sample Excel spreadsheets so that you can try out the directions right away—without switching into Excel. When you double-click on one of these spreadsheets, you launch Excel, and the spreadsheet “comes alive.” The menus and toolbars even change to those for Excel. By clicking outside one of these spreadsheets, you’re back in Word. The easiest way to maneuver around this tutorial is to switch to outline view. To do...

Words: 6379 - Pages: 26

Premium Essay

Access Tutorial

...Microsoft-Access Tutorial Soren Lauesen E-mail: slauesen@itu.dk Version 2.4b: July 2011 Contents 1. The hotel system................................................... 4 2. Creating a database ............................................. 6 2.1 Create a database in Access ............................. 6 2.2 Create more tables ......................................... 10 2.3 Create relationships ....................................... 12 2.4 Look-up fields, enumeration type .................. 14 2.5 Dealing with trees and networks.................... 16 3. Access-based user interfaces ............................. 18 3.1 Forms and simple controls............................. 18 3.1.1 Text box, label and command button...... 18 3.1.2 Adjusting the controls............................. 20 3.1.3 Cleaning up the form .............................. 20 3.1.4 Shortcut keys for the user ....................... 22 3.1.5 Lines, checkbox, calendar....................... 22 3.1.6 Combo box - enumeration type .............. 24 3.1.7 Combo box - table look up ..................... 26 3.1.8 Control properties - text box................... 28 3.2 Subforms........................................................ 30 3.2.1 Subform in Datasheet view..................... 31 3.2.2 Adjust the subform ................................. 34 3.2.3 Mockup subform..................................... 36 3.2.4 Subform in Form view............................ 36 3.2.5 Summary of subforms...................

Words: 54671 - Pages: 219

Premium Essay

Case Studies on Performance Management

...CASE STUDIES IN PERFORMANCE MANAGEMENT A Guide from the Experts TONY ADKINS John Wiley & Sons, Inc. CASE STUDIES IN PERFORMANCE MANAGEMENT CASE STUDIES IN PERFORMANCE MANAGEMENT A Guide from the Experts TONY ADKINS John Wiley & Sons, Inc. This book is printed on acid-free paper. Copyright © 2006 by SAS Institute. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration. Other brand and product names are trademarks of their respective companies. Published by John Wiley & Sons, Inc., Hoboken, New Jersey. Published simultaneously in Canada. No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning, or otherwise, except as permitted under Section 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, Inc., 222 Rosewood Drive, Danvers, MA 01923, 978-750-8400, fax 978-646-8600, or on the web at www.copyright.com. Requests to the publisher for permission should be addressed to the Permissions Department, John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ 07030, 201-748-6011, fax 201-748-6008, or online at http://www.wiley.com/go/permissions...

Words: 77510 - Pages: 311

Premium Essay

Finnance

...Financial Analysis using Excel Function Information requirements for function Dates Prices and par values Frequency, and related Yields and interest/ discount rates Discount Any amount paid at maturity ? Frequency of payme nts pa First coupon Redemption amount Investment amount # of periods Settlement Par/coupon Maturity COUPDAYBS COUPDAYS COUPDAYSNC COUPNCD COUPPCD COUPNUM DURATION MDURATION PRICE PRICEDISC PRICEMAT RECEIVED YIELD YIELDDISC YIELDMAT ACCRINT ACCRINTM INTRATE DISC Excel for Professionals  2002 VJ Books. All rights reside with the author. Interest Basis Issue Yield Price Financial Analysis using Excel Financial Analysis using Excel Financial Analysis using Excel Volume 6 in the series Excel for Professionals Excel for Professionals Volume 1: Excel For Beginners Volume 2: Charting in Excel Volume 3: Excel-- Beyond The Basics Volume 4: Managing & Tabulating Data in Excel Volume 5: Statistical Analysis with Excel Volume 6: Financial Analysis using Excel Published by VJ Books Inc All rights reserved. No part of this book may be used or reproduced in any form or by any means, or stored in a database or retrieval system, without prior written permission of the publisher except in the case of brief quotations embodied in reviews, articles, and research papers. Making copies of any part of this book for any purpose other than personal use is a violation of United States and international copyright...

Words: 26828 - Pages: 108

Premium Essay

Stock Investing for Dummies

...Stock Investing FOR DUMmIES 2ND by Paul Mladjenovic ‰ EDITION Stock Investing FOR DUMmIES 2ND ‰ EDITION Stock Investing FOR DUMmIES 2ND by Paul Mladjenovic ‰ EDITION Stock Investing For Dummies® 2nd Edition , Published by Wiley Publishing, Inc. 111 River St. Hoboken, NJ 07030-5774 www.wiley.com Copyright © 2006 by Wiley Publishing, Inc., Indianapolis, Indiana Published simultaneously in Canada No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning, or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, 978-750-8400, fax 978-646-8600. Requests to the Publisher for permission should be addressed to the Legal Department, Wiley Publishing, Inc., 10475 Crosspoint Blvd., Indianapolis, IN 46256, 317-572-3447, fax 317-572-4355, or online at http://www.wiley.com/go/permissions. Trademarks: Wiley, the Wiley Publishing logo, For Dummies, the Dummies Man logo, A Reference for the Rest of Us!, The Dummies Way, Dummies Daily, The Fun and Easy Way, Dummies.com and related trade dress are trademarks or registered trademarks of John Wiley & Sons, Inc. and/or its affiliates in the...

Words: 125643 - Pages: 503

Premium Essay

Rodir

...GCE Specification Edexcel Advanced Subsidiary GCE in Applied Information and Communication Technology (ICT) (Single Award: 8751)/(Double Award: 8752) Edexcel Advanced GCE in Applied Information and Communication Technology (ICT) (Single Award: 9751)/(Double Award: 9752) Edexcel Advanced GCE with Advanced Subsidiary (Additional) in Applied Information and Communication Technology (ICT) (9753) Issue 4 September 2010 Edexcel, a Pearson company, is the UK’s largest awarding body, offering academic and vocational qualifications and testing to more than 25,000 schools, colleges, employers and other places of learning in the UK and in over 100 countries worldwide. Qualifications include GCSE, AS and A Level, NVQ and our BTEC suite of vocational qualifications from entry level to BTEC Higher National Diplomas, recognised by employers and higher education institutions worldwide. We deliver 9.4 million exam scripts each year, with more than 90% of exam papers marked onscreen annually. As part of Pearson, Edexcel continues to invest in cutting-edge technology that has revolutionised the examinations and assessment system. This includes the ability to provide detailed performance data to teachers and students which helps to raise attainment. This specification is Issue 4. Key changes are sidelined. We will inform centres of any changes to this issue. The latest issue can be found on the Edexcel website: www.edexcel.com Acknowledgements This specification...

Words: 87578 - Pages: 351

Premium Essay

Project Management

...Project Management Project Management Assembled by Carter McNamara, MBA, PhD | Applies to nonprofits and for-profits unless noted Leaders Circles peer-training/coaching groups (nonprofits) | Authenticity Circles peertraining/coaching (for-profits) First-timers | Library home page | Library index of topics | Contact us Project management is a carefully planned and organized effort to accomplish a specific (and usually) one-time effort, for example, construct a building or implement a new computer system. Project management includes developing a project plan, which includes defining project goals and objectives, specifying tasks or how goals will be achieved, what resources are need, and associating budgets and timelines for completion. It also includes implementing the project plan, along with careful controls to stay on the "critical path", that is, to ensure the plan is being managed according to plan. Project management usually follows major phases (with various titles for these phases), including feasibility study, project planning, implementation, evaluation and support/maintenance. (Program planning is usually of a broader scope than project planning, but not always.) Categories of information include Overviews of Project Management Useful Skills -- Team Building and Group Leadership General Resources Related Library Links (including many other types of planning) On-Line Discussion Groups Various Perspectives What is Project Management? Overview...

Words: 46068 - Pages: 185

Free Essay

Handbook

...Information Technology Intermediate Microeconomics Issues in Macroeconomic Policy Mathematical Economics Statistics Regional Economics Introduction to Strategic Management Banking and Finance International Business Law Research Proseminar Accounting Managerial Economics International Economics Intermediate Macroeconomics Econometrics Research Methods Social Policy Game Theory Public Finance Investment Analysis BA Seminar Electives Financial Accounting Monetary Theory and Policy - The Impact of Global Crisis Principles of Marketing The World Economy – Retrospective View The Small and Medium-Sized Enterprises (SME) Sector Economics of Telecommunication Demography and Economics of Contemporary European Migration Personal Finance in Practice (with Excel) Contemporary China - Genesis and Background of Chinese “Economic Miracle" Negotiations and Communication Tax Policy Energy Security and Climate Protection in The European Union Risk Management 2 Lazarski School of Commerce and Law Student’s Handbook- Bachelor of Arts in Business Economics Introduction to Intercultural Management Accounting in...

Words: 47436 - Pages: 190

Free Essay

Core Concepts of Ais

...CORE CONCEPTS OF Accounting Information Systems Twelfth Edition Mark G. Simkin, Ph.D. Professor Department of Accounting and Information Systems University of Nevada Jacob M. Rose, Ph.D. Professor Department of Accounting and Finance University of New Hampshire Carolyn Strand Norman, Ph.D., CPA Professor Department of Accounting Virginia Commonwealth University JOHN WILEY & SONS, INC. VICE PRESIDENT & PUBLISHER SENIOR ACQUISITIONS EDITOR PROJECT EDITOR ASSOCIATE EDITOR SENIOR EDITORIAL ASSISTANT PRODUCTION MANAGER PRODUCTION EDITOR MARKETING MANAGER CREATIVE DIRECTOR SENIOR DESIGNER PRODUCTION MANAGEMENT SERVICES SENIOR ILLUSTRATION EDITOR PHOTO EDITOR MEDIA EDITOR COVER PHOTO George Hoffman Michael McDonald Brian Kamins Sarah Vernon Jacqueline Kepping Dorothy Sinclair Erin Bascom Karolina Zarychta Harry Nolan Wendy Lai Laserwords Maine Anna Melhorn Elle Wagner Greg Chaput Maciej Frolow/Brand X/Getty Images, Inc. This book was set in 10/12pt Garamond by Laserwords Private Limited, and printed and bound by RR Donnelley/Jefferson City. The cover was printed by RR Donnelley/Jefferson City. This book is printed on acid free paper. Founded in 1807, John Wiley & Sons, Inc. has been a valued source of knowledge and understanding for more than 200 years, helping people around the world meet their needs and fulfill their aspirations. Our company is built on a foundation of principles that include responsibility to the...

Words: 241803 - Pages: 968

Premium Essay

Security Analyst

...Contents 1. Introduction 2. Assessment Test 3. Chapter 1: Getting Started with Ethical Hacking 1. Hacking: A Short History 2. What Is an Ethical Hacker? 3. Summary 4. Exam Essentials 5. Review Questions 4. Chapter 2: System Fundamentals 1. Exploring Network Topologies 2. Working with the Open Systems Interconnection Model 3. Dissecting the TCP/IP Suite 4. IP Subnetting 5. Hexadecimal vs. Binary 6. Exploring TCP/IP Ports 7. Understanding Network Devices 8. Working with MAC Addresses 9. Intrusion Prevention and Intrusion Detection Systems 10. Network Security 11. Knowing Operating Systems 12. Backups and Archiving 13. Summary 14. Exam Essentials 15. Review Questions 5. Chapter 3: Cryptography 2 1. Cryptography: Early Applications and Examples 2. Cryptography in Action 3. Understanding Hashing 4. Issues with Cryptography 5. Applications of Cryptography 6. Summary 7. Exam Essentials 8. Review Questions 6. Chapter 4: Footprinting and Reconnaissance 1. Understanding the Steps of Ethical Hacking 2. What Is Footprinting? 3. Terminology in Footprinting 4. Threats Introduced by Footprinting 5. The Footprinting Process 6. Summary 7. Exam Essentials 8. Review Questions 7. Chapter 5: Scanning Networks 1. What Is Network Scanning? 2. Checking for Live Systems 3. Checking for Open Ports 4. Types of Scans 5. OS Fingerprinting 6. Banner Grabbing 7. Countermeasures 8. Vulnerability Scanning 9. Drawing Network Diagrams 10. Using Proxies 11. Summary 12. Exam Essentials 13. Review Questions...

Words: 71242 - Pages: 285

Premium Essay

Wns Hand Book123

...Student Handbook 2012 WELCOME TO WAIKATO Welcome to the University of Waikato. I hope you make the most of your time here and the opportunities that will present themselves during the course of your study. You have come to an excellent university that is ranked top in 10 subjects under the Government’s Performance Based Research Fund. We are also internationally connected; we have research connections and student exchanges with some of the world’s top universities. I urge you to consider taking part in these while you are with us. Here at the University of Waikato, you will be taught by lecturers who are leaders in their fields of research and who win national teaching awards. We are proud of our academic quality and the fact that we turn out sought-after graduates who go on to take up important roles in all parts of the world. You will already have noticed our beautiful campus which is set in 68 hectares of gardens, green space and lakes. At the heart of it all is the new Student Centre, which was completed in 2011. With its accessible areas, Library services and multitude of facilities, it is a place for students to study or just gather together and we are very proud of this building. In 2011 we celebrated 10 years of another important building, the Gallagher Academy of Performing Arts. This world-class facility was the vision of a group of driven Waikato people. It quickly became a focal point in the campus and continues to be an important venue for the performing...

Words: 126279 - Pages: 506