Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword or section
Like this
4Activity

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
Procedures
Sub Procedures
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 3
Question 4
Question 5
Activating a Workbook
Activating a Worksheet
ThisWorkBook
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
Variables
Declaring Variables
Arrays
Objects
Constants
Exercise 5
Answers to Exercise 5
Question 6
Conditional Control Structures
IF...THEN...ELSE
SELECT CASE
Looping Control Structures
Do...Loop
Repeating Statements While a Condition is True
Repeating Statements Until a Condition becomes True
Exiting a Do...Loop Statement from inside the Loop
FOR...NEXT
FOR EACH...NEXT
Non-Structured Statements
GoTo
Calling Procedures in Another Workbook
Passing Arguments to Subprocedures
Exercise 6
Answers to Exercise 6
Built-In Dialog Boxes
Predefined Dialog Boxes
InputBox Function
MsgBox Function
Number and type of button:
Icon style:
Default button:
User-Defined Forms
Controls
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
WritePrivateProfileString
About Toolbars and Menus
Attaching Toolbars to Workbooks
Save More Than One Toolbar Configuration
Customised Toolbars
Display
Exercise 8
Errors
Break Mode
Instant Watch
Stepping
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
2947174-excel-2003-vba

2947174-excel-2003-vba

Ratings: (0)|Views: 39 |Likes:
Published by Adi Alamare

More info:

Published by: Adi Alamare on Aug 25, 2011
Copyright:Attribution Non-commercial

Availability:

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

12/20/2011

pdf

text

original

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

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