|
ED
|
avaliable
|
RT
|
avaliable
|
Adds a "Variable" object to the collection.
Sub AddRemoveVariable(ByRef zRGMGroup As RGMRecipeGroup) 'Declarations Dim zVariable As Variable 'Initialization of zVariable with the first element of collection within the "Variables" object Set zVariable = MyWorkspace.ActiveDocument.Variables.Item(0) 'Add the variable to the recipe group zRGMGroup.AddVariable zVariable 'Remove the variable from the recipe group by its name zRGMGroup.DeleteVariable (zVariable.Name) End Sub