From 11f758e4127c6d8aedf306c956803d75d6422901 Mon Sep 17 00:00:00 2001 From: jomisacu Date: Fri, 29 Oct 2021 21:18:08 -0400 Subject: [PATCH] use single quotes to wrap sheet title This changes is to clarify that the sheet title is used to reference the sheet and that the title must be single quoted. --- docs/topics/recipes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/topics/recipes.md b/docs/topics/recipes.md index 14c82fe5..25d4bb50 100644 --- a/docs/topics/recipes.md +++ b/docs/topics/recipes.md @@ -1104,7 +1104,7 @@ formula is allowed to be maximum 255 characters (not bytes). This sets a limit on how many items you can have in the string "Item A,Item B,Item C". Therefore it is normally a better idea to type the item values directly in some cell range, say A1:A3, and instead use, say, -`$validation->setFormula1('Sheet!$A$1:$A$3')`. Another benefit is that +`$validation->setFormula1('\'Sheet title\'!$A$1:$A$3')`. Another benefit is that the item values themselves can contain the comma `,` character itself. If you need data validation on multiple cells, one can clone the