Whatever message this page gives is out now! Go check it out!

IsSpreadsheetFile

Last update:
May 18, 2026

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

ParameterDescription
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>

Share this page

Was this page helpful?
We're glad. Tell us how this page helped.
We're sorry. Can you tell us what didn't work for you?
Thank you for your feedback. Your response will help improve this page.

On this page