Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: Printing extracted Excel data into a HTML table

by Siddartha (Curate)
on Dec 09, 2005 at 15:28 UTC ( #515563=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Printing extracted Excel data into a HTML table
in thread Printing extracted Excel data into a HTML table

yes sorry, didn't think about that. This is all the original code with a few extra prints in. Didn't want to rewrite his code for him. But yes I did forget about empty rows. So instead of:

print "<td>" . $CellObject->Value . "</td>" if ($CellObject); I would do: print ($CellObject ? ("<td>" . $CellObject->Value . "</td>") :"<td>&nb +sp;</td>");
Updated: added &nbsp; as ww suggested. Otherwise it might render like crap.


Comment on Re^3: Printing extracted Excel data into a HTML table
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://515563]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (8)
As of 2015-07-07 08:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (87 votes), past polls