Onetastic Macro Documentation > Functions > Object Functions > GetNotebookRoot
Returns the root of the notebook hierarchy in OneNote.
NotebookRoot GetNotebookRoot()
This function has no parameters
Array Functions
Color Functions
Data Store Functions
Date/Time Functions
Dialog Box Functions
Macro Execution Functions
Macro Menu Functions
Object Functions
String Functions
Window Functions
GetAncestorOfType
GetCurrentNotebook
GetCurrentPage
GetCurrentSection
GetCurrentSectionGroup
GetNotebookRoot
GetParentOfType
InsertObject
IsObject
QueryObjects
QueryText
RemoveObject
SortObjects