Livro 5778999999

download Livro 5778999999

of 47

Transcript of Livro 5778999999

  • 8/10/2019 Livro 5778999999

    1/47

    presentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use components built in Visual Basic 6 and Visual Studio2005 inyour Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.in Excel that you get in the full-fledged programming languages: ease of reuse, easiercode maintenance, encapsulation, and more.your Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.Chapter 4 looks at Excel 2007 UserForms and the tools they provide. Its examplesshowhow to build simple and complex data entry forms, and code maintenance, encapsulation, and more.your Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual StudioChapter 5 explores charting in Excel 2007. After examining the code created by the MacroRecorder, it shows how to use the Chart object in code.Chapter 6 takes a look at Excel PivotTable reports. PivotTables are powerful data analysistools, and theyre easy to create and modify. The code samples show how to create

    and modifyPivotTable reports.Chapter 7 is an overview of VBA debugging tools and techniques. The Immediate, Locals,and Watch windows are shown in detail. The section on erropresentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use components built in Visual Basic 6 and Visual Studio2005 inyour Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.in Excel that you get in the full-fledged programming languages: ease of reuse, easier

    code maintenance, encapsulation, and more.your Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.Chapter 4 looks at Excel 2007 UserForms and the tools they provide. Its examplesshowhow to build simple and complex data entry forms, and code maintenance, encapsulation, and more.your Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual StudioChapter 5 explores charting in Excel 2007. After examining the code created by the MacroRecorder, it shows how to use the Chart object in code.

    Chapter 6 takes a look at Excel PivotTable reports. PivotTables are powerful data analysistools, and theyre easy to create and modify. The code samples show how to createand modifyPivotTable reports.Chapter 7 is an overview of VBA debugging tools and techniques. The Immediate, Locals,and Watch windows are shown in detail. The section on erropresentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use components built in Visual Basic 6 and Visual Studio

  • 8/10/2019 Livro 5778999999

    2/47

    2005 inyour Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.in Excel that you get in the full-fledged programming languages: ease of reuse, easiercode maintenance, encapsulation, and more.your Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.Chapter 4 looks at Excel 2007 UserForms and the tools they provide. Its examplesshowhow to build simple and complex data entry forms, and code maintenance, encapsulation, and more.your Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual StudioChapter 5 explores charting in Excel 2007. After examining the code created by the MacroRecorder, it shows how to use the Chart object in code.Chapter 6 takes a look at Excel PivotTable reports. PivotTables are powerful data analysistools, and theyre easy to create and modify. The code samples show how to createand modifyPivotTable reports.

    Chapter 7 is an overview of VBA debugging tools and techniques. The Immediate, Locals,and Watch windows are shown in detail. The section on erropresentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use components built in Visual Basic 6 and Visual Studio2005 inyour Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.in Excel that you get in the full-fledged programming languages: ease of reuse, easiercode maintenance, encapsulation, and more.your Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologies

    in Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.Chapter 4 looks at Excel 2007 UserForms and the tools they provide. Its examplesshowhow to build simple and complex data entry forms, and code maintenance, encapsulation, and more.your Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual StudioChapter 5 explores charting in Excel 2007. After examining the code created by the MacroRecorder, it shows how to use the Chart object in code.Chapter 6 takes a look at Excel PivotTable reports. PivotTables are powerful data analysis

    tools, and theyre easy to create and modify. The code samples show how to createand modifyPivotTable reports.Chapter 7 is an overview of VBA debugging tools and techniques. The Immediate, Locals,and Watch windows are shown in detail. The section on erropresentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use components built in Visual Basic 6 and Visual Studio2005 inyour Excel 2007 projects. Examples from earlier chapters are re-created using Ac

  • 8/10/2019 Livro 5778999999

    3/47

    tiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.in Excel that you get in the full-fledged programming languages: ease of reuse, easiercode maintenance, encapsulation, and more.your Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.Chapter 4 looks at Excel 2007 UserForms and the tools they provide. Its examplesshowhow to build simple and complex data entry forms, and code maintenance, encapsulation, and more.your Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual StudioChapter 5 explores charting in Excel 2007. After examining the code created by the MacroRecorder, it shows how to use the Chart object in code.Chapter 6 takes a look at Excel PivotTable reports. PivotTables are powerful data analysistools, and theyre easy to create and modify. The code samples show how to createand modifyPivotTable reports.Chapter 7 is an overview of VBA debugging tools and techniques. The Immediate, Locals,

    and Watch windows are shown in detail. The section on erroChapter 5 explores charting in Excel 2007. After examining the code created by the MacroRecorder, it shows how to use the Chart object in code.Chapter 6 takes a look at Excel PivotTable reports. PivotTables are powerful data analysistools, and theyre easy to create and modify. The code samples show how to createand modifyPivotTable reports.Chapter 7 is an overview of VBA debugging tools and techniques. The Immediate, Locals,and Watch windows are shown in detail. The section on error handling shows how to effectively

    trap for errors and how to provide positive feedback to the user.Chapter 8 is all about integrating your Excel solution with other Microsoft Office applications.Its examples include building a chart report in Word 2007 and building a PowerPointpresentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use components built in Visual Basic 6 and Visual Studio2005 inyour Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.in Excel that you get in the full-fledged programming languages: ease of reuse, easier

    code maintenance, encapsulation, and more.your Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.Chapter 4 looks at Excel 2007 UserForms and the tools they provide. Its examplesshowhow to build simple and complex data entry forms, and code maintenance, encapsulation, and more.your Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio

  • 8/10/2019 Livro 5778999999

    4/47

    Chapter 5 explores charting in Excel 2007. After examining the code created by the MacroRecorder, it shows how to use the Chart object in code.Chapter 6 takes a look at Excel PivotTable reports. PivotTables are powerful data analysistools, and theyre easy to create and modify. The code samples show how to createand modifyPivotTable reports.Chapter 7 is an overview of VBA debugging tools and techniques. The Immediate, Locals,and Watch windows are shown in detail. The section on error handling shows how to effectivelytrap for errors and how to provide positive feedback to the user.Chapter 8 is all about integrating your Excel solution with other Microsoft Office applications.Its examples include building a chart report in Word 2007 and building a PowerPointpresentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use components built in Visual Basic 6 and Visual Studio2005 inyour Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.in Excel that you get in the full-fledged programming lang

    uages: ease of reuse, easiercode maintenance, encapsulation, and more.your Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.Chapter 4 looks at Excel 2007 UserForms and the tools they provide. Its examplesshowhow to build simple and complex data entry forms, and code maintenance, encapsulation, and more.your Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual StudioChapter 5 explores charting in Excel 2007. After examining the code created by the Macro

    Recorder, it shows how to use the Chart object in code.Chapter 6 takes a look at Excel PivotTable reports. PivotTables are powerful data analysistools, and theyre easy to create and modify. The code samples show how to createand modifyPivotTable reports.Chapter 7 is an overview of VBA debugging tools and techniques. The Immediate, Locals,and Watch windows are shown in detail. The section on error handling shows how to effectivelytrap for errors and how to provide positive feedback to the user.Chapter 8 is all about integrating your Excel solution with other Microsoft Office applications.

    Its examples include building a chart report in Word 2007 and building a PowerPointpresentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use components built in Visual Basic 6 and Visual Studio2005 inyour Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.in Excel that you get in the full-fledged programming languages: ease of reuse, easier

  • 8/10/2019 Livro 5778999999

    5/47

    code maintenance, encapsulation, and more.your Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.Chapter 4 looks at Excel 2007 UserForms and the tools they provide. Its examplesshowhow to build simple and complex data entry forms, and code maintenance, encapsulation, and more.your Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual StudioChapter 5 explores charting in Excel 2007. After examining the code created by the MacroRecorder, it shows how to use the Chart object in code.Chapter 6 takes a look at Excel PivotTable reports. PivotTables are powerful data analysistools, and theyre easy to create and modify. The code samples show how to createand modifyPivotTable reports.Chapter 7 is an overview of VBA debugging tools and techniques. The Immediate, Locals,and Watch windows are shown in detail. The section on error handling shows how to effectivelytrap for errors and how to provide positive feedback to the user.Chapter 8 is all about integrating your Excel solution with other Microsoft Offi

    ce applications.Its examples include building a chart report in Word 2007 and building a PowerPointpresentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use components built in Visual Basic 6 and Visual Studio2005 inyour Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.in Excel that you get in the full-fledged programming languages: ease of reuse, easiercode maintenance, encapsulation, and more.your Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologies

    in Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.Chapter 4 looks at Excel 2007 UserForms and the tools they provide. Its examplesshowhow to build simple and complex data entry forms, and code maintenance, encapsulation, and more.your Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual StudioChapter 5 explores charting in Excel 2007. After examining the code created by the MacroRecorder, it shows how to use the Chart object in code.Chapter 6 takes a look at Excel PivotTable reports. PivotTables are powerful data analysis

    tools, and theyre easy to create and modify. The code samples show how to createand modifyPivotTable reports.Chapter 7 is an overview of VBA debugging tools and techniques. The Immediate, Locals,and Watch windows are shown in detail. The section on error handling shows how to effectivelytrap for errors and how to provide positive feedback to the user.Chapter 8 is all about integrating your Excel solution with other Microsoft Office applications.

  • 8/10/2019 Livro 5778999999

    6/47

    Its examples include building a chart report in Word 2007 and building a PowerPointpresentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use components built in Visual Basic 6 and Visual Studio2005 inyour Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.in Excel that you get in the full-fledged programming languages: ease of reuse, easiercode maintenance, encapsulation, and more.your Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.Chapter 4 looks at Excel 2007 UserForms and the tools they provide. Its examplesshowhow to build simple and complex data entry forms, and code maintenance, encapsulation, and more.your Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual StudioChapter 5 explores charting in Excel 2007. After examining the code created by the MacroRecorder, it shows how to use the Chart object in code.Chapter 6 takes a look at Excel PivotTable reports. PivotTables are powerful dat

    a analysistools, and theyre easy to create and modify. The code samples show how to createand modifyPivotTable reports.Chapter 7 is an overview of VBA debugging tools and techniques. The Immediate, Locals,and Watch windows are shown in detail. The section on error handling shows how to effectivelytrap for errors and how to provide positive feedback to the user.Chapter 8 is all about integrating your Excel solution with other Microsoft Office applications.Its examples include building a chart report in Word 2007 and building a PowerPoint

    presentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use components built in Visual Basic 6 and Visual Studio2005 inyour Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.in Excel that you get in the full-fledged programming languages: ease of reuse, easiercode maintenance, encapsulation, and more.your Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.Chapter 4 looks at Excel 2007 UserForms and the tools they provide. Its examples

    showhow to build simple and complex data entry forms, and code maintenance, encapsulation, and more.your Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual StudioChapter 5 explores charting in Excel 2007. After examining the code created by the MacroRecorder, it shows how to use the Chart object in code.Chapter 6 takes a look at Excel PivotTable reports. PivotTables are powerful data analysis

  • 8/10/2019 Livro 5778999999

    7/47

    tools, and theyre easy to create and modify. The code samples show how to createand modifyPivotTable reports.Chapter 7 is an overview of VBA debugging tools and techniques. The Immediate, Locals,and Watch windows are shown in detail. The section on error handling shows how to effectivelytrap for errors and how to provide positive feedback to the user.Chapter 8 is all about integrating your Excel solution with other Microsoft Office applications.Its examples include building a chart report in Word 2007 and building a PowerPointpresentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use components built in Visual Basic 6 and Visual Studio2005 inyour Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.in Excel that you get in the full-fledged programming languages: ease of reuse, easiercode maintenance, encapsulation, and more.your Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.

    Chapter 4 looks at Excel 2007 UserForms and the tools they provide. Its examplesshowhow to build simple and complex data entry forms, and code maintenance, encapsulation, and more.your Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual StudioChapter 5 explores charting in Excel 2007. After examining the code created by the MacroRecorder, it shows how to use the Chart object in code.Chapter 6 takes a look at Excel PivotTable reports. PivotTables are powerful data analysistools, and theyre easy to create and modify. The code samples show how to createand modify

    PivotTable reports.Chapter 7 is an overview of VBA debugging tools and techniques. The Immediate, Locals,and Watch windows are shown in detail. The section on error handling shows how to effectivelytrap for errors and how to provide positive feedback to the user.Chapter 8 is all about integrating your Excel solution with other Microsoft Office applications.Its examples include building a chart report in Word 2007 and building a PowerPointpresentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use components built in Visual Basic 6 and Visual Studio2005 in

    your Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.in Excel that you get in the full-fledged programming languages: ease of reuse, easiercode maintenance, encapsulation, and more.your Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.Chapter 4 looks at Excel 2007 UserForms and the tools they provide. Its examples

  • 8/10/2019 Livro 5778999999

    8/47

    showhow to build simple and complex data entry forms, and code maintenance, encapsulation, and more.your Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studiothis book will provide you with that information.I wrote this book because Ive always enjoyed writing applications in Excel when it is therequired solution. Excel is often overlooked in coding situations, but as youll see in the pagesof this book, it has many, many possibilities, and it is relatively easy to learn. Excel 2007 hasexpanded XML support. XML data is easily brought into and out of an Excel project so yourclient spreadsheet data can be shared. Excel UserForms give you the ability to create simpleuser interfaces for your clients and allow you to create easy-to-use data collection tools. Excelcharting and PivotTablChapter 7 is an overview of VBA debugging tools and techniques. The Immediate, Locals,and Watch windows are shown in detail. The section on error handling shows how to effectivelytrap for errors and how to provide positive feedback to the user.Chapter 8 is all about integrating your Excel solution with other Microsoft Offi

    ce applications.Its examples include building a chart report in Word 2007 and building a PowerPointpresentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use components built in Visual Basic 6 and Visual Studio2005 inyour Excel 2007 projects. Examples from earlier chapters are re-cthis book willprovide you with that information.I wrote this book because Ive always enjoyed writing applications in Excel when it is therequired solution. Excel is often overlooked in coding situations, but as youll see in the pagesof this book, it has many, many possibilities, and it is relatively easy to lear

    n. Excel 2007 hasexpanded XML support. XML data is easily brought into and out of an Excel project so yourclient spreadsheet data can be shared. Excel UserForms give you the ability to create simpleuser interfaces for your clients and allow you to create easy-to-use data collection tools. Excelcharting and PivotTablChapter 7 is an overview of VBA debugging tools and techniques. The Immediate, Locals,and Watch windows are shown in detail. The section on error handling shows how to effectivelytrap for errors and how to provide positive feedback to the user.Chapter 8 is all about integrating your Excel solution with other Microsoft Offi

    ce applications.Its examples include building a chart report in Word 2007 and building a PowerPointpresentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use components built in Visual Basic 6 and Visual Studio2005 inyour Excel 2007 projects. Examples from earlier chapters are re-cthis book willprovide you with that information.I wrote this book because Ive always enjoyed writing applications in Excel when it is the

  • 8/10/2019 Livro 5778999999

    9/47

    required solution. Excel is often overlooked in coding situations, but as youll see in the pagesof this book, it has many, many possibilities, and it is relatively easy to learn. Excel 2007 hasexpanded XML support. XML data is easily brought into and out of an Excel project so yourclient spreadsheet data can be shared. Excel UserForms give you the ability to create simpleuser interfaces for your clients and allow you to create easy-to-use data collection tools. Excelcharting and PivotTablChapter 7 is an overview of VBA debugging tools and techniques. The Immediate, Locals,and Watch windows are shown in detail. The section on error handling shows how to effectivelytrap for errors and how to provide positive feedback to the user.Chapter 8 is all about integrating your Excel solution with other Microsoft Office applications.Its examples include building a chart report in Word 2007 and building a PowerPointpresentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use components built in Visual Basic 6 and Visual Studio2005 inyour Excel 2007 projects. Examples from earlier chapters are re-cthis book willprovide you with that information.

    I wrote this book because Ive always enjoyed writing applications in Excel when it is therequired solution. Excel is often overlooked in coding situations, but as youll see in the pagesof this book, it has many, many possibilities, and it is relatively easy to learn. Excel 2007 hasexpanded XML support. XML data is easily brought into and out of an Excel project so yourclient spreadsheet data can be shared. Excel UserForms give you the ability to create simpleuser interfaces for your clients and allow you to create easy-to-use data collection tools. Excelcharting and PivotTablChapter 7 is an overview of VBA debugging tools and techni

    ques. The Immediate, Locals,and Watch windows are shown in detail. The section on error handling shows how to effectivelytrap for errors and how to provide positive feedback to the user.Chapter 8 is all about integrating your Excel solution with other Microsoft Office applications.Its examples include building a chart report in Word 2007 and building a PowerPointpresentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use components built in Visual Basic 6 and Visual Studio2005 inyour Excel 2007 projects. Examples from earlier chapters are re-cthis book willprovide you with that information.

    I wrote this book because Ive always enjoyed writing applications in Excel when it is therequired solution. Excel is often overlooked in coding situations, but as youll see in the pagesof this book, it has many, many possibilities, and it is relatively easy to learn. Excel 2007 hasexpanded XML support. XML data is easily brought into and out of an Excel project so yourclient spreadsheet data can be shared. Excel UserForms give you the ability to create simple

  • 8/10/2019 Livro 5778999999

    10/47

    user interfaces for your clients and allow you to create easy-to-use data collection tools. Excelcharting and PivotTablChapter 7 is an overview of VBA debugging tools and techniques. The Immediate, Locals,and Watch windows are shown in detail. The section on error handling shows how to effectivelytrap for errors and how to provide positive feedback to the user.Chapter 8 is all about integrating your Excel solution with other Microsoft Office applications.Its examples include building a chart report in Word 2007 and building a PowerPointpresentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use components built in Visual Basic 6 and Visual Studio2005 inyour Excel 2007 projects. Examples from earlier chapters are re-cthis book willprovide you with that information.I wrote this book because Ive always enjoyed writing applications in Excel when it is therequired solution. Excel is often overlooked in coding situations, but as youll see in the pagesof this book, it has many, many possibilities, and it is relatively easy to learn. Excel 2007 hasexpanded XML support. XML data is easily brought into and out of an Excel project so your

    client spreadsheet data can be shared. Excel UserForms give you the ability to create simpleuser interfaces for your clients and allow you to create easy-to-use data collection tools. Excelcharting and PivotTablChapter 7 is an overview of VBA debugging tools and techniques. The Immediate, Locals,and Watch windows are shown in detail. The section on error handling shows how to effectivelytrap for errors and how to provide positive feedback to the user.Chapter 8 is all about integrating your Excel solution with other Microsoft Office applications.Its examples include building a chart report in Word 2007 and building a PowerPoint

    presentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use components built in Visual Basic 6 and Visual Studio2005 inyour Excel 2007 projects. Examples from earlier chapters are re-cthis book willprovide you with that information.I wrote this book because Ive always enjoyed writing applications in Excel when it is therequired solution. Excel is often overlooked in coding situations, but as youll see in the pagesof this book, it has many, many possibilities, and it is relatively easy to learn. Excel 2007 hasexpanded XML support. XML data is easily brought into and out of an Excel project so your

    client spreadsheet data can be shared. Excel UserForms give you the ability to create simpleuser interfaces for your clients and allow you to create easy-to-use data collection tools. Excelcharting and PivotTablChapter 7 is an overview of VBA debugging tools and techniques. The Immediate, Locals,and Watch windows are shown in detail. The section on error handling shows how to effectivelytrap for errors and how to provide positive feedback to the user.Chapter 8 is all about integrating your Excel solution with other Microsoft Offi

  • 8/10/2019 Livro 5778999999

    11/47

  • 8/10/2019 Livro 5778999999

    12/47

    Chapter 6 takes a look at Excel PivotTable reports. PivotTables are powerful data analysistools, and theyre easy to create and modify. The code samples show how to createand modifyPivotTable reports.Chapter 7 is an overview of VBA debugging tools and techniques. The Immediate, Locals,and Watch windows are shown in detail. The section on error handling shows how to effectivelytrap for errors and how to provide positive feedback to the user.Chapter 8 is all about integrating your Excel solution with other Microsoft Office applications.Its examples include building a chart report in Word 2007 and building a PowerPointpresentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use components built in Visual Basic 6 and Visual Studio2005 inyour Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.in Excel that you get in the full-fledged programming languages: ease of reuse, easiercode maintenance, encapsulation, and more.your Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologies

    in Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.Chapter 4 looks at Excel 2007 UserForms and the tools they provide. Its examplesshowhow to build simple and complex data entry forms, and code maintenance, encapsulation, and more.your Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.Chapter 4 looks at Excel 2007 UserForms and the tools they provide. Its examplesshowhow to build simple and complex data entry forms, and how to use classes to addfunctionality

    to the UserForms.Chapter 5 explores charting in Excel 2007. After examining the code created by the MacroRecorder, it shows how to use the Chart object in code.Chapter 6 takes a look at Excel PivotTable reports. PivotTables are powerful data analysistools, and theyre easy to create and modify. The code samples show how to createand modifyPivotTable reports.Chapter 7 is an overview of VBA debugging tools and techniques. The Immediate, Locals,and Watch windows are shown in detail. The section on error handling shows how to effectively

    trap for errors and how to provide positive feedback to the user.Chapter 8 is all about integrating your Excel solution with other Microsoft Office applications.Its examples include building a chart report in Word 2007 and building a PowerPointpresentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use components built in Visual Basic 6 and Visual Studio2005 inyour Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologies

  • 8/10/2019 Livro 5778999999

    13/47

    in Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.in Excel that you get in the full-fledged programming languages: ease of reuse, easiercode maintenance, encapsulation, and more.your Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.Chapter 4 looks at Excel 2007 UserForms and the tools they provide. Its examplesshowhow to build simple and complex data entry forms, and code maintenance, encapsulation, and more.your Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.Chapter 4 looks at Excel 2007 UserForms and the tools they provide. Its examplesshowhow to build simple and complex data entry forms, and how to use classes to addfunctionalityto the UserForms.Chapter 5 explores charting in Excel 2007. After examining the code created by the MacroRecorder, it shows how to use the Chart object in code.Chapter 6 takes a look at Excel PivotTable reports. PivotTables are powerful data analysis

    tools, and theyre easy to create and modify. The code samples show how to createand modifyPivotTable reports.Chapter 7 is an overview of VBA debugging tools and techniques. The Immediate, Locals,and Watch windows are shown in detail. The section on error handling shows how to effectivelytrap for errors and how to provide positive feedback to the user.Chapter 8 is all about integrating your Excel solution with other Microsoft Office applications.Its examples include building a chart report in Word 2007 and building a PowerPointpresentation that includes text and charts from an Excel workbook.

    Chapter 9 shows how to use components built in Visual Basic 6 and Visual Studio2005 inyour Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.in Excel that you get in the full-fledged programming languages: ease of reuse, easiercode maintenance, encapsulation, and more.your Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.Chapter 4 looks at Excel 2007 UserForms and the tools they provide. Its examplesshow

    how to build simple and complex data entry forms, and code maintenance, encapsulation, and more.your Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.Chapter 4 looks at Excel 2007 UserForms and the tools they provide. Its examplesshowhow to build simple and complex data entry forms, and how to use classes to addfunctionalityto the UserForms.

  • 8/10/2019 Livro 5778999999

    14/47

    Chapter 5 explores charting in Excel 2007. After examining the code created by the MacroRecorder, it shows how to use the Chart object in code.Chapter 6 takes a look at Excel PivotTable reports. PivotTables are powerful data analysistools, and theyre easy to create and modify. The code samples show how to createand modifyPivotTable reports.Chapter 7 is an overview of VBA debugging tools and techniques. The Immediate, Locals,and Watch windows are shown in detail. The section on error handling shows how to effectivelytrap for errors and how to provide positive feedback to the user.Chapter 8 is all about integrating your Excel solution with other Microsoft Office applications.Its examples include building a chart report in Word 2007 and building a PowerPointpresentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use components built in Visual Basic 6 and Visual Studio2005 inyour Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.in Excel that you get in the full-fledged programming lang

    uages: ease of reuse, easiercode maintenance, encapsulation, and more.your Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.Chapter 4 looks at Excel 2007 UserForms and the tools they provide. Its examplesshowhow to build simple and complex data entry forms, and code maintenance, encapsulation, and more.your Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.Chapter 4 looks at Excel 2007 UserForms and the tools they provide. Its examples

    showhow to build simple and complex data entry forms, and how to use classes to addfunctionalityto the UserForms.Chapter 5 explores charting in Excel 2007. After examining the code created by the MacroRecorder, it shows how to use the Chart object in code.Chapter 6 takes a look at Excel PivotTable reports. PivotTables are powerful data analysistools, and theyre easy to create and modify. The code samples show how to createand modifyPivotTable reports.Chapter 7 is an overview of VBA debugging tools and techniques. The Immediate, L

    ocals,and Watch windows are shown in detail. The section on error handling shows how to effectivelytrap for errors and how to provide positive feedback to the user.Chapter 8 is all about integrating your Excel solution with other Microsoft Office applications.Its examples include building a chart report in Word 2007 and building a PowerPointpresentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use components built in Visual Basic 6 and Visual Studio

  • 8/10/2019 Livro 5778999999

    15/47

    2005 inyour Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.in Excel that you get in the full-fledged programming languages: ease of reuse, easiercode maintenance, encapsulation, and more.your Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.Chapter 4 looks at Excel 2007 UserForms and the tools they provide. Its examplesshowhow to build simple and complex data entry forms, and

    your Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.Chapter 4 looks at Excel 2007 UserForms and the tools they provide. Its examplesshowhow to build simple and complex data entry forms, and how to use classes to addfunctionalityto the UserForms.Chapter 5 explores charting in Excel 2007. After examining the code created by t

    he MacroRecorder, it shows how to use the Chart object in code.Chapter 6 takes a look at Excel PivotTable reports. PivotTables are powerful data analysistools, and theyre easy to create and modify. The code samples show how to createand modifyPivotTable reports.Chapter 7 is an overview of VBA debugging tools and techniques. The Immediate, Locals,and Watch windows are shown in detail. The section on error handling shows how to effectivelytrap for errors and how to provide positive feedback to the user.Chapter 8 is all about integrating your Excel solution with other Microsoft Offi

    ce applications.Its examples include building a chart report in Word 2007 and building a PowerPointpresentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use components built in Visual Basic 6 and Visual Studio2005 inyour Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.in Excel that you get in the full-fledged programming languages: ease of reuse, easiercode maintenance, encapsulation, and more.your Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologies

    in Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.Chapter 4 looks at Excel 2007 UserForms and the tools they provide. Its examplesshowhow to build simple and complex data entry forms, and how to use classes to addfunctionalityto the UserForms.Chapter 5 explores charting in Excel 2007. After examining the code created by the MacroRecorder, it shows how to use the Chart object in code.

  • 8/10/2019 Livro 5778999999

    16/47

    Chapter 6 takes a look at Excel PivotTable reports. PivotTables are powerful data analysistools, and theyre easy to create and modify. The code samples show how to createand modifyPivotTable reports.Chapter 7 is an overview of VBA debugging tools and techniques. The Immediate, Locals,and Watch windows are shown in detail. The section on error handling shows how to effectivelytrap for errors and how to provide positive feedback to the user.Chapter 8 is all about integrating your Excel solution with other Microsoft Office applications.Its examples include building a chart report in Word 2007 and building a PowerPointpresentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use components built in Visual Basic 6 and Visual Studio2005 inyour Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.in Excel that you get in the full-fledged programming languages: ease of reuse, easiercode maintenance, encapsulation, and more.your Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologies

    in Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.Chapter 4 looks at Excel 2007 UserForms and the tools they provide. Its examplesshowhow to build simple and complex data entry forms, and how to use classes to addfunctionalityto the UserForms.Chapter 5 explores charting in Excel 2007. After examining the code created by the MacroRecorder, it shows how to use the Chart object in code.Chapter 6 takes a look at Excel PivotTable reports. PivotTables are powerful data analysistools, and theyre easy to create and modify. The code samples show how to create

    and modifyPivotTable reports.Chapter 7 is an overview of VBA debugging tools and techniques. The Immediate, Locals,and Watch windows are shown in detail. The section on error handling shows how to effectivelytrap for errors and how to provide positive feedback to the user.Chapter 8 is all about integrating your Excel solution with other Microsoft Office applications.Its examples include building a chart report in Word 2007 and building a PowerPointpresentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use components built in Visual Basic 6 and Visual Studio

    2005 inyour Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.in Excel that you get in the full-fledged programming languages: ease of reuse, easiercode maintenance, encapsulation, and more.your Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.

  • 8/10/2019 Livro 5778999999

    17/47

  • 8/10/2019 Livro 5778999999

    18/47

  • 8/10/2019 Livro 5778999999

    19/47

    Chapter 8 is all about integrating your Excel solution with other Microsoft Office applications.Its examples include building a chart report in Word 2007 and building a PowerPointpresentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use components built in Visual Basic 6 and Visual Studio2005 inyour Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.in Excel that you get in the full-fledged programming languages: ease of reuse, easiercode maintenance, encapsulation, and more.your Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.Chapter 4 looks at Excel 2007 UserForms and the tools they provide. Its examplesshowhow to build simple and complex data entry forms, and how to use classes to addfunctionalityto the UserForms.Chapter 5 explores charting in Excel 2007. After examining the code created by the MacroRecorder, it shows how to use the Chart object in code.

    Chapter 6 takes a look at Excel PivotTable reports. PivotTables are powerful data analysistools, and theyre easy to create and modify. The code samples show how to createand modifyPivotTable reports.Chapter 7 is an overview of VBA debugging tools and techniques. The Immediate, Locals,and Watch windows are shown in detail. The section on error handling shows how to effectivelytrap for errors and how to provide positive feedback to the user.Chapter 8 is all about integrating your Excel solution with other Microsoft Office applications.Its examples include building a chart report in Word 2007 and building a PowerPo

    intpresentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use components built in Visual Basic 6 and Visual Studio2005 inyour Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.in Excel that you get in the full-fledged programming languages: ease of reuse, easiercode maintenance, encapsulation, and more.your Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.

    Chapter 4 looks at Excel 2007 UserForms and the tools they provide. Its examplesshowhow to build simple and complex data entry forms, and how to use classes to addfunctionalityto the UserForms.Chapter 5 explores charting in Excel 2007. After examining the code created by the MacroRecorder, it shows how to use the Chart object in code.Chapter 6 takes a look at Excel PivotTable reports. PivotTables are powerful data analysis

  • 8/10/2019 Livro 5778999999

    20/47

    tools, and theyre easy to create and modify. The code samples show how to createand modifyPivotTable reports.Chapter 7 is an overview of VBA debugging tools and techniques. The Immediate, Locals,and Watch windows are shown in detail. The section on error handling shows how to effectivelytrap for errors and how to provide positive feedback to the user.Chapter 8 is all about integrating your Excel solution with other Microsoft Office applications.Its examples include building a chart report in Word 2007 and building a PowerPointpresentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use components built in Visual Basic 6 and Visual Studio2005 inyour Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.in Excel that you get in the full-fledged programming languages: ease of reuse, easiercode maintenance, encapsulation, and more.your Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.

    Chapter 4 looks at Excel 2007 UserForms and the tools they provide. Its examplesshowhow to build simple and complex data entry forms, and how to use classes to addfunctionalityto the UserForms.Chapter 5 explores charting in Excel 2007. After examining the code created by the MacroRecorder, it shows how to use the Chart object in code.Chapter 6 takes a look at Excel PivotTable reports. PivotTables are powerful data analysistools, and theyre easy to create and modify. The code samples show how to createand modifyPivotTable reports.

    Chapter 7 is an overview of VBA debugging tools and techniques. The Immediate, Locals,and Watch windows are shown in detail. The section on error handling shows how to effectivelytrap for errors and how to provide positive feedback to the user.Chapter 8 is all about integrating your Excel solution with other Microsoft Office applications.Its examples include building a chart report in Word 2007 and building a PowerPointpresentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use components built in Visual Basic 6 and Visual Studio2005 inyour Excel 2007 projects. Examples from earlier chapters are re-created using Ac

    tiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.in Excel that you get in the full-fledged programming languages: ease of reuse, easiercode maintenance, encapsulation, and more.your Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.Chapter 4 looks at Excel 2007 UserForms and the tools they provide. Its examplesshow

  • 8/10/2019 Livro 5778999999

    21/47

    how to build simple and complex data entry forms, and how to use classes to addfunctionalityto the UserForms.Chapter 5 explores charting in Excel 2007. After examining the code created by the MacroRecorder, it shows how to use the Chart object in code.Chapter 6 takes a look at Excel PivotTable reports. PivotTables are powerful data analysistools, and theyre easy to create and modify. The code samples show how to createand modifyPivotTable reports.Chapter 7 is an overview of VBA debugging tools and techniques. The Immediate, Locals,and Watch windows are shown in detail. The section on error handling shows how to effectivelytrap for errors and how to provide positive feedback to the user.Chapter 8 is all about integrating your Excel solution with other Microsoft Office applications.Its examples include building a chart report in Word 2007 and building a PowerPointpresentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use components built in Visual Basic 6 and Visual Studio2005 inyour Excel 2007 projects. Examples from earlier chapters are re-created using Ac

    tiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.in Excel that you get in the full-fledged programming languages: ease of reuse, easiercode maintenance, encapsulation, and more.affect any other Microsoft Office applications.1C H A P T E R 1Table 1-1 lists the Excel macro security settings and explains each setting.Table 1-1.Macro Security SettingsSetting PurposeDisable all macros without notification Use this setting if you dont trust the source of

    a workbook containing macros.Disable all macros with notification This is the default setting. Use it when youwant macros to be disabled, but you want toget security alerts if there are macros present.You can decide when to enable those macros.Disable all macros except digitally signed macros This is the same as the Disableall macroswith notificationoption, except that whenthe macro is digitally signed by a trusted publisher,the macro can run if you have trustedthe publisher.Enable all macros (not recommended, potentially Use this setting to allow all ma

    cros to run.dangerous code can run)Trust access to the VBA project object model This setting is for developers only.nCaution The Enable all macrossetting makes your computer vulnerable to potentially malicious code.It is not recommended that you use this setting permanently. For the examples inthis book, we use this setting,but it is highly recommended that you choose another option in your production code.

  • 8/10/2019 Livro 5778999999

    22/47

    Trusted PublishersThis section lists the currently trusted certificates that can be used by developers to signdocuments and add-ins. When you open a digitally signed document, the digital signatureappears on your computer as a certificate. The certificate names the VBA projectssource,plus additional information about the identity and integrity of that source. A digital signaturedoes not necessarily guarantee the safety of a project, and you must decide whetheryou trust a project that has been digitally signed.affect any other Microsoft Office applications.1C H A P T E R 1Table 1-1 lists the Excel macro security settings and explains each setting.Table 1-1.Macro Security SettingsSetting PurposeDisable all macros without notification Use this setting if you dont trust the source ofa workbook containing macros.Disable all macros with notification This is the default setting. Use it when youwant macros to be disabled, but you want to

    get security alerts if there are macros present.You can decide when to enable those macros.Disable all macros except digitally signed macros This is the same as the Disableall macroswith notificationoption, except that whenthe macro is digitally signed by a trusted publisher,the macro can run if you have trustedthe publisher.Enable all macros (not recommended, potentially Use this setting to allow all macros to run.dangerous code can run)Trust access to the VBA project object model This setting is for developers only.

    nCaution The Enable all macrossetting makes your computer vulnerable to potentially malicious code.It is not recommended that you use this setting permanently. For the examples inthis book, we use this setting,but it is highly recommended that you choose another option in your production code.Trusted PublishersThis section lists the currently trusted certificates that can be used by developers to signdocuments and add-ins. When you open a digitally signed document, the digital signatureappears on your computer as a certificate. The certificate names the VBA projectssource,

    plus additional information about the identity and integrity of that source. A digital signaturedoes not necessarily guarantee the safety of a project, and you must decide whetheryou trust a project that has been digitally signed.affect any other Microsoft Office applications.1C H A P T E R 1Table 1-1 lists the Excel macro security settings and explains each setting.Table 1-1.Macro Security Settings

  • 8/10/2019 Livro 5778999999

    23/47

  • 8/10/2019 Livro 5778999999

    24/47

    dangerous code can run)Trust access to the VBA project object model This setting is for developers only.nCaution The Enable all macrossetting makes your computer vulnerable to potentially malicious code.It is not recommended that you use this setting permanently. For the examples inthis book, we use this setting,but it is highly recommended that you choose another option in your production code.Trusted PublishersThis section lists the currently trusted certificates that can be used by developers to signdocuments and add-ins. When you open a digitally signed document, the digital signatureappears on your computer as a certificate. The certificate names the VBA projectssource,plus additional information about the identity and integrity of that source. A digital signaturedoes not necessarily guarantee the safety of a project, and you must decide whetheryou trust a project that has been digitally signed.affect any other Microsoft Office applications.1C H A P T E R 1

    Table 1-1 lists the Excel macro security settings and explains each setting.Table 1-1.Macro Security SettingsSetting PurposeDisable all macros without notification Use this setting if you dont trust the source ofa workbook containing macros.Disable all macros with notification This is the default setting. Use it when youwant macros to be disabled, but you want toget security alerts if there are macros present.You can decide when to enable those macros.Disable all macros except digitally signed macros This is the same as the Disableall macros

    with notificationoption, except that whenthe macro is digitally signed by a trusted publisher,the macro can run if you have trustedthe publisher.Enable all macros (not recommended, potentially Use this setting to allow all macros to run.dangerous code can run)Trust access to the VBA project object model This setting is for developers only.nCaution The Enable all macrossetting makes your computer vulnerable to potentially malicious code.It is not recommended that you use this setting permanently. For the examples inthis book, we use this setting,

    but it is highly recommended that you choose another option in your production code.Trusted PublishersThis section lists the currently trusted certificates that can be used by developers to signdocuments and add-ins. When you open a digitally signed document, the digital signatureappears on your computer as a certificate. The certificate names the VBA projectssource,plus additional information about the identity and integrity of that source. A d

  • 8/10/2019 Livro 5778999999

    25/47

    igital signaturedoes not necessarily guarantee the safety of a project, and you must decide whetheryou trust a project that has been digitally signed.affect any other Microsoft Office applications.1C H A P T E R 1Table 1-1 lists the Excel macro security settings and explains each setting.Table 1-1.Macro Security SettingsSetting PurposeDisable all macros without notification Use this setting if you dont trust the source ofa workbook containing macros.Disable all macros with notification This is the default setting. Use it when youwant macros to be disabled, but you want toget security alerts if there are macros present.You can decide when to enable those macros.Disable all macros except digitally signed macros This is the same as the Disableall macroswith notificationoption, except that whenthe macro is digitally signed by a trusted publisher,the macro can run if you have trustedthe publisher.

    Enable all macros (not recommended, potentially Use this setting to allow all macros to run.dangerous code can run)Trust access to the VBA project object model This setting is for developers only.nCaution The Enable all macrossetting makes your computer vulnerable to potentially malicious code.It is not recommended that you use this setting permanently. For the examples inthis book, we use this setting,but it is highly recommended that you choose another option in your production code.Trusted PublishersThis section lists the currently trusted certificates that can be used by develo

    pers to signdocuments and add-ins. When you open a digitally signed document, the digital signatureappears on your computer as a certificate. The certificate names the VBA projectssource,plus additional information about the identity and integrity of that source. A digital signaturedoes not necessarily guarantee the safety of a project, and you must decide whetheryou trust a project that has been digitally signed.affect any other Microsoft Office applications.1C H A P T E R 1

    Table 1-1 lists the Excel macro security settings and explains each setting.Table 1-1.Macro Security SettingsSetting PurposeDisable all macros without notification Use this setting if you dont trust the source ofa workbook containing macros.Disable all macros with notification This is the default setting. Use it when youwant macros to be disabled, but you want toget security alerts if there are macros present.

  • 8/10/2019 Livro 5778999999

    26/47

    You can decide when to enable those macros.Disable all macros except digitally signed macros This is the same as the Disableall macroswith notificationoption, except that whenthe macro is digitally signed by a trusted publisher,the macro can run if you have trustedthe publisher.Enable all macros (not recommended, potentially Use this setting to allow all macros to run.dangerous code can run)Trust access to the VBA project object model This setting is for developers only.nCaution The Enable all macrossetting makes your computer vulnerable to potentially malicious code.It is not recommended that you use this setting permanently. For the examples inthis book, we use this setting,but it is highly recommended that you choose another option in your production code.Trusted PublishersThis section lists the currently trusted certificates that can be used by developers to signdocuments and add-ins. When you open a digitally signed document, the digital signatureappears on your computer as a certificate. The certificate names the VBA projects

    source,plus additional information about the identity and integrity of that source. A digital signaturedoes not necessarily guarantee the safety of a project, and you must decide whetheryou trust a project that has been digitally signed.

    Chapter 8 is all about integrating your Excel solution with other Microsoft Office applications.Its examples include building a chart report in Word 2007 and building a PowerPointpresentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use components built in Visual Basic 6 and Visual Studio

    2005 inyour Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.or pretty charts? If you want to learn how to bring data into your Excel 2007 projects, orlearn to work with XML, or see how object-oriented programming can be used in Excel 2007,this book will provide you with that information.I wrote this book because Ive always enjoyed writing applications in Excel when it is therequired solution. Excel is often overlooked in coding situations, but as youll see in the pages

    of this book, it has many, many possibilities, and it is relatively easy to learn. Excel 2007 hasexpanded XML support. XML data is easily brought into and out of an Excel project so yourclient spreadsheet data can be shared. Excel UserForms give you the ability to create simpleuser interfaces for your clients and allow you to create easy-to-use data collection tools. Excelcharting and PivotTablChapter 7 is an overview of VBA debugging tools and techniques. The Immediate, Locals,

  • 8/10/2019 Livro 5778999999

    27/47

    and Watch windows are shown in detail. The section on error handling shows how to effectivelytrap for errors and how to provide positive feedback to the user.Chapter 8 is all about integrating your Excel solution with other Microsoft Office applications.Its examples include building a chart report in Word 2007 and building a PowerPointpresentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use compoChapter 8 is all about integrating your Excel solution with other Microsoft Office applications.Its examples include building a chart report in Word 2007 and building a PowerPointpresentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use components built in Visual Basic 6 and Visual Studio2005 inyour Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.or pretty charts? If you want to learn how to bring data into your Excel 2007 projects, orlearn to work with XML, or see how object-oriented programming can be used in Excel 2007,this book will provide you with that information.I wrote this book because Ive always enjoyed writing applications in Excel when i

    t is therequired solution. Excel is often overlooked in coding situations, but as youll see in the pagesof this book, it has many, many possibilities, and it is relatively easy to learn. Excel 2007 hasexpanded XML support. XML data is easily brought into and out of an Excel project so yourclient spreadsheet data can be shared. Excel UserForms give you the ability to create simpleuser interfaces for your clients and allow you to create easy-to-use data collection tools. Excelcharting and PivotTablChapter 7 is an overview of VBA debugging tools and techniques. The Immediate, Locals,

    and Watch windows are shown in detail. The section on error handling shows how to effectivelytrap for errors and how to provide positive feedback to the user.Chapter 8 is all about integrating your Excel solution with other Microsoft Office applications.Its examples include building a chart report in Word 2007 and building a PowerPointpresentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use compoChapter 8 is all about integrating your Excel solution with other Microsoft Office applications.Its examples include building a chart report in Word 2007 and building a PowerPointpresentation that includes text and charts from an Excel workbook.

    Chapter 9 shows how to use components built in Visual Basic 6 and Visual Studio2005 inyour Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.or pretty charts? If you want to learn how to bring data into your Excel 2007 projects, orlearn to work with XML, or see how object-oriented programming can be used in Excel 2007,this book will provide you with that information.

  • 8/10/2019 Livro 5778999999

    28/47

    I wrote this book because Ive always enjoyed writing applications in Excel when it is therequired solution. Excel is often overlooked in coding situations, but as youll see in the pagesof this book, it has many, many possibilities, and it is relatively easy to learn. Excel 2007 hasexpanded XML support. XML data is easily brought into and out of an Excel project so yourclient spreadsheet data can be shared. Excel UserForms give you the ability to create simpleuser interfaces for your clients and allow you to create easy-to-use data collection tools. Excelcharting and PivotTablChapter 7 is an overview of VBA debugging tools and techniques. The Immediate, Locals,and Watch windows are shown in detail. The section on error handling shows how to effectivelytrap for errors and how to provide positive feedback to the user.Chapter 8 is all about integrating your Excel solution with other Microsoft Office applications.Its examples include building a chart report in Word 2007 and building a PowerPointpresentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use compoChapter 8 is all about integrating your Excel solution with other Microsoft Office applications.

    Its examples include building a chart report in Word 2007 and building a PowerPointpresentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use components built in Visual Basic 6 and Visual Studio2005 inyour Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.or pretty charts? If you want to learn how to bring data into your Excel 2007 projects, orlearn to work with XML, or see how object-oriented programming can be used in Excel 2007,this book will provide you with that information.

    I wrote this book because Ive always enjoyed writing applications in Excel when it is therequired solution. Excel is often overlooked in coding situations, but as youll see in the pagesof this book, it has many, many possibilities, and it is relatively easy to learn. Excel 2007 hasexpanded XML support. XML data is easily brought into and out of an Excel project so yourclient spreadsheet data can be shared. Excel UserForms give you the ability to create simpleuser interfaces for your clients and allow you to create easy-to-use data collection tools. Excelcharting and PivotTablChapter 7 is an overview of VBA debugging tools and techni

    ques. The Immediate, Locals,and Watch windows are shown in detail. The section on error handling shows how to effectivelytrap for errors and how to provide positive feedback to the user.Chapter 8 is all about integrating your Excel solution with other Microsoft Office applications.Its examples include building a chart report in Word 2007 and building a PowerPointpresentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use compoChapter 8 is all about integrating your Excel so

  • 8/10/2019 Livro 5778999999

    29/47

    lution with other Microsoft Office applications.Its examples include building a chart report in Word 2007 and building a PowerPointpresentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use components built in Visual Basic 6 and Visual Studio2005 inyour Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.or pretty charts? If you want to learn how to bring data into your Excel 2007 projects, orlearn to work with XML, or see how object-oriented programming can be used in Excel 2007,this book will provide you with that information.I wrote this book because Ive always enjoyed writing applications in Excel when it is therequired solution. Excel is often overlooked in coding situations, but as youll see in the pagesof this book, it has many, many possibilities, and it is relatively easy to learn. Excel 2007 hasexpanded XML support. XML data is easily brought into and out of an Excel project so yourclient spreadsheet data can be shared. Excel UserForms give you the ability to create simple

    user interfaces for your clients and allow you to create easy-to-use data collection tools. Excelcharting and PivotTablChapter 7 is an overview of VBA debugging tools and techniques. The Immediate, Locals,and Watch windows are shown in detail. The section on error handling shows how to effectivelytrap for errors and how to provide positive feedback to the user.Chapter 8 is all about integrating your Excel solution with other Microsoft Office applications.Its examples include building a chart report in Word 2007 and building a PowerPointpresentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use compoyour Excel 2007 projects. Examples from earlier

    chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.or pretty charts? If you want to learn how to bring data into your Excel 2007 projects, orlearn to work with XML, or see how object-oriented programming can be used in Excel 2007,this book will provide you with that information.I wrote this book because Ive always enjoyed writing applications in Excel when it is therequired solution. Excel is often overlooked in coding situations, but as youll see in the pagesof this book, it has many, many possibilities, and it is relatively easy to learn. Excel 2007 has

    expanded XML support. XML data is easily brought into and out of an Excel project so yourclient spreadsheet data can be shared. Excel UserForms give you the ability to create simpleuser interfaces for your clients and allow you to create easy-to-use data collection tools. Excelcharting and PivotTablChapter 7 is an overview of VBA debugging tools and techniques. The Immediate, Locals,and Watch windows are shown in detail. The section on error handling shows how to effectively

  • 8/10/2019 Livro 5778999999

    30/47

    trap for errors and how to provide positive feedback to the user.Chapter 8 is all about integrating your Excel solution with other Microsoft Office applications.Its examples include building a chart report in Word 2007 and building a PowerPointpresentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use components built in Visual Basic 6 and Visual Studio2005 inyour Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 ayour Excel 2007projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.or pretty charts? If you want to learn how to bring data into your Excel 2007 projects, orlearn to work with XML, or see how object-oriented programming can be used in Excel 2007,this book will provide you with that information.I wrote this book because Ive always enjoyed writing applications in Excel when it is therequired solution. Excel is often overlooked in coding situations, but as youll see in the pagesof this book, it has many, many possibilities, and it is relatively easy to lear

    n. Excel 2007 hasexpanded XML support. XML data is easily brought into and out of an Excel project so yourclient spreadsheet data can be shared. Excel UserForms give you the ability to create simpleuser interfaces for your clients and allow you to create easy-to-use data collection tools. Excelcharting and PivotTablChapter 7 is an overview of VBA debugging tools and techniques. The Immediate, Locals,and Watch windows are shown in detail. The section on error handling shows how to effectivelytrap for errors and how to provide positive feedback to the user.Chapter 8 is all about integrating your Excel solution with other Microsoft Offi

    ce applications.Its examples include building a chart report in Word 2007 and building a PowerPointpresentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use components built in Visual Basic 6 and Visual Studio2005 inyour Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 a

    or pretty charts? If you want to learn how to bring data into your Excel 2007 projects, or

    learn to work with XML, or see how object-oriented programming can be used in Excel 2007,this book will provide you with that information.I wrote this book because Ive always enjoyed writing applications in Excel when it is therequired solution. Excel is often overlooked in coding situations, but as youll see in the pagesof this book, it has many, many possibilities, and it is relatively easy to learn. Excel 2007 hasexpanded XML support. XML data is easily brought into and out of an Excel projec

  • 8/10/2019 Livro 5778999999

    31/47

    t so yourclient spreadsheet data can be shared. Excel UserForms give you the ability to create simpleuser interfaces for your clients and allow you to create easy-to-use data collection tools. Excelcharting and PivotTablChapter 7 is an overview of VBA debugging tools and techniques. The Immediate, Locals,and Watch windows are shown in detail. The section on error handling shows how to effectivelytrap for errors and how to provide positive feedback to the user.Chapter 8 is all about integrating your Excel solution with other Microsoft Office applications.Its examples include building a chart report in Word 2007 and building a PowerPointpresentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use components built in Visual Basic 6 and Visual Studio2005 inyour Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.or pretty charts? If you want to learn how to bring data into your Excel 2007 projects, orlearn to work with XML, or see how object-oriented programming can be used in Excel 2007,

    this book will provide you with that information.I wrote this book because Ive always enjoyed writing applications in Excel when it is therequired solution. Excel is often overlooked in coding situations, but as youll see in the pagesof this book, it has many, many possibilities, and it is relatively easy to learn. Excel 2007 hasexpanded XML support. XML data is easily brought into and out of an Excel project so yourclient spreadsheet data can be shared. Excel UserForms give you the ability to create simpleuser interfaces for your clients and allow you to create easy-to-use data collection tools. Excel

    charting and PivotTablChapter 7 is an overview of VBA debugging tools and techniques. The Immediate, Locals,and Watch windows are shown in detail. The section on error handling shows how to effectivelytrap for errors and how to provide positive feedback to the user.Chapter 8 is all about integrating your Excel solution with other Microsoft Office applications.Its examples include building a chart report in Word 2007 and building a PowerPointpresentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use components built in Visual Basic 6 and Visual Studio2005 inyour Excel 2007 projects. Examples from earlier chapters are re-created using Ac

    tiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.or pretty charts? If you want to learn how to bring data into your Excel 2007 projects, orlearn to work with XML, or see how object-oriented programming can be used in Excel 2007,this book will provide you with that information.I wrote this book because Ive always enjoyed writing applications in Excel when it is therequired solution. Excel is often overlooked in coding situations, but as youll s

  • 8/10/2019 Livro 5778999999

    32/47

    ee in the pagesof this book, it has many, many possibilities, and it is relatively easy to learn. Excel 2007 hasexpanded XML support. XML data is easily brought into and out of an Excel project so yourclient spreadsheet data can be shared. Excel UserForms give you the ability to create simpleuser interfaces for your clients and allow you to create easy-to-use data collection tools. Excelcharting and PivotTablChapter 7 is an overview of VBA debugging tools and techniques. The Immediate, Locals,and Watch windows are shown in detail. The section on error handling shows how to effectivelytrap for errors and how to provide positive feedback to the user.Chapter 8 is all about integrating your Excel solution with other Microsoft Office applications.Its examples include building a chart report in Word 2007 and building a PowerPointpresentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use components built in Visual Basic 6 and Visual Studio2005 in

    nd Visual StudioTools for Office 2005.or pretty charts? If you want to learn how to bring data into your Excel 2007 projects, orlearn to work with XML, or see how object-oriented programming can be used in Excel 2007,this book will provide you with that information.I wrote this book because Ive always enjoyed writing applications in Excel when it is therequired solution. Excel is often overlooked in coding situations, but as youll see in the pagesof this book, it has many, many possibilities, and it is relatively easy to learn. Excel 2007 hasexpanded XML support. XML data is easily brought into and out of an Excel projec

    t so yourclient spreadsheet data can be shared. Excel UserForms give you the ability to create simpleuser interfaces for your clients and allow you to create easy-to-use data collection tools. Excelcharting and PivotTablChapter 7 is an overview of VBA debugging tools and techniques. The Immediate, Locals,and Watch windows are shown in detail. The section on error handling shows how to effectivelytrap for errors and how to provide positive feedback to the user.Chapter 8 is all about integrating your Excel solution with other Microsoft Office applications.Its examples include building a chart report in Word 2007 and building a PowerPo

    intpresentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use components built in Visual Basic 6 and Visual Studio2005 inyour Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.or pretty charts? If you want to learn how to bring data into your Excel 2007 projects, orlearn to work with XML, or see how object-oriented programming can be used in Ex

  • 8/10/2019 Livro 5778999999

    33/47

  • 8/10/2019 Livro 5778999999

    34/47

    and Watch windows are shown in detail. The section on error handling shows how to effectivelytrap for errors and how to provide positive feedback to the user.Chapter 8 is all about integrating your Excel solution with other Microsoft Office applications.Its examples include building a chart report in Word 2007 and building a PowerPointpresentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use components built in Visual Basic 6 and Visual Studio2005 inyour Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.in Excel that you get in the full-fledged programming languages: ease of reuse, easiercode maintenance, encapsulation, and more.You will find sample files and code solutions in the Source Code/Download section of theDid you ever wonder whether there is more to Excel than data displayed in rows and columnsor pretty charts? If you want to learn how to bring data into your Excel 2007 projects, orlearn to work with XML, or see how object-oriented programming can be used in Excel 2007,this book will provide you with that information.

    I wrote this book because Ive always enjoyed writing applications in Excel when it is therequired solution. Excel is often overlooked in coding situations, but as youll see in the pagesof this book, it has many, many possibilities, and it is relatively easy to learn. Excel 2007 hasexpanded XML support. XML data is easily brought into and out of an Excel project so yourclient spreadsheet data can be shared. Excel UserForms give you the ability to create simpleuser interfaces for your clients and allow you to create easy-to-use data collection tools. Excelcharting and PivotTablChapter 7 is an overview of VBA debugging tools and techni

    ques. The Immediate, Locals,and Watch windows are shown in detail. The section on error handling shows how to effectivelytrap for errors and how to provide positive feedback to the user.Chapter 8 is all about integrating your Excel solution with other Microsoft Office applications.Its examples include building a chart report in Word 2007 and building a PowerPointpresentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use components built in Visual Basic 6 and Visual Studio2005 inyour Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologies

    in Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.Chapter 4 looks at Excel 2007 UserForms and the tools they provide. Its examplesshowhow to build simple and complex data entry forms, and how to use classes to addfunctionalityto the UserForms.Chapter 5 explores charting in Excel 2007. After examining the code created by the MacroRecorder, it shows how to use the Chart object in code.

  • 8/10/2019 Livro 5778999999

    35/47

    Chapter 6 takes a look at Excel PivotTable reports. PivotTables are powerful data analysistools, and theyre easy to create and modify. The code samples show how to createand modifyPivotTable reports.Chapter 7 is an overview of VBA debugging tools and techniques. The Immediate, Locals,and Watch windows are shown in detail. The section on error handling shows how to effectivelytrap for errors and how to provide positive feedback to the user.Chapter 8 is all about integrating your Excel solution with other Microsoft Office applications.Its examples include building a chart report in Word 2007 and building a PowerPointpresentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use components built in Visual Basic 6 and Visual Studio2005 inyour Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.in Excel that you get in the full-fledged programming languages: ease of reuse, easiercode maintenance, encapsulation, and more.You will find sample files and code solutions in the Source Code/Download sectio

    n of theDid you ever wonder whether there is more to Excel than data displayed in rows and columnsor pretty charts? If you want to learn how to bring data into your Excel 2007 projects, orlearn to work with XML, or see how object-oriented programming can be used in Excel 2007,this book will provide you with that information.I wrote this book because Ive always enjoyed writing applications in Excel when it is therequired solution. Excel is often overlooked in coding situations, but as youll see in the pagesof this book, it has many, many possibilities, and it is relatively easy to learn. Excel 2007 has

    expanded XML support. XML data is easily brought into and out of an Excel project so yourclient spreadsheet data can be shared. Excel UserForms give you the ability to create simpleuser interfaces for your clients and allow you to create easy-to-use data collection tools. Excelcharting and PivotTablChapter 7 is an overview of VBA debugging tools and techniques. The Immediate, Locals,and Watch windows are shown in detail. The section on error handling shows how to effectivelytrap for errors and how to provide positive feedback to the user.Chapter 8 is all about integrating your Excel solution with other Microsoft Office applications.

    Its examples include building a chart report in Word 2007 and building a PowerPointpresentation that includes text and charts from an Excel workbook.Chapter 9 shows how to use components built in Visual Basic 6 and Visual Studio2005 inyour Excel 2007 projects. Examples from earlier chapters are re-created using ActiveX technologiesin Visual Basic 6 and .NET assemblies using Visual Studio 2005 and Visual StudioTools for Office 2005.Chapter 4 looks at Excel 2007 UserForms and the tools they provide. Its examples

  • 8/10/2019 Livro 5778999999

    36/47

    showhow to build simple and complex data entry forms, and how to use classes to addfunctionalityto the UserForms.C