Re: Excel Cell Formatting Removing My ZERO

From: Date: Mon, 02 Jul 2007 06:04:24 +0000
Subject: Re: Excel Cell Formatting Removing My ZERO
References: 1 2 3 4  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-27604@lists.php.net to get a copy of this message
Tom Synnott wrote:
How do I do that? Sorry am a total noob... I currently have this: $colData =& $xls->addFormat(); $colData->setAlign('left'); $sheet->write($i,6,"{$row['MobileNumber']}",$colData);
write() tries to automatically determine the format. If you use writeString() then it will force the cell to be a label :) -- David Sanders shangxiao

« previous php.pear.general (#27604) next »