Spread 8.0 Documentation
SaveTabFile Method
Support Options
ActiveX Reference > ActiveX Methods > SaveTabFile Method

Glossary Item Box

SaveTabFile Method


See Also    DLL    Example

Applies To

fpSpread control

Description

Saves the data to a tab-delimited file.

Syntax

C++

BOOL CSpreadSheet::SaveTabFile(LPCTSTR FileName);

Visual Basic

fpSpread.SaveTabFile(ByVal FileName As String) As Boolean

Parameters

The following parameter is available:

Parameter Description
FileName Path and filename of file to which to save tab-delimited data

Remarks

Use the SaveTabFile method to save the sheet data to an ANSI text file with tab-delimited data. To save the data to a Unicode file, call the SaveTabFileU function.

This method is called for the current sheet setting unless you first set the Sheet property to specify the sheet with which you want to work.

Data for each column is separated by tabs (ASCII 9, or `\t' in C++); rows are separated by carriage returns/line feeds (ASCII 13 and 10, or `\r' and `\n' in C++, respectively). The fpSpread control saves only text data to the tab-delimited file; the format of the text is not saved.

Tab-delimited files can be opened, modified, and saved using any standard text editor.

By default, tab-delimited files created using Spread or the Spread Designer have the extension .TB7. However, you may use any extension.

Return Type

True if successful; otherwise, False.

See Also

Saving to a Text File

Sheet property

LoadFromFile, LoadTabFile, SaveTabFileU, SaveToFile methods

DLL Correspondence

SSSaveTabFile function

Copyright © GrapeCity, inc. All rights reserved.