OMathFunctions.Add method (Word)

Inserts a new structure, such as a fraction, into an equation at the specified position and returns an OMathFunction object that represents the structure.

Syntax

expression.Add (Range, Type, NumArgs, NumCols)

expression An expression that returns a OMathFunctions object.

Parameters

Name Required/Optional Data type Description
Range Required Range The place at which to insert an equation.
Type Required WdOMathFunctionType The type of equation to insert.
NumArgs Optional Variant The number of arguments in the equation.
NumCols Optional Variant The number of columns in the equation.

Return value

OMathFunction

See also

OMathFunctions Collection

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.