removeName-methods | R Documentation |
Removes a name from a workbook
.
## S4 method for signature 'workbook' removeName(object,name)
object |
The |
name |
The name to delete |
Removes the name named name
from the specified workbook
object
if it does exist. Multiple names can be specified to be removed.
Martin Studer
Mirai Solutions GmbH https://mirai-solutions.ch
workbook
,
createName
,
existsName
,
getDefinedNames
,
readNamedRegion
,
writeNamedRegion
## Not run: # mtcars xlsx file from demoFiles subfolder of package XLConnect mtcarsFile <- system.file("demoFiles/mtcars.xlsx", package = "XLConnect") # Load workbook wb <- loadWorkbook(mtcarsFile) # Remove the named region called 'mtcars' from the above file # (this named region is defined as 'mtcars!$A$1:$K$33') removeName(wb, name = "mtcars") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.