You are on page 1of 4

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

You might also like