You are not authenticated through an institution. Should you have institutional access?
Here's how to get it
Chapter
Licensed
Unlicensed
Requires Authentication
Chapter 5: VBA Procedures: Subroutines and Functions
-
Julitta Korol
Julitta KorolSearch for this author in:
You are currently not able to access this content.
Not sure if you should have access? Please log in using an institutional account to see if you have access to view or download this content.
You are currently not able to access this content.
Not sure if you should have access? Please log in using an institutional account to see if you have access to view or download this content.
Chapters in this book
- Frontmatter i
- Contents vii
- Acknowledgments xxv
- Introduction xxvii
-
Part I—Introduction to Excel 2013 VBA Programming
- Chapter 1: Automating Worksheet Tasks with Macros 1
- Chapter 2: Exploring the Visual Basic Editor (VBE) 47
- Chapter 3: Excel VBA Fundamentals 65
- Chapter 4: Using Variables, Data Types, and Constants 119
- Chapter 5: VBA Procedures: Subroutines and Functions 153
-
Part II—Controlling Program Execution
- Chapter 6: Decision Making with VBA 195
- Chapter 7: Repeating Actions in VBA 221
-
Part III—Keeping Track of Multiple Values
- Chapter 8: Working with Arrays 239
- Chapter 9: Working with Collections and Class Modules 277
-
Part IV—Error Handling and Debugging
- Chapter 10: VBE Tools for Testing and Debugging 311
- Chapter 11: Conditional Compilation and Error Trapping 337
-
Part V—Manipulating Files and Folders with VBA
- Chapter 12: File and Folder Manipulation with VBA 351
- Chapter 13: File and Folder Manipulation with Windows Script Host (WSH) 371
- Chapter 14: Using Low-Level File Access 397
-
Part VI—Controlling Other Applications with VBA
- Chapter 15: Using Excel VBA to Interact with Other Applications 421
- Chapter 16: Using Excel with Microsoft Access 453
-
Part VII—Enhancing the User Experience
- Chapter 17: Event-Driven Programming 507
- Chapter 18: Using Dialog Boxes 555
- Chapter 19: Creating Custom Forms 569
- Chapter 20: Formatting Worksheets with VBA 617
- Chapter 21: Context Menu Programming and Ribbon Customizations 671
-
Part VIII—Programming Excel Special Features
- Chapter 22: Printing and Sending Email from Excel 737
- Chapter 23: Programming PivotTables and PivotCharts 771
- Chapter 24: Using and Programming Excel Tables 827
- Chapter 25: Programming Special Features 849
- Chapter 26: Programming the Visual Basic Editor (VBE) 865
-
Part IX—Excel and Web Technologies
- Chapter 27: HTML Programming and Web Queries 911
- Chapter 28: Excel and Active Server Pages 939
- Chapter 29: Using XML in Excel 2013 977
-
Part X Going Beyond the Limits of VBA
- Chapter 30: Calling Windows API Functions from VBA 1053
- Index 1081
Readers are also interested in:
Chapters in this book
- Frontmatter i
- Contents vii
- Acknowledgments xxv
- Introduction xxvii
-
Part I—Introduction to Excel 2013 VBA Programming
- Chapter 1: Automating Worksheet Tasks with Macros 1
- Chapter 2: Exploring the Visual Basic Editor (VBE) 47
- Chapter 3: Excel VBA Fundamentals 65
- Chapter 4: Using Variables, Data Types, and Constants 119
- Chapter 5: VBA Procedures: Subroutines and Functions 153
-
Part II—Controlling Program Execution
- Chapter 6: Decision Making with VBA 195
- Chapter 7: Repeating Actions in VBA 221
-
Part III—Keeping Track of Multiple Values
- Chapter 8: Working with Arrays 239
- Chapter 9: Working with Collections and Class Modules 277
-
Part IV—Error Handling and Debugging
- Chapter 10: VBE Tools for Testing and Debugging 311
- Chapter 11: Conditional Compilation and Error Trapping 337
-
Part V—Manipulating Files and Folders with VBA
- Chapter 12: File and Folder Manipulation with VBA 351
- Chapter 13: File and Folder Manipulation with Windows Script Host (WSH) 371
- Chapter 14: Using Low-Level File Access 397
-
Part VI—Controlling Other Applications with VBA
- Chapter 15: Using Excel VBA to Interact with Other Applications 421
- Chapter 16: Using Excel with Microsoft Access 453
-
Part VII—Enhancing the User Experience
- Chapter 17: Event-Driven Programming 507
- Chapter 18: Using Dialog Boxes 555
- Chapter 19: Creating Custom Forms 569
- Chapter 20: Formatting Worksheets with VBA 617
- Chapter 21: Context Menu Programming and Ribbon Customizations 671
-
Part VIII—Programming Excel Special Features
- Chapter 22: Printing and Sending Email from Excel 737
- Chapter 23: Programming PivotTables and PivotCharts 771
- Chapter 24: Using and Programming Excel Tables 827
- Chapter 25: Programming Special Features 849
- Chapter 26: Programming the Visual Basic Editor (VBE) 865
-
Part IX—Excel and Web Technologies
- Chapter 27: HTML Programming and Web Queries 911
- Chapter 28: Excel and Active Server Pages 939
- Chapter 29: Using XML in Excel 2013 977
-
Part X Going Beyond the Limits of VBA
- Chapter 30: Calling Windows API Functions from VBA 1053
- Index 1081