Excel Sheet Under Javascript ASP
I tried to create an Excel sheet under the ASP and got the following error. I have all the permissions for the folder.
Error Type:
Microsoft JScript runtime (0x800A0046)
Permission denied
/createExcel.asp, line 313
var myApp = new ActiveXObject("Excel.Application"); (This is line 313)
View Replies
ADVERTISEMENT
I am new to asp.net and would like to know the easiest way to view an Excel
file in my asp app.
View Replies
View Related
may i know how to get got how many EXCEL sheet?i insert sheet1's data to MSSQL SERVER, but i wan to check whether sheet2 have any data onot. If have,then insert to db,else check next sheet.
step 1.
check how many SHEET in excel
step 2.
check each sheet whether have data onot.
View Replies
View Related
Is it possible for a client to update an excel worksheet sheet online ?
View Replies
View Related
I'm using this code in ASP that reads an excel sheet going across. But at time I want to read the excel sheet by going up or down. Is there a way to do this using this code or another? Code:
View Replies
View Related
anybody can help me simulate excel sheet interface in asp and when i make changes to the excel sheet can i save it back to the database using the excel asp changes.
View Replies
View Related
i just need to read data from excel sheet through asp page .
View Replies
View Related
got stalled at at point that i can no longer get my thoughts together.the point, is in classic asp, stream an excel file from a firebird database.temporarly save it if necessary,stream it to the browser,delete the temp file
on googling, i found some examples but all assuming that the file is locally present.
on the other hand, i beleive that is possible to stream the binary file and the save it locally to then present it to the browser, but i can't figure out how.
View Replies
View Related
I am wanting to display a sheet from an excel file. I dont need to change/update it, just a simple display. Somthing like the 'Print Preview' you get in excel (that would be perfect).
i cant display the top row of the excel file. also if i try and access a cell that is empty i get an error. I need to display all cells from A1 - G60 if they have data in them or not.
View Replies
View Related
I've got an application which manipulates data in a spreadsheet using ADODB.RecordSets. This works great and I am able to update the spreadsheet with no problems. However, it doesn't "recalc" the sheet even though the sheet is set for automatic calculation. Is there a way to get the sheet to "recalc"?
I've seen statement like obj.Caculate, but I get an error if I try to use statements like Server.CreateObject("Excel.Application"), so "calculate" doesn't work. Can I send it some keystrokes or get another procedure to kick off calculation?
View Replies
View Related
I've read all about file uploads but i can skip that part. I'll be physically placing the excel sheet on the server for now. Each spread sheet will have the same number of columns and will match up. I need to transfer that to a matching table in my database.
i want to take the spread sheet and make it a comma separated list in notepad. i wanna take that and loop through it inserting each record as I go or something to that affect that won't take as long.
View Replies
View Related
I have a master table employee , which contains the details of employees .
i have to upload the the data to this table from thye excel sheet by using asp.
that is -- what i have to do is , I have to provide a interface to browse the the excel sheet by user , afetr browsing the sheet user will submit the page and i have to read all the rows of excel sheet and update the table . if id exists in the table , then update the data otherwise append the data . Code:
View Replies
View Related
I using ASPupload to upload the file to the sever but what asp code do i then use to import the data in to my table?
View Replies
View Related
I am trying to create an asp that will display part of an excel sheet. I have many hundered excel files and i want a page to view them.
the excel files do NOT have any header rows, i can't change the worksheets, is there any way i can display the contents of a work sheet? I have tried many ways but i seem to always have a problem displaying the top row.
all the excel files have been created using excel 97 if it makes any difference
is there any way of doing this?
View Replies
View Related
how to upload data from excel sheet in particular row & column?
View Replies
View Related
i'm tryin to develop a webpage using classic ASP wherein the user can upload an excel sheet into an Oracle db table with the excel columns correspondin wit the oracle table columns.
i hv come across many ready made libraries/solutions that almost serve the purpose but they didnt work for me since most solutions wud populate the entire excel data into one column of the table. I wud like to know if anyone has a solution tht im lookin for specifically.
View Replies
View Related
Does anyone know where I can find an easy example of how to read an Excel or XML file and automatically populate a table on a ASP page?
I want to create an asp page that has a table on it that reads from a XML or Excel file so I can update the file and the table information changes accordingly. I know this has to be somewhat simple but I cant seem to find any exmaples. I probably am not searching the right keywords or something.
Any suggestions on where to find an example script to do this?
View Replies
View Related
I am using ASP to open a excel file.
I've noticed that Internet Explorer adds a number in square brackets to files downloaded from the internet and opened directly (i.e. by clicking 'Open' and not 'Save'). This creates a big problem with downloading Excel spreadsheets as square brackets are not a valid filename character inside Excel worksheet name.
When I click open, it opens the excel sheet with the sheet name
as .xls[Sheet and the excel filename as Sheet[1].xls.
Then we get the following error....
While renaming a sheet or chart, you entered an invalid name. Try one of
the following:
- Make sure the name you entered does not exceed 31 characters.
- Make sure the name does not contain any of the following characters:
: / ? * [ or ]
- Make sure you did not leave the name blank.
View Replies
View Related
We have an issue where we need to allow the user to download Japanese data into an excel sheet in CSV(Comma separated value) format.
But the Japanese data comes as junk in the excel sheet,the Unicode format is not being set.
The code in the asp page is as follows,you can put this code in a .asp file and call this from the URL.
It asks for the file download,and when you download, the japanese characters comes as junk in the excel sheet. Code:
View Replies
View Related
I got the following error even the document itself and its parent/children folders are writeable. The IURS_machinename has all the Administrator permissions (NOT Guest group). The "test1.xls" document is editable through Excel.
Error Type:
Microsoft Excel (0x800A03EC)
Cannot access read-only document 'test1.xls'.
/CreateExcel.asp, line 222
The following is the code .......
var ExApp = new ActiveXObject("Excel.Application"); // This is line 222
if (ExApp != null) {
ExApp.Visible = false;
ExApp.Application.Workbooks.Open("c: est est1.xls");
View Replies
View Related
One of the pages of my application opens an Excel 2000 workbook in a
new window using Javascript. The workbook is read only and I use a
window.open command to open the workbook. On the workbook's
BeforeClose event I have a code to avoid the 'Save' dialog: Me.Saved =
True
If I open the page locally, change some content and close the
workbook, the 'Save' dialog does not appear, as expected. As soon as I
open the workbook on the web, the 'Save' dialog still appears when I
close the window. I need to allow my users to change the contents of
the workbook but they cannot save the workbook. Is my approach wrong?
How can I avoid the 'Save' dialog?
View Replies
View Related
I would like to using style sheet in ASP generated Excel, but it sees cannot using it. Here's my code:
<style>
<!--
..report {
font-family: Arial;
font-size: 11pt;
}
//-->
</style>
<%
response.contentType = "application/vnd.ms-excel"
%>
<font class="report">testing</font>
View Replies
View Related
I need to figure out how to make ASP add in the appropriate style sheet. Basically I want it to look, see what page it is on and say, 'Ok ... if this is the home page, use this style sheet ... if it is not, use this other style sheet.'
View Replies
View Related
I am having trouble with css style sheet with asp code, everything was working till I put extra of css code in there, and I got error message state expected end statement,
Response.Write "<a class="three" href=""job.asp?ID=" & rs("ID") & """
style="text-decoration: none">"
View Replies
View Related
Using regular VB ASP (not .net) and calling an Access database using ODBC, I've generated a recordset based a query... (no big whoop, obviously)
Now I want to be able to open a new XL spreadsheet (client side - we're assuming user has XL) and export that table to it. I've seen some posts about DoCmd.TransferSpreadsheet, and CreateObject("excel.application")... I've never actually used them before, so I don't know where to start.
I'd like to have a link on the page with the table to "export to XL"... and then have it open XL (client side) with that table in a spreadsheet.
View Replies
View Related
when user click a button data will be fetched from database based upon condition and it will be exported to multiple sheets of a single excel work book. what I am doing, onclick of button in main page, I am invoking a new asp page through document.location.href=test.asp.
In test.asp page created a instance of excel.applicaion and then fetching data from backend and putting data to different workbook cells of the the excel and at the end making excel.visible=true but the problem is excel file not getting visible on client machine.
But when I remove some server side code and put the rest of code inside vbscripting tag in the main asp page then the excel file becomes visible on client machine. I am not getting the where the problem lies in the first part .
View Replies
View Related
I have a dll coded in vb that has a method X with the follwing signature
function X(a as string, optional b as string, optional c as string)
now i need to call this method from asp using javascript.
var dl = Server.CreateObject("dll");
dl.X(....);
I need to pass only 2 parameters 'a' and 'c'. Had it been vbscript I could have done dl.X(a,,c) but javascript doesn't accept that.
View Replies
View Related
I'm having a customer submit an order. When they submit it, it posts to a
page that processes the order and inserts into our database, while
displaying a summary of their order. I have a javascript function that will
cause a "confirm" box to show up if an order seems like it might be a
duplicate. However, I can't seem to get the code to "wait" for the response
from that box, which I guess makes some sense. Am I stuck with having an
interim page or doing something with posts or is there an easy way to get
the record to not insert until the user responds to the confirm box?
View Replies
View Related
Im sure it exists but i am having some difficulty finding it. I need come code to take out any SPACES in a textbox when text is entered OR submitted. Example
i have a text box where people can enter there car registration.
To keep consistency thoughout my site, i want L736 VAF to be entered into the database as L736VAF.
so that when it is recalled via a search form, L736VAF wont be returned as "no record found" because some one has put a space init!
So i basically need code to eliminate any space!
View Replies
View Related
I need to detect the users browser resolution (done with javascript)
var height= (screen.height)
var width= (screen.width)
Now I need to use these javascript variables to set the values of hidden html forms. How would I go about doing this.
<input name="width" type="hidden" value= Javascript Variable Here ?????>
View Replies
View Related
update some long commOn first page I display all the records from database (working well). Then first column has href which opens a popup (i am passing rownum from database to popup). I was hoping to run ASP code on load of the page so the comments which is already there for that row in the databse automatically comes in a textarea. And then you can edit and hit update. And this will update the database.
Also I was thinking of using session variables for the rownum. But bcos I have href which opens a popup, I am not sure how i can set the session variable.
I dont want to pass the "comments" itself to the next page bcos it can be really long comment and QueryString has some limitations.
View Replies
View Related
I am making a dynmanic form that goes to a question depended on the answer. Is there a way that I can make it remember what the person selected (radio button) in the question so that I don't have to write something like,
"<input type = 'radio' name='Question3' value='Yes' checked <% if Question3 = "Yes" then response.write "SELECTED" end if%>>Yes<BR>" + ????
View Replies
View Related
is it possible to use them together?i keep getting errors when i use them together
View Replies
View Related