Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Standard view
Full view
of .
Look up keyword or section
Like this

Table Of Contents

What is a Macro?
Recording a Macro
Assigning a Macro to a Button on a Sheet
Assigning a Macro to a Drawn Object on a Sheet
Assigning a Macro to a Button on a Toolbar
Customising a Toolbar
Creating a Toolbar
Button Image Editor
Changing a Button’s ScreenTip
Exercise 1
Answers to Exercise 1
Question 1
Question 2
Visual Basic Editor
Project Explorer
Inserting Comments
Printing a Visual Basic Module
Exercise 2
Answers to Exercise 2
Cells Method
Range Method
Selecting Range Objects
Flexible Ranges
Offset Method
Resize Method
Selection, ActiveCell and Activate Methods
Row and Column Properties
Rows and Columns Methods
Address Method
End Method
Combining Methods
Virtual Worksheets
Range Contents
Value Property
Formula Property
FormulaR1C1 Property
Techniques for Inserting Values in the Next Blank Row
NumberFormat Property
Exercise 3
Answers to Exercise 3
Question 5
Activating a Workbook
Activating a Worksheet
Controlling Objects with their Properties
Setting a Property Value
Returning a Property Value
Performing Actions with Methods
Using Methods
Using Named arguments
Performing Multiple actions on an Object
Exercise 4
Answers to Exercise 4
Declaring Variables
Exercise 5
Answers to Exercise 5
Question 6
Conditional Control Structures
Looping Control Structures
Repeating Statements While a Condition is True
Repeating Statements Until a Condition becomes True
Exiting a Do...Loop Statement from inside the Loop
Non-Structured Statements
Sub Procedures
Calling Procedures in Another Workbook
Passing Arguments to Subprocedures
Exercise 6
Answers to Exercise 6
Question 3
Question 4
Built-In Dialog Boxes
Predefined Dialog Boxes
InputBox Function
MsgBox Function
Number and type of button:
Icon style:
Default button:
User-Defined Forms
Worksheet Forms
Placing Controls
Setting the Properties of a Control
Cell Links
Input Ranges
Group Boxes and Option Buttons
Lists and Drop-Down Lists
Adding Form Controls
Form Control Properties
Setting Form Control Properties
Data Properties
Form Control Naming Convention
Initialising Form Control Properties
Control and Dialog Box Events
Displaying and Dismissing a User Form
Handling Form Controls
Exercise 7
Answers to Exercise 7
The Windows Registry
Settings Files
Declaring Functions and Subs
Declaring References to DLLs
About Toolbars and Menus
Attaching Toolbars to Workbooks
Save More Than One Toolbar Configuration
Customised Toolbars
Exercise 8
Break Mode
Instant Watch
Error Handling
Error and Err Statements
Error Handling Example
Worksheet Object Events
Workbook Object Events
User-Defined Functions
Exercise 9
Answers to Exercise 9
Creating an Add-In
Exercise 10
User Form Controls
Memory Variables
0 of .
Results for:
No results containing your search query
P. 1
excel 2003 vba

excel 2003 vba

Ratings: (0)|Views: 145|Likes:
Published by gh19612005

More info:

Published by: gh19612005 on Dec 29, 2011
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less





You're Reading a Free Preview
Pages 4 to 7 are not shown in this preview.
You're Reading a Free Preview
Pages 11 to 40 are not shown in this preview.
You're Reading a Free Preview
Pages 44 to 93 are not shown in this preview.

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->