Office Web Components :: Excel :: Unable To Create Merged Cells
One of my programmers is using Office Web Components in classic ASP to create, fill and format an Excel spreadsheet. Everything is fine except when he creates Merged cells the performance drops dramatically. He has investigated the 'Center Across Cells' alternative but cannot get it working
using Office Web Comonents.
Has anyone come across this problem or even better has a solution?
View Replies
ADVERTISEMENT
In office web components u can use Excel through web with almost the same functionality. I have an emergency in finding out if it is possible in asp to save the changes u make to the spreadsheet though web to the original file in the web server.
View Replies
View Related
some good detailed documentation (with examples) on programing OWC (Spreadsheet, Pivot Table and Chart controls) using ASP 3.0?
View Replies
View Related
I have a dynamically-generated asp web page which uses Office Web Components
to display an Excel bar chart of the user-selected data. The page works
fine, but the users would like to copy-n-paste the displayed bar chart from
the web page and insert it into an email (MS Outlook) or report (MS Word or
MS PowerPoint).
Is there any way of supporting this copy/paste functionality? When you
right-click on the chart in the displayed web page (viewed with MSIE6), you
are only given the pop-up button [About...] which displays the "About
Microsoft Office Web Components" splash window ("Version 9.0.0.8028 SP-3"
etc.)
Currently, the only work-around is to "Print-Screen", trim using Paint, and
then paste into the destination. This is too tedious and beyond the
capabilities of some of the users.
View Replies
View Related
I need to sum the values in different cells of an excel sheet which im getting from data base and which is in a loop and the number of entries depends on the user.
i m adding the code please check it out:...
View Replies
View Related
I've seen lots of posts on this and other boards, but nothing seems to work for me. I need to import data from an Excel spreadsheet using ASP. None of the ranges in the spreadsheet are named. I'm using this code:Code:
<%
Set ExcelConn = Server.CreateObject("ADODB.Connection")
Set ExcelRS = Server.CreateObject("ADODB.Recordset")
ExcelConn.Provider = "Microsoft.Jet.OLEDB.4.0"
ExcelConn.Properties("Extended Properties").Value = "Excel 8.0"
ExcelConn.Open "c:inetpubwwwrootaspcalendar est.xls"
set ExcelRS = ExcelConn.Execute ("SELECT * FROM [Sheet1$]")
Response.Write(ExcelRS($A$1))
%>
I've tried every variation on "ExcelRS($A$1)" that I can think of - I've seen "ExcelRS(1,1)" used, but that doesn't work... What is the syntax for accessing Excel data by cell coordinates?
View Replies
View Related
I get data out of a database and the user can save this data on his disk in Excel format.
Some cells has a large lenght of numbers (eg. 20060512000000). If I open the excel file, the cell where that number is in shows the following : 2.00605E+13.
I have to go into Format Cell and convert this to 'Number' and no decimal places. Is there a way in ASP to define the cells ?
View Replies
View Related
if i have an standard excel file and i have data in there in specific cells. Is it possible to have some upload facility that will be able to paste it to specific asp form textboxes?
e.g if the data in the excel file was in cell c4, i would want to paste it into textbox4. Is that possible.
OR
Is it possible to upload an excel file and to put specifc data from different cells directly into an access database.
e.g excel file -c4 i would want to paste it to rs("test4")
View Replies
View Related
Im creating an Excel file using ASP
Versions : Office 97
The formattting is not working properly in Excel 97, but the same works fine
in Office XP & 2000
Is there any additional code has to be added in my code to get a formatted
output in Excel 97 version?
View Replies
View Related
I'm exportin a datagrid to excel, but Excel file is without format colors cells border...
Do you know how format it? Code:
View Replies
View Related
I am developing an application which uses data represented using color codes, in an MS-Excel worksheet. The application has to assign values based on the backgroundcolor of a cell. Like, Black = 0, Red=1, Green=2.
How to determine the background of the cell in ASP?
View Replies
View Related
is there a way of calling an already existing excel document and populating certain cells
View Replies
View Related
Since I updated Office 2000 to SP3, my ASP code has failed when executing this function:
(the HPageBreaks.Add line fails)
function insertPageBreak ( xlsObject, strLocation )
with xlsObject
.Range( strLocation ).Select
.ActiveWindow.SelectedSheets.HPageBreaks.Add .Range( strLocation )
end with
end function
Parameters:
xlsObject is a valid object of excel created with:
Set xls = CreateObject("Excel.Application")
strLocation is a string in the form "Axx" where xx is the current row number, e.g. "A54"
I had to uninstall and reinstall Office 2000 without service pack 3 in order for it to work....
View Replies
View Related
Is there a script or a simple way(I doubt), to create archive files online without components...only with asp? by "archive files"....I mean .zip files or something similar that can then be de-archived later? It is not important whether the files get compressed or not. Code:
View Replies
View Related
I'm having a problem with cdonts.newmail. quite simply when i try to use the server.createobject method to create it it gives me an invalid progid error. it works fine on the test server so the problem is somewhere in the server settings and not with the code. both servers use win2k advanced server.
I'm not sure what information is relevent to this problem so if you need more information please just ask.
specifically I'm wondering if it's possible to dissable the object, preventing it to be created. if this can be done where would you do it?
View Replies
View Related
How do i upload excel files to the server from the client browser without using any third party components. My server runs on NT server. And I am coding in ASP( Vbscript).
View Replies
View Related
I'm trying to create a excel file from set of data. actually I'm using ASP + JScript.
I'm glad to hear your oppinion.
View Replies
View Related
I need to write a program that can create an excel file and copy all the data obtains from a database to the excel file. Then save and close the excel file or do all of the above in the backgroud. if you have written similar program or know where I can find the sample code for this feature.
View Replies
View Related
I want to place a Excel workbook on the web server and create a URL
link to it and when the user clicks on it to the URL/vbscript behind
it must launch Excel on the client and open the URL linked Excel
workbook automatically.
Can you please share the code HTMl & VB script snippet that can do
this.
View Replies
View Related
Depending on a value in a recordset, is it possible to write the table cell background colour. for example:
If "win" is the value, bkgrd will be "green"
If "draw" is the value bkgrd will be "yellow"
If "lose" is the value bkgrd will be "red"
View Replies
View Related
I have created a table that I want to fill with calculated values. I have given ID's to each cell. This must NOT be the way since I can't address these ID's. How do I store values in table cells from my PostBack?
View Replies
View Related
I've decided after several failed attempts this is too difficult to do
on my own. I know it's been done before and a tutorial or code must
by lying around somewhere.
I have a Weekly Calendar
It's in a table with 7 columns and 22 rows
Across the top I have Monday thru Sunday
Down the side I have half-hour time increments - 8:00am - 10:00pm
I would like to display my events on the table, corresponding to their
day and time. If it spans several hours I would like the event to
span several rows.
Basically look like an Outlook Calendar.
I've tried this myself with five dozen if/then statments and embedded
loops but it's a huge mess.
I'd like to find out how to simply do this in asp (not ready for .net yet), any
ideas?
View Replies
View Related
I have an ASP page that loops through a SQL Server 2000 table, then
downloads an Excel sheet the users can save, etc. Works fine, except, I see
that in one particular "comments" field the Excel sheet returns a #VALUE!
error in the cell when there is a large amount of text. I've looked through
the MSKB, MSDN and many ng posts to see if there is a workaround or solution
to this, inclduing looking at the xlWorksheet properties (I've tried
'xlWorksheet.Cells(iRow, 11).WrapText = True), played with Orientation, etc.
But to no avail.
View Replies
View Related
I need to come up with an if statement that will basically take a large list of records and place each one into its own table cell, and when the cells reach a max of 5 in a row, start a new row and repeat. How can I go about this?
View Replies
View Related
I have an interesting problem and am looking for some advice. I am
hoping to build an asp whereby records are pulled from SQL Server. These
records will be merely file locations for thumbnail images I hope to display
in a grid.
Rather than having a grid be constructed row-to-row, I was
wondering if it is at all possible to dynamically construct this grid as a
table of thumbnails whereby each cell (perhaps 5-6 columns across)
represents one record? I have no idea how one would construct this loop that
spans columns AND rows rather than just rows.
View Replies
View Related
I want to read the MS Word and XLS documents with ASP code for searching. Is
there are any solution for me or any reference?
View Replies
View Related
Using OWC version 2000 I am trying to input a recordset
into an OWC Spreadsheet. I can pass the variables and
create the SQL fine in the ASP page, but I need to pass
the SQL to a vbscript function outside of the <% asp code %[color=blue]
>. Is there any way to call the function? ASP doens't seem[/color]
to recognize the function.
View Replies
View Related
Does anyone now were I can get a script for an out of office page for an intranet. A very basic one would do, something that displays when they leave and other basic details,for a company of about 40. All staff would be using it.
View Replies
View Related
I have to allow users to download files after checking users validity and I
cannot give full URL of file to download e.g www.myserver.com/mydoc.doc
I have seen ASP code some where in MSDN where users has to enter URL like
www.myserver.com/mydoc.asp and this will download the doc file.
View Replies
View Related
I'm trying to use Activer Server Pages (ASP) to display a graph based on user's selection criteria. To achieve this, I would like to use Office Web Components (OWC 9 or 10), a Microsoft ActiveX component. My questions are:
* Can you use it with NT operating systems or Must it be in Windows 2000/XP?
* Do anyone has experience in using it? and if yes, Are they easy and reliable to use?
* Are there any other free components out there?
View Replies
View Related
any decent resources for using the Office Chart components? I've had a look around the MSDN but it's not very comprehensive and doesn't actually have any reference guides. Most resources say to refer to the help file that comes with the package but I can't find any versions of this.
View Replies
View Related
I am using OWC to resize images on the fly, it works a treat only issue is poor quality images with lots of artifact due to high compression.
I have searched the web high and low for a list of parameters but I cant find any useful information on the object.
I was hoping someone has used it before and can tell me where I can get the right info on export quality using the .ExportPicture command. Code:
View Replies
View Related
Does anyone know of a way to access the document properties of an office
document using ASP? I need to be able to read things like the Title,
Author, and Comments fields and pull that information into a web page.
View Replies
View Related