|
ED
|
avaliable
|
RT
|
not used
|
This method is used to delete a variable by its name.
Sub DeleteVariable() Dim zVariables As Variables 'Object from type Variables 'Fill the objects Set zVariables = MyWorkspace.ActiveDocument.Variables 'Deletes a variable called "Test_1" Debug.Print "Deleted = " & zVariables.DeleteVar("Test_1") End Sub