Creates a new object that is a copy of the current instance (with the same style settings).
'Declaration
Public Overridable Function Clone() As Object
'Usage
Dim instance As StyleInfo
Dim value As Object
value = instance.Clone()
public virtual object Clone()
Return Value
Object containing a copy of the StyleInfo object
This example creates two StyleInfo objects and the second instance is a clone of the first. The second instance is then assigned to the active sheet.