Solved

PEAR - Spreadsheet Excel Writer - Autofit?

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying 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

This article discusses how to create an extensible mechanism for linked drop downs.
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
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.

696 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