我的文件中有20个表,当隐藏表标签用按钮打开表时出现死机,显示表标签后正常。打开表的代码是
Maintable = Tables(e.Sender.Name)
'字体变色
e.Sender.ForeColor = Color.Black
'字体恢复颜色
e.Form.Controls("线芯半成品").ForeColor = Color.Blue
e.Form.Controls("导体半成品").ForeColor = Color.Blue
e.Form.Controls("普通成品").ForeColor = Color.Blue请解答。文件太大不便上传