View source: R/extractSheetName.R
extractSheetName | R Documentation |
Extracts the sheet name from a formula of the form <SHEET_NAME>!<CELL_ADDRESS>
extractSheetName(formula)
formula |
Formula string of the form <SHEET_NAME>!<CELL_ADDRESS>. Note that the validity of the formula won't be checked. |
Returns the name of the sheet referenced in the formula. For quoted sheet names (required if names contain e.g. whitespaces or exclamation marks (!)) in formulas the function returns the unquoted name.
Martin Studer
Mirai Solutions GmbH https://mirai-solutions.ch
## Not run:
extractSheetName(c("MySheet!$A$1", "'My Sheet'!$A$1", "'My!Sheet'!$A$1"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.