Thanks for buying my book. I think you’ll find that it offers a fast, enjoyable way to discover the ins and outs of Microsoft Excel programming. Even if you don’t have the foggiest idea of what programming is all about, this book can help you make Excel jump through hoops in no time (well, it will take some time). | Excel 2007 VBA Programming FOR dummies by John Walkenbach Revised by Jan Karel Pieterse 18 0 7 WILEY 2 0 0 7 Wiley Publishing Inc. Excel 2007 VBA Programming For Dummies Published by Wiley Publishing Inc. 111 River Street Hoboken NJ 07030-5774 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 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 and related trade dress are trademarks or registered trademarks of John Wiley Sons Inc. and or its affiliates in the United States and other countries and may not be used without written permission. Microsoft and Excel are registered trademarks of Microsoft Corporation in the United States and or other countries. All other trademarks are the property of their respective owners. Wiley Publishing Inc. is not associated with any product or vendor mentioned in this book. LIMIT OF LIABILITY DISCLAIMER OF WARRANTY THE PUBLISHER AND THE AUTHOR MAKE NO REPRESENTATIONS OR WARRANTIES WITH RESPECT TO THE ACCURACY OR COMPLETENESS OF THE CONTENTS OF THIS WORK AND SPECIFICALLY DISCLAIM ALL .