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

Syntax

IsSpreadsheetFile(spreadsheetfile)

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>

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy