// グリッドラインを消す
$objSheet->setPrintGridlines(false);
$objSheet->setShowGridlines(false);
// シートロック パスワード
$objSheet->getProtection()->setPassword('1234');
// シートロック 並び替え
$objSheet->getProtection()->setSort(true);
// シートロック 行追加
$objSheet->getProtection()->setInsertRows(true);
// シートロック セル書式
$objSheet->getProtection()->setFormatCells(true);
// シートロック 行削除
$objSheet->getProtection()->setDeleteRows(true);
0 件のコメント:
コメントを投稿