Hi Chept.
You cannot use one common sub if you want to have different settings for new or existing defect.
Fill free to use Hristo's solution otherwise you need to add new parameter into HideFields method to determine which type of entity you want to customize - new or existing.
E.g.
'to update Sub Bug_New On Error Resume Next HideFields true On Error GoTo 0 End Sub Sub Bug_MoveTo On Error Resume Next HideFields false On Error GoTo 0 End Sub 'to add Sub HideFields (isNew) 'don't hide fields with required attribute if isNew then Bug_Fields.Field("BG_DETECTED_IN_REL").IsVisible = FALSE Bug_Fields.Field("BG_TARGET_RCYC").IsVisible = FALSE Bug_Fields.Field("BG_PLANNED_CLOSING_VER").IsVisible = FALSE else Bug_Fields.Field("BG_TARGET_RCYC").IsVisible = FALSE Bug_Fields.Field("BG_PLANNED_CLOSING_VER").IsVisible = FALSE Bug_Fields.Field("BG_TARGET_REL").IsVisible = FALSE Bug_Fields.Field("BG_PROJECT").IsVisible = FALSE end if end sub