Skip to content

Commit 11f758e

Browse files
jomisacuPowerKiKi
authored andcommitted
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.
1 parent e67f858 commit 11f758e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/topics/recipes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1104,7 +1104,7 @@ formula is allowed to be maximum 255 characters (not bytes). This sets a
11041104
limit on how many items you can have in the string "Item A,Item B,Item
11051105
C". Therefore it is normally a better idea to type the item values
11061106
directly in some cell range, say A1:A3, and instead use, say,
1107-
`$validation->setFormula1('Sheet!$A$1:$A$3')`. Another benefit is that
1107+
`$validation->setFormula1('\'Sheet title\'!$A$1:$A$3')`. Another benefit is that
11081108
the item values themselves can contain the comma `,` character itself.
11091109

11101110
If you need data validation on multiple cells, one can clone the

0 commit comments

Comments
 (0)