Private Sub 詳細_Format(Cancel As Integer, FormatCount As Integer) Dim cntEtc As TextBox Set cntEtc = Me![HINETC] cntEtc.Visible = Not IsNull(cntEtc) '値があるとき印刷 End Sub