Onetastic Macro Documentation > Functions > Object Functions > GetCurrentNotebook
Returns the current notebook in OneNote.
Notebook GetCurrentNotebook()
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