... those shown in the following table:
Value Excel Version
16 Excel 2
29 Excel 3
33 Excel 4
39 Excel 5, 95
-4143 Excel 97, 20 00, 20 02
4799 -2 ch04.F 6/11/01 9 :28 AM Page 67
109
Chapter 6 ✦ Essentials ... methods.
4799 -2 ch06.F 6/11/01 9 :28 AM Page 97
4799 -2 PO2.F 6/11/01 9 :28 AM Page 80
92
Part II ✦ Excel Application Development
The Power Utility Pak is a colle...
... for Excel 4 workbook files (obsolete
beginning with Excel 5 because all files are workbooks).
XLK A backup file.
Excel versions prior to Excel 20 00 used standard Windows Help files (*.hlp). Excel
20 00 ... dialog
sheets. Excel 20 00 and 20 02 introduced additional features, but these changes were not as
radical as in previous upgrades.
We can probably look forward to yet...
... (
SelectiveColor2) is shown in Listing 11 -2.
4799 -2 ch11.F 6/11/01 9:31 AM Page 303
25 8
Part III ✦ Understanding Visual Basic for Applications
Why Create Custom Functions?
You are undoubtedly familiar with Excel s ... func-
tion arguments.
Excel 20 02 displays the Function Arguments dialog box in place of the Formula
Palette dialog box, used in previous versions.
Describing you...
... Formats
Excel version Constant Value
Excel 2. 1 xlExcel2 16
Excel 3.0 xlExcel3 29
Excel 4.0 xlExcel4Workbook 35
Excel 5 xlExcel5 39
Excel 95/97 xlExcel9795 43
Excel in HTML format xlHtml 44
Excel ... format xlHtml 44
Excel add-in xlAddIn 18
Excel 97 /20 00 /20 02 xlWorkbookNormal -4143
Avoid Using New Features
If your application must work with Excel 20 02 and...
... Wizards . . . . . . . . . . . . . . 608
4799 -2 FM.F 6/11/01 1: 12 PM Page xxxiii
4799 -2 FM.F 6/11/01 1: 12 PM Page xvi
Excel 20 02 Power Programming with VBA
Published by
M&T Books
An imprint of ... Excel. Although the book was
written with Excel 20 02 in mind, most of the material also applies to Excel 20 00 and
Excel 97. If you use an earlier version of...
... Range of Values
Byte 1 byte 0 to 25 5
Boolean 2 bytes
True or False
Integer 2 bytes – 32, 768 to 32, 767
4799 -2 ch08.F 6/11/01 9:30 AM Page 1 82
191
Chapter 8 ✦ VBA Programming Fundamentals
I discovered ... procedure being executed
4799 -2 ch07.F 6/11/01 9 :29 AM Page 164
20 2
Part III ✦ Understanding Visual Basic for Applications
With- End With constructs
The With- End Wit...
... func-
tion arguments.
Excel 20 02 displays the Function Arguments dialog box in place of the Formula
Palette dialog box, used in previous versions.
Describing your function with VBA code
Another way ... dis-
plays its result in 12 cells (in this case, in range B2:M2).
Figure 10-4: Using the MonthNames function in an array formula
Note
4799 -2 ch10.F 6/11/01 9:31 AM Page 27 4
25...
... function.
Sub GetAFolder2()
‘ For Excel 20 02
With Application.FileDialog(msoFileDialogFolderPicker)
New
Feature
Note
4799 -2 ch 12. F 6/11/01 9: 32 AM Page 370
388
Part IV ✦ Working with UserForms
To set ... use Excel 20 02, you may prefer to use a simpler tech-
nique that makes use of the
FileDialog object.
The FileDialog object is new to Excel 20 02. Therefore, this...
... versions
on the CD: one for Excel 20 00 (using OWC 9.0), and one for Excel 20 02 (using
OWC 10.0).
On the
CD-ROM
Note
4799 -2 ch15.F 6/11/01 9:38 AM Page 466
496
Part V ✦ Advanced Programming Techniques
Listing ... into
utilities.
Using VBA to Develop Utilities
When I received the beta version of Excel 5, I was blown away by VBA s potential.
VBA was light-years ahead of Ex...
... day.
The following statement runs the
DisplayAlarm procedure at 12: 01 a.m. on April 1,
20 02:
Application.OnTime DateSerial (20 02, 4, 1) + _
TimeValue(“00:00:01”), “DisplayAlarm”
The OnTime method ... confusion, triggers for the Change event vary, depending on the ver-
sion of Excel. For versions earlier than Excel 20 02, filling a range using the Edit ➪
Fill command does not g...