Solved

PEAR - Spreadsheet Excel Writer - Autofit?

Posted on 2008-10-25
2
2,283 Views
Last Modified: 2013-11-10
Is there a way to set the columns to autofit?  
0
Comment
Question by:n00b0101
2 Comments
 
LVL 50

Accepted Solution

by:
Steve Bink earned 500 total points
ID: 22807408
See here for one explanation:

http://groups.google.com/group/spreadsheet-writeexcel/browse_thread/thread/e97641b4cde64b93?pli=1

I hit the same problem when I was working with Excel Writer.  I fixed it by setting TextWrap on the cell format, and using a cell width that was likely to match the wider entries.  
0
 

Author Closing Comment

by:n00b0101
ID: 31509992
Thanks for the info!  I'll try what you did.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Generating table dynamically is the most common issue faced by php developers.... So it seems there is a need of an article that explains the basic concept of generating tables dynamically. It just requires a basic knowledge of html and little maths…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

920 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

14 Experts available now in Live!

Get 1:1 Help Now