Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
tracjerian #1
Using cfform to update an excel sheet
I am building a cfform to update a spread sheet, but am not sure how to indicate what column/row that the form field should update in the excel file.
anyone have any ideas?
tracjerian Guest
-
Using cfform to Update and Excel Sheet
I am building a cfform to update a spread sheet, but am not sure how to indicate what column/row that the form field should update in the excel file.... -
How to get the name of an Excel sheet?
It's a COM call via CFObject but be warned - if there are External Links in the spreadsheet or VBA code, you could have issues. I'll post some code... -
exporting to an excel sheet
Hey all, I've created a MySQL database with lots of names, addresses and other info in it and I'd like to write a little script that puts some... -
Excel Sheet Export
Hi All, I have an Excel sheet which I recieve every week. Its not too much data and the present process is to manually load that data into a SQL... -
Export to Excel sheet
You may refer to this KB article: http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q288130 Luke (This posting is provided "AS IS",... -
tracjerian #2
Using cfform to update an Excel sheet
I am building a cfform to update a spread sheet, but am not sure how to indicate what column/row that the form field should update in the excel file.
anyone have any ideas?
tracjerian Guest
-
zz3top #3
Re: Using cfform to update an Excel sheet
The easiest way is to store the Spreadsheet name, Sheetname and address of the
cell - e.g. "Example.xls", "Sheet1" and "A1" then use these through either the
COM Interface, Apache POI or even ODBC to update the spreadsheet.
Step 1 - read the spreadsheet area desired - Sheet1!A1:C12
Step 2 - display a form (ala CFGRID) to display the Excel data or a more
simple approach is to have the user select a row and then have an edit form
display the row's content for update
Step 3 - update the spreadsheet
simple example - setup a table with 3 columns and 2 rows. place a CFFORM
before and after the table. Make the Spreadsheet name and the Sheetname a
hidden attribute of the form. For each cell in your table, you will have a
hidden field containing the field reference - e.g. A1, B1, C1 and an input
field that contains the value of the cell.
zz3top Guest



Reply With Quote

