private void button5_Click(object sender, EventArgs e) { m_bc = ExcelUtil.AttachBook(); if (m_bc != null) { m_sheet = m_bc.GetActiveSheet(); } }