赞
踩
1、首先,我们要在服务器上安装相应的模块
my $format = $workbook->add_format( border => 6, valign => 'vcenter', align => 'center', ); $worksheet->merge_range('B3:D4', 'Vertical and horizontal', $format); 5、设定列宽 $worksheet->set_column($begin_loc,$end_loc,30); 6、设定格式,不改单元格内容 $worksheet->write_blank($iR,$iC,$format); 7、关闭表格$workbook->close();
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。