Dim Arcmap As New My_Arcmap Public Sub Example() Arcmap.PenColor = "Purple" Arcmap.Hello MsgBox Arcmap.PenColor End Sub