VBA and Macros for Microsoft Office Excel 2007

VBA and Macros for Microsoft Office Excel 2007

3.86 (22 ratings by Goodreads)
By (author)  , By (author) 

Free delivery worldwide

Available. Dispatched from the UK in 3 business days
When will my order arrive?

Description

"In this day and age of `too much information and not enough time,' the ability to get to the bottom line quickly and in a concise method is what excels companies to the top of their industry. The techniques in this book will allow you to do things you only dreamt of."

-Jerry Kohl, president of Brighton Collectibles



Develop your Excel macro programming skills using VBA instantly with proven techniques



Automate Reports

Handle Errors

Master Pivot Tables

Produce Charts

Build User-Defined Functions

Migrate to Excel 2007

Query Web Data

Build Dialog Boxes

Use Data Visualizations

Automate Word





You are an expert in Excel, but the macro recorder doesn't work and you can't make heads or tails out of the recorded code. If this is you, buy this book. Macros that you record today might work today but not tomorrow. Recorded macros might handle a dataset with 14 records but not one with 12 or 16 records. These are all common problems with the macro recorder that unfortunately cause too many Excel gurus to turn away from writing macros. This book shows you why the macro recorder fails and the steps needed to convert recorded code into code that will work every day with every dataset. The book assumes that you know Excel well, but there is no need for prior programming experience. This book describes everything you could conceivably need to know to automate reports and design applications in Excel VBA. Whether you want to automate reports for your office or design full-blown applications for others, this book is for you.



Learn VBA syntax as easy-to-understand English
Automate Excel's power tools: Pivot Tables, Charts, Advanced Filters
Save hours per week by automating redundant tasks
Create applications built on top of Excel with custom dialog boxes
Automatically produce hundreds of Excel reports in seconds
Understand how changes in Excel 2007 impact your VBA macros

Introduction 1

1 Unleash the Power of Excel with VBA 7

2 This Sounds Like BASIC, So Why Doesn't It Look Familiar? 29

3 Referring to Ranges 61

4 User-Defined Functions 75

5 Looping and Flow Control 101

6 R1C1-Style Formulas 121

7 What's New in Excel 2007 and What's Changed 135

8 Create and Manipulate Names in VBA 143

9 Event Programming 155

10 UserForms--An Introduction 177

11 Creating Charts 197

12 Data Mining with Advanced Filter 249

13 Using VBA to Create Pivot Tables 281

14 Excel Power 337

15 Data Visualizations and Conditional Formatting 373

16 Reading from and Writing to the Web 393

17 XML in Excel 2007 413

18 Automating Word 421

19 Arrays 441

20 Text File Processing 449

21 Using Access as a Back End to Enhance Multi-User Access to Data 461

22 Creating Classes, Records, and Collections 477

23 Advanced UserForm Techniques 493

24 Windows Application Programming Interface (API) 517

25 Handling Errors 529

26 Customizing the Ribbon to Run Macros 543

27 Creating Add-Ins 569

Index 577
show more

Product details

  • Paperback | 624 pages
  • 177.8 x 241.3 x 38.1mm | 975.22g
  • Que Corporation,U.S.
  • Indianapolis, IN, United States
  • English
  • 0789736829
  • 9780789736826
  • 299,924

Back cover copy

"In this day and age of 'too much information and not enough time, ' the ability to get to the bottom line quickly and in a concise method is what excels companies to the top of their industry. The techniques in this book will allow you to do things you only dreamt of." -Jerry Kohl, president of Brighton Collectibles Develop your Excel macro programming skills using VBA instantly with proven techniques Automate Reports Handle Errors Master Pivot Tables Produce Charts Build User-Defined Functions Migrate to Excel 2007 Query Web Data Build Dialog Boxes Use Data Visualizations Automate Word You are an expert in Excel, but the macro recorder doesn't work and you can't make heads or tails out of the recorded code. If this is you, buy this book. Macros that you record today might work today but not tomorrow. Recorded macros might handle a dataset with 14 records but not one with 12 or 16 records. These are all common problems with the macro recorder that unfortunately cause too many Excel gurus to turn away from writing macros. This book shows you why the macro recorder fails and the steps needed to convert recorded code into code that will work every day with every dataset. The book assumes that you know Excel well, but there is no need for prior programming experience. This book describes everything you could conceivably need to know to automate reports and design applications in Excel VBA. Whether you want to automate reports for your office or design full-blown applications for others, this book is for you. Learn VBA syntax as easy-to-understand English Automate Excel's power tools: Pivot Tables, Charts, Advanced Filters Save hours per week by automating redundant tasks Create applications built on top of Excel with custom dialog boxes Automatically produce hundreds of Excel reports in seconds Understand how changes in Excel 2007 impact your VBA macros Introduction 1 1 Unleash the Power of Excel with VBA 7 2 This Sounds Like BASIC, So Why Doesn't It Look Familiar? 29 3 Referring to Ranges 61 4 User-Defined Functions 75 5 Looping and Flow Control 101 6 R1C1-Style Formulas 121 7 What's New in Excel 2007 and What's Changed 135 8 Create and Manipulate Names in VBA 143 9 Event Programming 155 10 UserForms--An Introduction 177 11 Creating Charts 197 12 Data Mining with Advanced Filter 249 13 Using VBA to Create Pivot Tables 281 14 Excel Power 337 15 Data Visualizations and Conditional Formatting 373 16 Reading from and Writing to the Web 393 17 XML in Excel 2007 413 18 Automating Word 421 19 Arrays 441 20 Text File Processing 449 21 Using Access as a Back End to Enhance Multi-User Access to Data 461 22 Creating Classes, Records, and Collections 477 23 Advanced UserForm Techniques 493 24 Windows Application Programming Interface (API) 517 25 Handling Errors 529 26 Customizing the Ribbon to Run Macros 543 27 Creating Add-Ins 569 Index 577
show more

Table of contents

Introduction 1

1 Unleash the Power of Excel with VBA 7

2 This Sounds Like BASIC, So Why Doesn't It Look Familiar? 29

3 Referring to Ranges 61

4 User-Defined Functions 75

5 Looping and Flow Control 101

6 R1C1-Style Formulas 121

7 What's New in Excel 2007 and What's Changed 135

8 Create and Manipulate Names in VBA 143

9 Event Programming 155

10 UserForms--An Introduction 177

11 Creating Charts 197

12 Data Mining with Advanced Filter 249

13 Using VBA to Create Pivot Tables 281

14 Excel Power 337

15 Data Visualizations and Conditional Formatting 373

16 Reading from and Writing to the Web 393

17 XML in Excel 2007 413

18 Automating Word 421

19 Arrays 441

20 Text File Processing 449

21 Using Access as a Back End to Enhance Multi-User Access to Data 461

22 Creating Classes, Records, and Collections 477

23 Advanced UserForm Techniques 493

24 Windows Application Programming Interface (API) 517

25 Handling Errors 529

26 Customizing the Ribbon to Run Macros 543

27 Creating Add-Ins 569

Index 577
show more

Review Text

“In this day and age of ‘too much information and not enough time,’ the ability to get to the bottom line quickly and in a concise method is what excels companies to the top of their industry. The techniques in this book will allow you to do things you only dreamt of.”

—Jerry Kohl, president of Brighton Collectibles

Develop your Excel macro programming skills using VBA instantly with proven techniques

Automate Reports

Handle Errors

Master Pivot Tables

Produce Charts

Build User-Defined Functions

Migrate to Excel 2007

Query Web Data

Build Dialog Boxes

Use Data Visualizations

Automate Word

You are an expert in Excel, but the macro recorder doesn’t work and you can’t make heads or tails out of the recorded code. If this is you, buy this book. Macros that you record today might work today but not tomorrow. Recorded macros might handle a dataset with 14 records but not one with 12 or 16 records. These are all common problems with the macro recorder that unfortunately cause too many Excel gurus to turn away from writing macros. This book shows you why the macro recorder fails and the steps needed to convert recorded code into code that will work every day with every dataset. The book assumes that you know Excel well, but there is no need for prior programming experience. This book describes everything you could conceivably need to know to automate reports and design applications in Excel VBA. Whether you want to automate reports for your office or design full-blown applications for others, this book is for you.

Learn VBA syntax as easy-to-understand EnglishAutomate Excel’s power tools: Pivot Tables, Charts, Advanced FiltersSave hours per week by automating redundant tasksCreate applications built on top of Excel with custom dialog boxesAutomatically produce hundreds of Excel reports in secondsUnderstand how changes in Excel 2007 impact your VBA macros

Introduction   1

1 Unleash the Power of Excel with VBA  7

2 This Sounds Like BASIC, So Why Doesn’t It Look Familiar?   29

3 Referring to Ranges 61

4 User-Defined Functions     75

5 Looping and Flow Control   101

6 R1C1-Style Formulas    121

7 What’s New in Excel 2007 and What's Changed  135

8 Create and Manipulate Names in VBA  143

9 Event Programming 155

10 UserForms--An Introduction   177

11 Creating Charts    197

12 Data Mining with Advanced Filter  249

13 Using VBA to Create Pivot Tables     281

14 Excel Power     337

15 Data Visualizations and Conditional Formatting  373

16 Reading from and Writing to the Web  393

17 XML in Excel 2007 413

18 Automating Word  421

19 Arrays   441

20 Text File Processing    449

21 Using Access as a Back End to Enhance Multi-User Access to Data   461

22 Creating Classes, Records, and Collections   477

23 Advanced UserForm Techniques  493

24 Windows Application Programming Interface (API)   517

25 Handling Errors     529

26 Customizing the Ribbon to Run Macros   543

27 Creating Add-Ins  569

Index  577
show more

About Bill Jelen

Bill Jelen, Excel MVP and MrExcel, has been using spreadsheets since 1985, and he launched the MrExcel.com website in 1998. Bill has made more than 50 guest appearances on Call for Help with Leo Laporte and has produced more than 250 episodes of his daily video podcast, Learn Excel from MrExcel. He is the host of Total Training's Excel 2007 Advanced DVD. He also enjoys taking his show on the road, doing a one- to four-hour power Excel seminar anywhere that a room full of accountants or Excellers will show up. Before founding MrExcel.com, Jelen spent 12 years in the trenches-working as a financial analyst for finance, marketing, accounting, and operations departments of a $500 million public company. He lives near Akron, Ohio, with his wife, Mary Ellen, and sons, Josh and Zeke.



Tracy Syrstad remembers the painful trek up the VBA learning curve while developing applications for herself and co-workers at a former job. Now, as the project manager for the MrExcel consulting team, she enjoys helping clients develop custom solutions for their unique situations, observing the myriad ways people use Excel and other Microsoft Office applications.
show more

Rating details

22 ratings
3.86 out of 5 stars
5 27% (6)
4 41% (9)
3 23% (5)
2 9% (2)
1 0% (0)
Book ratings by Goodreads
Goodreads is the world's largest site for readers with over 50 million reviews. We're featuring millions of their reader ratings on our book pages to help you find your new favourite book. Close X