IsSpreadsheetFile

Description

Returns a value that determines if the input is a spreadsheet file.

Returns

A Boolean value. True if the input is a spreadsheet file; False if it is a spreadsheet object.

Category

Microsoft Office Integration

Function syntax

IsSpreadsheetFile(spreadsheetfile)

See also

History

ColdFusion 9: Added.

Parameters

Parameter

Description

spreadsheefile

Specifies the spreadsheet file.

Example

<cfset filepath = "C:/Documents/SingleSheet.xls"> 
<cfoutput># isSpreadSheetObject(filepath)# NOT an Object<br></cfoutput> 
<cfoutput># isSpreadSheetFile(filepath)# a File<br></cfoutput>