Description
Inserts a new rich text string at the specified position of exist rich text string.

Namespace: Docs.Excel
Assembly: Excel (in Excel.dll) Version: 3.1.0.0 (3.1)

Syntax

         
 C#  Visual Basic  Visual C++ 
public bool Insert(
	int Position,
	string UserString,
	ExcelCellFont UsingFont
)
Public Function Insert ( _
	Position As Integer, _
	UserString As String, _
	UsingFont As ExcelCellFont _
) As Boolean
public:
bool Insert(
	int Position, 
	String^ UserString, 
	ExcelCellFont^ UsingFont
)

Parameters

Position
Int32
The zero-based index at which a new rich text string should be inserted.
UserString
String
The new rich text string to insert.
UsingFont
ExcelCellFont
A font that have rich text string.

Return Value

True - if rich text string successfully added; Otherwise - false.

See Also