ChinaUnix.net
相关文章推荐:

phpexcel 如何创建多个sheet

openoffice问题求助: 我想将一spreadsheet中的一sheet拷贝到另外一spreadsheet中,请问有没有这样的方法?我查看了文档,只找到在同一spreadsheet中拷贝sheet的方法。但在openoffice中,有move/copy sheet操作,就是不知道对应该操作的方法是什么。请各位大虾帮忙解答一下

by mohan - Java - 2006-02-20 22:35:39 阅读(1126) 回复(1)

相关讨论

请问大家,修改excel中一sheet的名字语句是什么? 我写的code是:$Book->sheets("sheet3")->Name ="sheetname"; 但是我写的不对。请大家指教。

by peakgod - Perl - 2006-01-09 17:43:19 阅读(1637) 回复(0)

如题,下面的程序只能将数组 @glossary 输出到sheet1中,请问怎样将 另一数组@odds 输出到sheet2中? :em27: use strict; use warnings; use Cwd; use Win32::OLE qw(); use Win32::OLE::Const 'Microsoft Excel'; my @glossary = ( '北京', '上海', '天津', '广州', '深圳', '南京', '武汉', ); my @odds = ( 'beijing', 'shanghai', 'tianjin', 'guangzhou', 'shenzhen', 'nanjing', 'wuhan...

by qinyu2008 - Perl - 2008-12-21 19:58:07 阅读(2581) 回复(4)

my @start_time=qw(1 2 3 4 5 6 8 9); my @end_time=qw(2 4 5 6 7 9 11 12); my $j=0; my $count=0; my @IO; for ( my $i=$j; $i<@start_time;$i++) { here: for ( $j=$i; $j<@end_time;$j++) { if ($end_time[$j]-$start_time[$i]==3) { $IO[$count]=$j-$i+1; print $IO[$count]; $count=$count+1; print $count; print $j; print...

by qinyu2008 - Perl - 2008-12-16 12:30:08 阅读(1825) 回复(3)

//设置phpexcel类库的include path set_include_path('.'. PATH_SEPARATOR . 'D:\Zeal\PHP_LIBS' . PATH_SEPARATOR . get_include_path()); /** * 以下是使用示例,对于以 //// 开头的行是不同的可选方式,请根据实际需要 * 打开对应行的注释。 * 如果使用 Excel5 ,输出的内容应该是GBK编码。 */ require_once 'phpexcel.php'; // uncommen...

by renxiao2003 - php文档中心 - 2009-03-19 19:12:29 阅读(1192) 回复(0)

?php set_include_path('/var/www/myproject'); require_once('phpexcel.php'); require_once('phpexcel/Writer/Excel2007.php'); $php_excel->getProperties()->setCreator("Scott"); $php_excel->getProperties()->setLastModifiedBy("Scott"); $php_excel->getProperties()->setTitle("My Project"); $php_excel->getProperties()->setSubject("My Project"); $php_excel->getProperties()->setDescription("Fun Project"); ...

by yueming - php文档中心 - 2008-06-18 14:54:34 阅读(2011) 回复(0)

可以加图片,jpg png都支持 include ‘phpexcel.php’; include ‘phpexcel/Writer/Excel2007.php’; //或者include ‘phpexcel/Writer/Excel5.php’; 用于输出.xls的 创建excel $objphpexcel = new phpexcel(); 保存excel—2007格式 $objWriter = new phpexcel_Writer_Excel2007($objphpexcel); //或者$objWriter = new phpexcel_Writer_Excel5($objphpexcel); 非2007格式 $objWriter->save(”xxx.xlsx”); 直接输出到浏览器 ...

by yueming - php文档中心 - 2008-06-18 14:25:11 阅读(1427) 回复(0)

? //设置phpexcel类库的include path set_include_path('.'. PATH_SEPARATOR . 'D:\Zeal\PHP_LIBS' . PATH_SEPARATOR . get_include_path()); /** * 以下是使用示例,对于以 //// 开头的行是不同的可选方式,请根据实际需要 * 打开对应行的注释。 * 如果使用 Excel5 ,输出的内容应该是GBK编码。 */ require_once 'phpexcel.php'; // uncomment ////require_once 'PHPEx...

by yueming - php文档中心 - 2008-06-18 14:03:46 阅读(1268) 回复(0)

Perl Regular Expression Quick Reference

by 关中大侠 - Perl - 2011-03-14 00:26:55 阅读(6034) 回复(12)