Professional Documents
Culture Documents
ΑΣΚΗΣΗ 2 ΛΥΣΗ - ΕΞΗΓΗΣΗ ΒΗΜΑΤΩΝ
ΑΣΚΗΣΗ 2 ΛΥΣΗ - ΕΞΗΓΗΣΗ ΒΗΜΑΤΩΝ
,
, :
Module
Procedure
Objects -
Properties
Methods
, vba
, Function. VBA (Visual
Basic Application) Function
(End Function)
function
,
.
.
, .
(
Sub Function
).
o
( ),
type declaration
character ( ).
o
. ,
,
.
o , Excel
(Variant)
, .
.
o ,
(
)
Option Explicit, Excel
,
.
2. IF
VBA
. IF SELECT
CASE. ,
.
IF
:
IF ( ) THEN
IF
:
If > 40 then
= ( 40) * 0,5 *
= 0
End if
function Visual Basic,
End.
Function :
End Function