Common API - Office.Bindings

addFromNamedItemAsyncMCreates a binding against a named object in the document.
addFromPromptAsyncMCreate a binding by prompting the user to make a selection on the document.
addFromSelectionAsyncMCreate a binding based on the user's current selection.
documentPGets an Office.Document object that represents the document associated with this set of bindings.
getAllAsyncMGets all bindings that were previously created.
getByIdAsyncMRetrieves a binding based on its Name.
releaseByIdAsyncMRemoves the binding from the document.

let myvar: Office.Bindings 

For Excel use Excel.Binding instead of Office.Binding

For Word Bindings - Word API Bindings

© 2022 Better Solutions Limited. All Rights Reserved. © 2022 Better Solutions Limited TopPrevNext