80% found this document useful (5 votes)
129 views

Download ebooks file Excel VBA Programming For Dummies 6th Edition Kusleika Dick all chapters

Programming

Uploaded by

pekasducoskb
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
80% found this document useful (5 votes)
129 views

Download ebooks file Excel VBA Programming For Dummies 6th Edition Kusleika Dick all chapters

Programming

Uploaded by

pekasducoskb
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 32

Get ebook downloads in full at ebookmeta.

com

Excel VBA Programming For Dummies 6th Edition


Kusleika Dick

https://ebookmeta.com/product/excel-vba-programming-for-
dummies-6th-edition-kusleika-dick/

OR CLICK BUTTON

DOWNLOAD NOW

Explore and download more ebook at https://ebookmeta.com


Recommended digital products (PDF, EPUB, MOBI) that
you can download immediately if you are interested.

Excel VBA Programming For Dummies Dick Kusleika

https://ebookmeta.com/product/excel-vba-programming-for-dummies-dick-
kusleika/

ebookmeta.com

Excel Macros For Dummies Dick Kusleika

https://ebookmeta.com/product/excel-macros-for-dummies-dick-kusleika/

ebookmeta.com

Excel Formulas Functions For Dummies 6th Edition Bluttman

https://ebookmeta.com/product/excel-formulas-functions-for-
dummies-6th-edition-bluttman/

ebookmeta.com

Young People and the Aesthetics of Health Promotion Beyond


Reason Rationality and Risk 1st Edition Kerry Montero

https://ebookmeta.com/product/young-people-and-the-aesthetics-of-
health-promotion-beyond-reason-rationality-and-risk-1st-edition-kerry-
montero/
ebookmeta.com
Smart Work: How to Increase Productivity, Achieve Balance
and Reduce Stress, 2nd Edition Dermot Crowley

https://ebookmeta.com/product/smart-work-how-to-increase-productivity-
achieve-balance-and-reduce-stress-2nd-edition-dermot-crowley-2/

ebookmeta.com

Lies My Teacher Told Me James W Loewen

https://ebookmeta.com/product/lies-my-teacher-told-me-james-w-loewen/

ebookmeta.com

The Technological Introject Friedrich Kittler between


Implementation and the Incalculable 1st Edition Jeffrey
Champlin
https://ebookmeta.com/product/the-technological-introject-friedrich-
kittler-between-implementation-and-the-incalculable-1st-edition-
jeffrey-champlin/
ebookmeta.com

Eventide Water City 1st Edition Chris Mckinney

https://ebookmeta.com/product/eventide-water-city-1st-edition-chris-
mckinney/

ebookmeta.com

The Message of the Twelve Hearing the Voice of the Minor


Prophets 1st Edition Al Fuhr Gary Yates

https://ebookmeta.com/product/the-message-of-the-twelve-hearing-the-
voice-of-the-minor-prophets-1st-edition-al-fuhr-gary-yates/

ebookmeta.com
Among the Swamp People Life in Alabama s Mobile Tensaw
River Delta 1st Edition Watt Key

https://ebookmeta.com/product/among-the-swamp-people-life-in-alabama-
s-mobile-tensaw-river-delta-1st-edition-watt-key/

ebookmeta.com
Excel® VBA Programming For Dummies®
Published by: John Wiley & Sons, Inc., 111 River Street,
Hoboken, NJ 07030-5774, www.wiley.com
Copyright © 2022 by John Wiley & Sons, Inc., Hoboken, New
Jersey
Media and software compilation copyright © 2012 by John Wiley
& Sons, Inc. All rights reserved.
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 the prior written
permission of the Publisher. 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.

Trademarks: Wiley, For Dummies, the Dummies Man logo,


Dummies.com, Making Everything Easier, and related trade dress
are trademarks or registered trademarks of John Wiley & Sons,
Inc. and may not be used without written permission. Microsoft
and Excel are trademarks or registered trademarks of Microsoft
Corporation in the United States and other countries. All other
trademarks are the property of their respective owners. John
Wiley & Sons, Inc. is not associated with any product or vendor
mentioned in this book.
LIMIT OF LIABILITY/DISCLAIMER OF WARRANTY: WHILE THE
PUBLISHER AND AUTHORS HAVE USED THEIR BEST EFFORTS
IN PREPARING THIS WORK, THEY MAKE NO REPRESENTATIONS
OR WARRANTIES WITH RESPECT TO THE ACCURACY OR
COMPLETENESS OF THE CONTENTS OF THIS WORK AND
SPECIFICALLY DISCLAIM ALL WARRANTIES, INCLUDING
WITHOUT LIMITATION ANY IMPLIED WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
NO WARRANTY MAY BE CREATED OR EXTENDED BY SALES
REPRESENTATIVES, WRITTEN SALES MATERIALS OR
PROMOTIONAL STATEMENTS FOR THIS WORK. THE FACT THAT
AN ORGANIZATION, WEBSITE, OR PRODUCT IS REFERRED TO
IN THIS WORK AS A CITATION AND/OR POTENTIAL SOURCE OF
FURTHER INFORMATION DOES NOT MEAN THAT THE
PUBLISHER AND AUTHORS ENDORSE THE INFORMATION OR
SERVICES THE ORGANIZATION, WEBSITE, OR PRODUCT MAY
PROVIDE OR RECOMMENDATIONS IT MAY MAKE. THIS WORK
IS SOLD WITH THE UNDERSTANDING THAT THE PUBLISHER IS
NOT ENGAGED IN RENDERING PROFESSIONAL SERVICES. THE
ADVICE AND STRATEGIES CONTAINED HEREIN MAY NOT BE
SUITABLE FOR YOUR SITUATION. YOU SHOULD CONSULT WITH
A SPECIALIST WHERE APPROPRIATE. FURTHER, READERS
SHOULD BE AWARE THAT WEBSITES LISTED IN THIS WORK
MAY HAVE CHANGED OR DISAPPEARED BETWEEN WHEN THIS
WORK WAS WRITTEN AND WHEN IT IS READ. NEITHER THE
PUBLISHER NOR AUTHORS SHALL BE LIABLE FOR ANY LOSS OF
PROFIT OR ANY OTHER COMMERCIAL DAMAGES, INCLUDING
BUT NOT LIMITED TO SPECIAL, INCIDENTAL, CONSEQUENTIAL,
OR OTHER DAMAGES.
For general information on our other products and services,
please contact our Customer Care Department within the U.S. at
877-762-2974, outside the U.S. at 317-572-3993, or fax 317-572-
4002. For technical support, please visit
https://hub.wiley.com/community/support/dummies.

Wiley publishes in a variety of print and electronic formats and by


print-on-demand. Some material included with standard print
versions of this book may not be included in e-books or in print-
on-demand. If this book refers to media such as a CD or DVD that
is not included in the version you purchased, you may download
this material at http://booksupport.wiley.com. For more
information about Wiley products, visit www.wiley.com.
Library of Congress Control Number: 2021951691
ISBN 978-1-119-84307-8 (pbk); ISBN 978-1-119-84308-5 (ebk);
ISBN 978-1-119-84309-2 (ebk)
Excel® VBA Programming For
Dummies®
To view this book's Cheat Sheet, simply go to
www.dummies.com and search for “Excel VBA
Programming For Dummies Cheat Sheet” in
the Search box.

Table of Contents
Cover
Title Page
Copyright
Introduction
About This Book
Foolish Assumptions
Icons Used in This Book
Beyond the Book
Where to Go from Here
Part 1: Starting Excel VBA Programming
Chapter 1: Getting to Know VBA
Understanding VBA Basics
Knowing What VBA Can Do
Getting the Most from VBA
Understanding VBA Concepts
Ensuring Excel Compatibility
Chapter 2: Building Simple Macros
Displaying the Developer Tab
Creating a Macro
Preparing the Environment
Recording a Macro
Running the Macro
Viewing a Macro in the Visual Basic Editor
Modifying the Macro
Saving Workbooks That Contain Macros
Understanding Macro Security
Part 2: Employing VBA with Excel
Chapter 3: Working in the Visual Basic Editor
Getting to Know the Visual Basic Editor
Working with the Project Explorer
Working with a Code Pane
Customizing the VBE
Chapter 4: Introducing the Excel Object Model
Working with the Excel Object Model
Diving into Object Properties and Methods
Finding Out More from VBA Resources
Chapter 5: VBA Sub and Function Procedures
Understanding Subs versus Functions
Naming Subs and Functions
Executing Sub procedures
Executing Function Procedures
Chapter 6: Using the Excel Macro Recorder
Recording Basics
Preparing to Record
Choosing Between Relative and Absolute Mode
Watching the Macro Recorder in Action
Specifying Recording Options for Your Macro
Streamlining Code Generated by the Macro Recorder
Part 3: Programming Concepts
Chapter 7: Essential VBA Language Elements
Using Comments in Your VBA Code
Using Variables, Constants, and Data Types
Using Assignment Statements
Working with Arrays
Using Labels
Chapter 8: Working with Range Objects
Referring to Range Objects
Referring to a Range Using Properties
Working with Range Object Properties
Taking Action with Range Object Methods
Chapter 9: Using VBA and Worksheet Functions
Understanding Functions
Using Built-In VBA Functions
Using Worksheet Functions in VBA
Using Custom Functions
Chapter 10: Controlling Program Flow and
Making Decisions
Going with the Flow, Dude
The GoTo Statement
Decisions, Decisions
Knocking Your Code for a Loop
Using For Each-Next Loops with Collections
Chapter 11: Automatic Procedures and Events
Preparing for the Big Event
Knowing Where to Put the Event Code
Writing an Event-Handler Procedure
Triggering Workbook Events
Using Activation Events
Programming Worksheet-Related Events
Understanding Events Not Associated with Objects
Chapter 12: Error-Handling Techniques
Types of Errors
An Erroneous Macro Example
Alternate Ways of Handling Errors
Handling Errors: The Details
An Intentional Error
Chapter 13: Bug Extermination Techniques
Species of Bugs
Identifying Bugs
Debugging Techniques
Using the Debugger’s Tools
Bug Reduction Tips
Chapter 14: VBA Programming Examples
Working with Ranges
Changing Excel Settings
Working with Charts
VBA Speed Tips
Part 4: Communicating with Your Users
Chapter 15: Simple Dialog Boxes
Interacting with the User in VBA
Displaying Messages with the MsgBox Function
Getting Data with an Input Box
Allowing the User to Select a File or Folder
Displaying Excel’s Built-In Dialog Boxes
Chapter 16: UserForm Basics
Knowing When to Use a UserForm
Creating UserForms: An Overview
Working with UserForms
A UserForm Example
Chapter 17: Using UserForm Controls
Getting Started with Dialog Box Controls
Learning Dialog Box Controls Details
Working with Dialog Box Controls
Dialog Box Aesthetics
Chapter 18: UserForm Techniques and Tricks
Using Dialog Boxes
A UserForm Example
A ListBox Control Example
Selecting a Range
Using Multiple Sets of Option Buttons
Using a Spin Button and a Text Box
Using a UserForm as a Progress Indicator
Creating a Modeless Tabbed Dialog Box
Displaying a Chart in a UserForm
A Dialog Box Checklist
Chapter 19: Accessing Your Macros through the
User Interface
Customizing the Ribbon
Customizing the Excel UI with VBA
Part 5: Putting It All Together
Chapter 20: Creating Worksheet Functions
Create Custom Functions to Simplify Your Work
Understanding VBA Function Basics
Writing Functions
Working with Function Arguments
Introducing Wrapper Functions
Working with Functions That Return an Array
Using the Insert Function Dialog Box
Chapter 21: Creating Excel Add-Ins
Add-Ins Defined
Reasons to Create Add-Ins
Working with Add-Ins
Understanding Add-In Basics
Looking at an Add-In Example
Part 6: The Part of Tens
Chapter 22: Ten Handy Visual Basic Editor Tips
Applying Block Comments
Copying Multiple Lines of Code at Once
Jumping between Modules and Procedures
Teleporting to Your Functions
Staying in the Right Procedure
Stepping through Your Code
Stepping to a Specific Line in Your Code
Stopping Your Code at a Predefined Point
Seeing the Beginning and End of Variable Values
Turning Off Auto Syntax Check
Chapter 23: Resources for VBA Help
Letting Excel Write Code for You
Referencing the Help System
Pilfering Code from the Internet
Leveraging User Forums
Visiting Expert Blogs
Mining YouTube for Video Training
Attending Live and Online Training Classes
Learning from the Microsoft Office Dev Center
Dissecting the Other Excel Files in Your Organization
Asking Your Local Excel Guru
Chapter 24: Ten VBA Do’s and Don’ts
Do Declare All Variables
Don’t Confuse Passwords with Security
Do Clean Up Your Code
Don’t Put Everything in One Procedure
Do Consider Other Software
Don’t Assume That Everyone Enables Macros
Do Get in the Habit of Experimenting
Don’t Assume That Your Code Will Work with Other Excel
Versions
Do Keep Your Users in Mind
Don’t Forget about Backups
Index
About the Author
Connect with Dummies
End User License Agreement

List of Tables
Chapter 7
TABLE 7-1 VBA’s Built-In Data Types
TABLE 7-2 Variable’s Scope
TABLE 7-3 VBA’s Operators
TABLE 7-4 VBA’s Logical Operators
Chapter 9
TABLE 9-1 VBA Functions with Useful Side Benefits
TABLE 9-2 VBA’s Most Useful Built-In Functions
Chapter 10
TABLE 10-1 Programming Constructs for Making Decisions
Chapter 11
TABLE 11-1 Workbook Events
TABLE 11-2 Worksheet Events
Chapter 12
TABLE 12-1 Using the On Error Statement
TABLE 12-2 Using the Resume Statement
Chapter 15
TABLE 15-1 MsgBox Function Arguments
TABLE 15-2 Constants Used in the MsgBox Function
TABLE 15-3 Constants Used as Return Values for the MsgBox
Function
TABLE 15-4 InputBox Function Arguments
TABLE 15-5 GetOpenFilename Method Arguments
TABLE 15-6 GetSaveAsFilename Method Arguments
Chapter 16
TABLE 16-1 Toolbox Controls
Chapter 17
TABLE 17-1 Common Control Properties
Chapter 18
TABLE 18-1 Settings for the MultiSelect Property
Chapter 20
TABLE 20-1 Commission Rates by Sales

List of Illustrations
Chapter 2
FIGURE 2-1: The Developer tab is normally hidden, but it’s easy to
unhide.
FIGURE 2-2: The Record Macro dialog box appears when you’re
about to record a m...
FIGURE 2-3: The completed Record Macro dialog box.
FIGURE 2-4: The VBE displays the VBA code in Module1 of Book1.
FIGURE 2-5: If your workbook contains macros, and you attempt to
save it in a m...
FIGURE 2-6: The Macro Settings section of the Trust Center dialog
box.
FIGURE 2-7: Excel’s warning that the file to be opened contains
macros.
FIGURE 2-8: Excel's warning that the workbook just opened
contains macros. You ...
Chapter 3
FIGURE 3-1: The VBE is your customizable friend.
FIGURE 3-2: This Project Explorer lists projects that can be
expanded to show m...
FIGURE 3-3: Code pane overload isn’t a pretty sight.
FIGURE 3-4: The GuessName procedure displays this dialog box.
FIGURE 3-5: The Editor tab of the Options dialog box.
FIGURE 3-6: An example of Auto List Members.
FIGURE 3-7: Auto Quick Info offers help about the MsgBox
function.
FIGURE 3-8: Change how the VBE looks with the Editor Format tab.
FIGURE 3-9: The General tab of the Options dialog box.
FIGURE 3-10: The Docking tab of the Options dialog box.
Chapter 4
FIGURE 4-1: This message box displays a Range object’s Value
property.
FIGURE 4-2: The VBE displays a list of arguments while you type.
FIGURE 4-3: An example from VBA’s Help system.
FIGURE 4-4: Browsing for objects with the Object Browser.
FIGURE 4-5: The Auto List Members feature helps you identify
properties and met...
Chapter 5
FIGURE 5-1: Using the built-in VBA InputBox function to get a
number.
FIGURE 5-2: Displaying the cube root of a number via the MsgBox
function.
FIGURE 5-3: The Macro dialog box lists all available Sub
procedures.
FIGURE 5-4: The Macro Options dialog box lets you set options for
your macros.
FIGURE 5-5: The Ribbon, showing the controls available when you
click Insert on...
FIGURE 5-6: When you add a button to a worksheet, Excel
automatically displays ...
FIGURE 5-7: Executing a Function in the Immediate window returns
the answer imm...
FIGURE 5-8: The CubeRoot function appears in the User Defined
category of the I...
FIGURE 5-9: Using the CubeRoot function in formulas.
Chapter 6
FIGURE 6-1: A convenient window arrangement for watching the
macro recorder do ...
FIGURE 6-2: The Record Macro dialog box provides several options.
Chapter 7
FIGURE 7-1: Pressing Ctrl+spacebar displays a list of variable
names, reserved ...
FIGURE 7-2: Each VBA module has a Declarations section, which
appears before an...
Chapter 8
FIGURE 8-1: A noncontiguous range selection.
FIGURE 8-2: This message box displays the Address property of a 5
× 5 rang...

Chapter 9
FIGURE 9-1: Calculating the length of your name.
FIGURE 9-2: A way to display a list of VBA functions.
Other documents randomly have
different content
No. 47—The Man-hunter. By Maro O. Rolfe.
No. 48—The Phantom Tracker. By Frederick Dewey.
No. 49—Moccasin Bill. By Paul Bibbs.
No. 50—The Wolf Queen. By Captain Charles Howard.
No. 51—Tom Hawk, the Trailer. By Lewis Jay Swift.
No. 52—The Mad Chief. By Captain Chas. Howard.
No. 53—The Black Wolf. By Edwin E. Ewing.
No. 54—Arkansas Jack. By Harry Hazard.
No. 55—Blackbeard. By Paul Bibbs.
No. 56—The River Rifles. By Billex Muller.
No. 57—Hunter Ham. By J. Edgar Iliff.
No. 58—Cloudwood; or, The Daughter of the Wilderness. By J. M.
Merrill.
No. 59—The Texas Hawks. By Joe E. Badger, Jr. Ready
No. 60—Merciless Mat. By Capt. Chas. Howard. Ready Oct. 10th.
No. 61—Mad Anthony's Scouts. By Emerson Rodman. Ready
No. 62—The Luckless Trapper; or, The Haunted Hunter. By William
R. Eyster. Ready
No. 63—The Florida Scout; or, The Princess of the Everglades. By
Jos. E. Badger, Jr. Ready Nov. 21st.
Beadle's Dime Pocket Novels are always in print and for sale by
all newsdealers; or will be sent, post-paid, to any address; single
numbers, ten cents; six months (13 Nos.) $1.25; one year (26 Nos.)
$2.50. Address,
BEADLE AND ADAMS, Publishers, 98 William Street, New York.
*** END OF THE PROJECT GUTENBERG EBOOK THE
LUCKLESS TRAPPER; OR, THE HAUNTED HUNTER ***

Updated editions will replace the previous one—the old editions will
be renamed.

Creating the works from print editions not protected by U.S.


copyright law means that no one owns a United States copyright in
these works, so the Foundation (and you!) can copy and distribute it
in the United States without permission and without paying copyright
royalties. Special rules, set forth in the General Terms of Use part of
this license, apply to copying and distributing Project Gutenberg™
electronic works to protect the PROJECT GUTENBERG™ concept
and trademark. Project Gutenberg is a registered trademark, and
may not be used if you charge for an eBook, except by following the
terms of the trademark license, including paying royalties for use of
the Project Gutenberg trademark. If you do not charge anything for
copies of this eBook, complying with the trademark license is very
easy. You may use this eBook for nearly any purpose such as
creation of derivative works, reports, performances and research.
Project Gutenberg eBooks may be modified and printed and given
away—you may do practically ANYTHING in the United States with
eBooks not protected by U.S. copyright law. Redistribution is subject
to the trademark license, especially commercial redistribution.

START: FULL LICENSE


THE FULL PROJECT GUTENBERG LICENSE
PLEASE READ THIS BEFORE YOU DISTRIBUTE OR USE THIS WORK

To protect the Project Gutenberg™ mission of promoting the free


distribution of electronic works, by using or distributing this work (or
any other work associated in any way with the phrase “Project
Gutenberg”), you agree to comply with all the terms of the Full
Project Gutenberg™ License available with this file or online at
www.gutenberg.org/license.

Section 1. General Terms of Use and


Redistributing Project Gutenberg™
electronic works
1.A. By reading or using any part of this Project Gutenberg™
electronic work, you indicate that you have read, understand, agree
to and accept all the terms of this license and intellectual property
(trademark/copyright) agreement. If you do not agree to abide by all
the terms of this agreement, you must cease using and return or
destroy all copies of Project Gutenberg™ electronic works in your
possession. If you paid a fee for obtaining a copy of or access to a
Project Gutenberg™ electronic work and you do not agree to be
bound by the terms of this agreement, you may obtain a refund from
the person or entity to whom you paid the fee as set forth in
paragraph 1.E.8.

1.B. “Project Gutenberg” is a registered trademark. It may only be


used on or associated in any way with an electronic work by people
who agree to be bound by the terms of this agreement. There are a
few things that you can do with most Project Gutenberg™ electronic
works even without complying with the full terms of this agreement.
See paragraph 1.C below. There are a lot of things you can do with
Project Gutenberg™ electronic works if you follow the terms of this
agreement and help preserve free future access to Project
Gutenberg™ electronic works. See paragraph 1.E below.
1.C. The Project Gutenberg Literary Archive Foundation (“the
Foundation” or PGLAF), owns a compilation copyright in the
collection of Project Gutenberg™ electronic works. Nearly all the
individual works in the collection are in the public domain in the
United States. If an individual work is unprotected by copyright law in
the United States and you are located in the United States, we do
not claim a right to prevent you from copying, distributing,
performing, displaying or creating derivative works based on the
work as long as all references to Project Gutenberg are removed. Of
course, we hope that you will support the Project Gutenberg™
mission of promoting free access to electronic works by freely
sharing Project Gutenberg™ works in compliance with the terms of
this agreement for keeping the Project Gutenberg™ name
associated with the work. You can easily comply with the terms of
this agreement by keeping this work in the same format with its
attached full Project Gutenberg™ License when you share it without
charge with others.

1.D. The copyright laws of the place where you are located also
govern what you can do with this work. Copyright laws in most
countries are in a constant state of change. If you are outside the
United States, check the laws of your country in addition to the terms
of this agreement before downloading, copying, displaying,
performing, distributing or creating derivative works based on this
work or any other Project Gutenberg™ work. The Foundation makes
no representations concerning the copyright status of any work in
any country other than the United States.

1.E. Unless you have removed all references to Project Gutenberg:

1.E.1. The following sentence, with active links to, or other


immediate access to, the full Project Gutenberg™ License must
appear prominently whenever any copy of a Project Gutenberg™
work (any work on which the phrase “Project Gutenberg” appears, or
with which the phrase “Project Gutenberg” is associated) is
accessed, displayed, performed, viewed, copied or distributed:
This eBook is for the use of anyone anywhere in the United
States and most other parts of the world at no cost and with
almost no restrictions whatsoever. You may copy it, give it away
or re-use it under the terms of the Project Gutenberg License
included with this eBook or online at www.gutenberg.org. If you
are not located in the United States, you will have to check the
laws of the country where you are located before using this
eBook.

1.E.2. If an individual Project Gutenberg™ electronic work is derived


from texts not protected by U.S. copyright law (does not contain a
notice indicating that it is posted with permission of the copyright
holder), the work can be copied and distributed to anyone in the
United States without paying any fees or charges. If you are
redistributing or providing access to a work with the phrase “Project
Gutenberg” associated with or appearing on the work, you must
comply either with the requirements of paragraphs 1.E.1 through
1.E.7 or obtain permission for the use of the work and the Project
Gutenberg™ trademark as set forth in paragraphs 1.E.8 or 1.E.9.

1.E.3. If an individual Project Gutenberg™ electronic work is posted


with the permission of the copyright holder, your use and distribution
must comply with both paragraphs 1.E.1 through 1.E.7 and any
additional terms imposed by the copyright holder. Additional terms
will be linked to the Project Gutenberg™ License for all works posted
with the permission of the copyright holder found at the beginning of
this work.

1.E.4. Do not unlink or detach or remove the full Project


Gutenberg™ License terms from this work, or any files containing a
part of this work or any other work associated with Project
Gutenberg™.

1.E.5. Do not copy, display, perform, distribute or redistribute this


electronic work, or any part of this electronic work, without
prominently displaying the sentence set forth in paragraph 1.E.1 with
active links or immediate access to the full terms of the Project
Gutenberg™ License.
1.E.6. You may convert to and distribute this work in any binary,
compressed, marked up, nonproprietary or proprietary form,
including any word processing or hypertext form. However, if you
provide access to or distribute copies of a Project Gutenberg™ work
in a format other than “Plain Vanilla ASCII” or other format used in
the official version posted on the official Project Gutenberg™ website
(www.gutenberg.org), you must, at no additional cost, fee or expense
to the user, provide a copy, a means of exporting a copy, or a means
of obtaining a copy upon request, of the work in its original “Plain
Vanilla ASCII” or other form. Any alternate format must include the
full Project Gutenberg™ License as specified in paragraph 1.E.1.

1.E.7. Do not charge a fee for access to, viewing, displaying,


performing, copying or distributing any Project Gutenberg™ works
unless you comply with paragraph 1.E.8 or 1.E.9.

1.E.8. You may charge a reasonable fee for copies of or providing


access to or distributing Project Gutenberg™ electronic works
provided that:

• You pay a royalty fee of 20% of the gross profits you derive from
the use of Project Gutenberg™ works calculated using the
method you already use to calculate your applicable taxes. The
fee is owed to the owner of the Project Gutenberg™ trademark,
but he has agreed to donate royalties under this paragraph to
the Project Gutenberg Literary Archive Foundation. Royalty
payments must be paid within 60 days following each date on
which you prepare (or are legally required to prepare) your
periodic tax returns. Royalty payments should be clearly marked
as such and sent to the Project Gutenberg Literary Archive
Foundation at the address specified in Section 4, “Information
about donations to the Project Gutenberg Literary Archive
Foundation.”

• You provide a full refund of any money paid by a user who


notifies you in writing (or by e-mail) within 30 days of receipt that
s/he does not agree to the terms of the full Project Gutenberg™
License. You must require such a user to return or destroy all
copies of the works possessed in a physical medium and
discontinue all use of and all access to other copies of Project
Gutenberg™ works.

• You provide, in accordance with paragraph 1.F.3, a full refund of


any money paid for a work or a replacement copy, if a defect in
the electronic work is discovered and reported to you within 90
days of receipt of the work.

• You comply with all other terms of this agreement for free
distribution of Project Gutenberg™ works.

1.E.9. If you wish to charge a fee or distribute a Project Gutenberg™


electronic work or group of works on different terms than are set
forth in this agreement, you must obtain permission in writing from
the Project Gutenberg Literary Archive Foundation, the manager of
the Project Gutenberg™ trademark. Contact the Foundation as set
forth in Section 3 below.

1.F.

1.F.1. Project Gutenberg volunteers and employees expend


considerable effort to identify, do copyright research on, transcribe
and proofread works not protected by U.S. copyright law in creating
the Project Gutenberg™ collection. Despite these efforts, Project
Gutenberg™ electronic works, and the medium on which they may
be stored, may contain “Defects,” such as, but not limited to,
incomplete, inaccurate or corrupt data, transcription errors, a
copyright or other intellectual property infringement, a defective or
damaged disk or other medium, a computer virus, or computer
codes that damage or cannot be read by your equipment.

1.F.2. LIMITED WARRANTY, DISCLAIMER OF DAMAGES - Except


for the “Right of Replacement or Refund” described in paragraph
1.F.3, the Project Gutenberg Literary Archive Foundation, the owner
of the Project Gutenberg™ trademark, and any other party
distributing a Project Gutenberg™ electronic work under this
agreement, disclaim all liability to you for damages, costs and
expenses, including legal fees. YOU AGREE THAT YOU HAVE NO
REMEDIES FOR NEGLIGENCE, STRICT LIABILITY, BREACH OF
WARRANTY OR BREACH OF CONTRACT EXCEPT THOSE
PROVIDED IN PARAGRAPH 1.F.3. YOU AGREE THAT THE
FOUNDATION, THE TRADEMARK OWNER, AND ANY
DISTRIBUTOR UNDER THIS AGREEMENT WILL NOT BE LIABLE
TO YOU FOR ACTUAL, DIRECT, INDIRECT, CONSEQUENTIAL,
PUNITIVE OR INCIDENTAL DAMAGES EVEN IF YOU GIVE
NOTICE OF THE POSSIBILITY OF SUCH DAMAGE.

1.F.3. LIMITED RIGHT OF REPLACEMENT OR REFUND - If you


discover a defect in this electronic work within 90 days of receiving it,
you can receive a refund of the money (if any) you paid for it by
sending a written explanation to the person you received the work
from. If you received the work on a physical medium, you must
return the medium with your written explanation. The person or entity
that provided you with the defective work may elect to provide a
replacement copy in lieu of a refund. If you received the work
electronically, the person or entity providing it to you may choose to
give you a second opportunity to receive the work electronically in
lieu of a refund. If the second copy is also defective, you may
demand a refund in writing without further opportunities to fix the
problem.

1.F.4. Except for the limited right of replacement or refund set forth in
paragraph 1.F.3, this work is provided to you ‘AS-IS’, WITH NO
OTHER WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR ANY PURPOSE.

1.F.5. Some states do not allow disclaimers of certain implied


warranties or the exclusion or limitation of certain types of damages.
If any disclaimer or limitation set forth in this agreement violates the
law of the state applicable to this agreement, the agreement shall be
interpreted to make the maximum disclaimer or limitation permitted
by the applicable state law. The invalidity or unenforceability of any
provision of this agreement shall not void the remaining provisions.
1.F.6. INDEMNITY - You agree to indemnify and hold the
Foundation, the trademark owner, any agent or employee of the
Foundation, anyone providing copies of Project Gutenberg™
electronic works in accordance with this agreement, and any
volunteers associated with the production, promotion and distribution
of Project Gutenberg™ electronic works, harmless from all liability,
costs and expenses, including legal fees, that arise directly or
indirectly from any of the following which you do or cause to occur:
(a) distribution of this or any Project Gutenberg™ work, (b)
alteration, modification, or additions or deletions to any Project
Gutenberg™ work, and (c) any Defect you cause.

Section 2. Information about the Mission of


Project Gutenberg™
Project Gutenberg™ is synonymous with the free distribution of
electronic works in formats readable by the widest variety of
computers including obsolete, old, middle-aged and new computers.
It exists because of the efforts of hundreds of volunteers and
donations from people in all walks of life.

Volunteers and financial support to provide volunteers with the


assistance they need are critical to reaching Project Gutenberg™’s
goals and ensuring that the Project Gutenberg™ collection will
remain freely available for generations to come. In 2001, the Project
Gutenberg Literary Archive Foundation was created to provide a
secure and permanent future for Project Gutenberg™ and future
generations. To learn more about the Project Gutenberg Literary
Archive Foundation and how your efforts and donations can help,
see Sections 3 and 4 and the Foundation information page at
www.gutenberg.org.

Section 3. Information about the Project


Gutenberg Literary Archive Foundation
The Project Gutenberg Literary Archive Foundation is a non-profit
501(c)(3) educational corporation organized under the laws of the
state of Mississippi and granted tax exempt status by the Internal
Revenue Service. The Foundation’s EIN or federal tax identification
number is 64-6221541. Contributions to the Project Gutenberg
Literary Archive Foundation are tax deductible to the full extent
permitted by U.S. federal laws and your state’s laws.

The Foundation’s business office is located at 809 North 1500 West,


Salt Lake City, UT 84116, (801) 596-1887. Email contact links and up
to date contact information can be found at the Foundation’s website
and official page at www.gutenberg.org/contact

Section 4. Information about Donations to


the Project Gutenberg Literary Archive
Foundation
Project Gutenberg™ depends upon and cannot survive without
widespread public support and donations to carry out its mission of
increasing the number of public domain and licensed works that can
be freely distributed in machine-readable form accessible by the
widest array of equipment including outdated equipment. Many small
donations ($1 to $5,000) are particularly important to maintaining tax
exempt status with the IRS.

The Foundation is committed to complying with the laws regulating


charities and charitable donations in all 50 states of the United
States. Compliance requirements are not uniform and it takes a
considerable effort, much paperwork and many fees to meet and
keep up with these requirements. We do not solicit donations in
locations where we have not received written confirmation of
compliance. To SEND DONATIONS or determine the status of
compliance for any particular state visit www.gutenberg.org/donate.

While we cannot and do not solicit contributions from states where


we have not met the solicitation requirements, we know of no
prohibition against accepting unsolicited donations from donors in
such states who approach us with offers to donate.

International donations are gratefully accepted, but we cannot make


any statements concerning tax treatment of donations received from
outside the United States. U.S. laws alone swamp our small staff.

Please check the Project Gutenberg web pages for current donation
methods and addresses. Donations are accepted in a number of
other ways including checks, online payments and credit card
donations. To donate, please visit: www.gutenberg.org/donate.

Section 5. General Information About Project


Gutenberg™ electronic works
Professor Michael S. Hart was the originator of the Project
Gutenberg™ concept of a library of electronic works that could be
freely shared with anyone. For forty years, he produced and
distributed Project Gutenberg™ eBooks with only a loose network of
volunteer support.

Project Gutenberg™ eBooks are often created from several printed


editions, all of which are confirmed as not protected by copyright in
the U.S. unless a copyright notice is included. Thus, we do not
necessarily keep eBooks in compliance with any particular paper
edition.

Most people start at our website which has the main PG search
facility: www.gutenberg.org.

This website includes information about Project Gutenberg™,


including how to make donations to the Project Gutenberg Literary
Archive Foundation, how to help produce our new eBooks, and how
to subscribe to our email newsletter to hear about new eBooks.

You might also like