
1-10 Customizing HYSYS
1-10
VBA
Microsoft Excel and related products make use of Visual Basic
for Applications (VBA). VBA is a high level programming
language that is oriented around an object framework and event
driven execution. Visual Basic is termed “visual” because most
applications are created around a graphical interface and Visual
Basic is designed to allow code associated with the interface to
be added easily and intuitively.
Event driven programming is quite different from typical
structured programming. In a structured program, execution
begins at the top of the program and executes for the most part
in a sequential manner. When the bottom of the program is
reached the application exits and is finished. In event driven
programming, the path of execution from the beginning of the
program to the end depends almost entirely on how the end
user interacts with the application.
Visual Basic for Applications is a large sub-set of the Visual Basic
language. It is a macro language that is integrated tightly in to
supporting applications. The syntax and functionality is identical
to straight Visual Basic.
Komentáře k této Příručce