Solved

Generating XLS file using HTML tags

Posted on 2002-03-06
6
146 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Selected in an option list 13 26
alert on input text 2 25
Html split(text) 2 30
Validating number not work with decimal 4 26
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

749 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