Solved

PEAR - Spreadsheet Excel Writer - Autofit?

Posted on 2008-10-25
2
2,291 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

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…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

778 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