... 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...
... worksheet:
ActiveSheet.Cells (3, 4) = 7
4799-2 ch07.F 6/11/01 9:29 AM Page 167
179
Chapter 8 ✦ VBA Programming Fundamentals
Entering VBA Code
VBA code, which resides in a VBA module, consists of instructions. ... Applications
With- End With constructs
The With- End With instruction construct enables you to perform multiple opera-
tions on a single object. To start understandi...
... functions by using VBA.
With all the functions available in Excel and VBA, you may wonder why you would
ever need to create new functions. The answer: to simplify your work. With a bit
of planning, ... func-
tion arguments.
Excel 2002 displays the Function Arguments dialog box in place of the Formula
Palette dialog box, used in previous versions.
Describing your function with V...
... compatible with Excel
5 and Excel 95) .
✦ Control Toolbox toolbar. These are ActiveX controls. These controls are a subset of
those that are available for use on UserForms. These controls work only with ... available for use on UserForms. These controls work only with Excel
97 and later versions, and are not compatible with Excel 5 and Excel 95.
You can use the controls...
... for Excel 2000 (using OWC 9.0), and one for Excel 2002 (using
OWC 10.0).
On the
CD-ROM
Note
4799-2 ch15.F 6/ 11/01 9:38 AM Page 466
4 96
Part V ✦ Advanced Programming Techniques
Listing 16- 7 (continued)
‘ ... utilities:
Cross-
Reference
4799-2 ch 16. F 6/ 11/01 9:39 AM Page 478
503
Chapter 16 ✦ Developing Excel Utilities with VBA
Figure 16- 10: The author’s Power Utili...
... will be used only with Excel 97 or later, you’ll definitely want to use
the techniques described in this chapter.
479 9-2 ch19.F 6/11/01 9:40 AM Page 575
576
Part V ✦ Advanced Programming Techniques
Entering ... not execute.
Caution
Cross-
Reference
Programming Events in Older Versions of Excel
Versions of Excel prior to Office 97 also supported events, but the programming...
... instead of last).
Moving Up from Excel 5/95?
If you’ve customized menus using Excel 5 or Excel 95, you can pretty much forget every-
thing you ever learned. Beginning with Excel 97, menu customization ... This Chapter
An overview of
Excel s menu system
Types of menu
modifications you
can make
How to manipulate
menus with VBA
Various menu
programming
techniques used
with eve...
... 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 xlExcel9 795 43
Excel in HTML format xlHtml 44
Excel ... compatibility with
Excel 95 , Excel 97 , and Excel 2000, you should use Excel 95 for development, and
then test thoroughly using the other versions.
If your appli...
... 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 col...
... for
compatibility purposes, Excel 97 and later still support Excel
5/ 95 dialog sheets. The good news is that its much easier to
work with UserForms, and they offer lots of new capabilities.
Excel makes it ... using VBA to work with UserForms.
Displaying a UserForm
To display a UserForm from VBA, you create a procedure that uses the Show
method of the UserForm object. You canno...
... will be used only with Excel 97 or later, you’ll definitely want to use
the techniques described in this chapter.
479 9-2 ch19.F 6/11/01 9:40 AM Page 575
565
Chapter 18 ✦ Working with Charts
Animated ... previews a worksheet.
Note
479 9-2 ch19.F 6/11/01 9:40 AM Page 577
580
Part V ✦ Advanced Programming Techniques
✦ Setting a worksheet’s ScrollArea property (which isn’t stored...