beautypg.com

Juniper Systems Allegro CE Manual User Manual

Page 197

background image

Windows CE Page 4-137

All arguments are optional. Paste() function without arguments
works as Edit/Paste menu command. The Paste() function with
arguments works as Edit/Paste Special menu comment. The Default
values for arguments are Paste(true, true, false, false).
Example for paste contents, preserve previous format:

Paste(true, false)

PlaySound([filename])
Plays a sound (file of type *.wav). If you use this function without
parameter, any currently playing sound is stopped.
Example: PlaySound(“Song1.wav”)

RangeRef(col1, row1, col2, row2 [, sheetIndex])
Returns the range reference.
Example: MsgBox(Sum(RangeRef(a1,2,20,2)))

Return()
Stops task execution.
Example: if a1=0

MsgBox("A1 must not be 0")
Return()
end

RowHeight([height])
Returns row height of the first row of current selection and sets
height of selected rows if height is specified.
Example: Sel(A2:A7)

RowHeight(10)

RowHide([hideUnhide])
Returns whether the first row of current selection is hidden and
hides (true) or unhides (false) selected rows if hideUnhide is
specified.
Example: Sel(A2:A5)

RowHide(true)

RunApp(application [,parameters])
Runs and application (program) with optional parameters.
Example: RunApp(“iexplore.exe”, “http://z4soft.com”)

Sel([range])
Returns the current selection and select the new one if range is
specified.
Example: Sel(a2:c12)