Attribute VB_Name = "modClassIDGenerator" Function GetNextClassDebugID() As Long 'class ID generator Static lClassDebugID As Long lClassDebugID = lClassDebugID + 1 GetNextClassDebugID = lClassDebugID End Function