Solved

Generating XLS file using HTML tags

Posted on 2002-03-06
6
142 Views
Last Modified: 2010-04-09
I have generated an  Excel file using HTML tags. The excel file generated is fine in OFFICE 2000. but if i use OFFICE 97 alignment gets changed. please send me the solution for this problem...
(in 2000 im getting the file in 2 pages while in 97 it is taking 4 pages for the same data with misalignment)


Thanx
0
Comment
Question by:Narendranath
6 Comments
 
LVL 19

Expert Comment

by:DreamMaster
ID: 6846822
Could you show us the code you are using to generate this Excel file? It would be kinda helpfull in pointing you to where it goes wrong...

Max.
0
 
LVL 19

Expert Comment

by:webwoman
ID: 6847233
What do you mean 'generated an  Excel file using HTML tags'? Did you make a big table in HTML and then try to use it in Excel? Big mistake...

Some detail of what you're trying to accomplish would also be helpful -- because what you've said so far doesn't make much sense.
0
 
LVL 18

Expert Comment

by:bruno
ID: 6847354
are you using response.contentType?  if so, would definitly need to see the code...
0
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
LVL 2

Accepted Solution

by:
udnimbalkar earned 100 total points
ID: 6850234
just add this
 set contenttype as ("application/vnd.ms-excel",TRUE);
and write your data in table in normal html presentation format. browser will show data in excel
  cheers
  umesh nimbalkar
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 6975494
This question has been abandoned. I will make a recommendation to the
moderators on its resolution in a week or two. I appreciate any comments
that would help me to make a recommendation.

Cd&
0
 
LVL 18

Expert Comment

by:bruno
ID: 6976099
delete, NO refund
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now