Spread 8.0 Documentation
SSReplaceSel Function
Support Options
DLL Reference > DLL Functions > SSReplaceSel Function

Glossary Item Box

SSReplaceSel Function


See Also    ActiveX

Applies To

fpSpread DLL control

Description

Replaces the selected text with the specified text.

Syntax

C

BOOL SSReplaceSel(HWND hWnd, LPCTSTR lpText);

C++

BOOL TSpread::ReplaceSel(LPCTSTR lpText);

Parameters

The following parameters are available:

Parameter Description
hWnd Window handle of the fpSpread control
lpText New text

Remarks

This function is applied to the current sheet setting unless you first call the SSSetSheet function to specify the sheet for which you are calling this function.

This function works only when the sheet is in edit mode.

Return Value

TRUE if the function completes successfully; FALSE otherwise.

See Also

SSGetSel, SSGetSelText, SSSetSel functions

ActiveX Correspondence

SelText property

Copyright © GrapeCity, inc. All rights reserved.