This content has been marked as final. Show 2 replies
you need to remove the symbol from the symbol collection:
Dim MySymbolName As String Private Sub CommandButton1_Click() Dim MySymbol As Symbol Set MySymbol = ThisDisplay.Symbols.Add(pbSymbolTBSymbol) MySymbolName = MySymbol.Name End Sub Private Sub CommandButton2_Click() Me.Symbols.Remove (MySymbolName) End Sub
Thank you Andreas.
When I tried a similar approach, I attempted to remove the symbol object by running:
As you suggested, the solution was simply to issue: