How can I view Excel data on the web using Cold Fusion scrip

sugarlush

New Member
Joined
Sep 25, 2002
Messages
2
I am creating an application where clients will be able to load information into a SQL Server 2000 database from an excel spreadsheet. Initially the user will upload their spreadsheet to our server, the application I am coding will attempt to read in all of the data.

The trick is that the client will have to manually match up the columns from their spreadsheet to the columns in the db table.

What I need to know is how to read in just the header row from a spreadsheet. Is there a way to distinguish the header from other rows? And are there any online manuals/websites that describe all of the excel COM functions and methods that are available?

Thanks in advance for any help.


Brian



Some of the Cold Fusion code I have already
-------------------------------------------
<cfobject
action="CONNECT"
class="Excel.Application"
name="objExcel"
type="COM">



objExcel.Visible = false;
objExcel.DisplayAlerts = false;
objBooks = objExcel.workbooks;
objBook = objBooks.Open(ExcelFilePath);
objSheets = objBook.WorkSheets;
objSheet = objSheets.Item(Val(1));
objSheet.SaveAs(CSVFilePath, Val(6));
objBook.Close();
objExcel.Quit();
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.

Forum statistics

Threads
1,222,900
Messages
6,168,926
Members
452,227
Latest member
sam1121

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top