导出复选列该怎么处理呢?希望高手给予指导。'设置文件名称
Dim dclj As WinForm.TextBox = e.Form.Controls("导出路径")
mlyc=dclj.Value & "\" & nf & "年" & yf & "业务数据.xls"
'导出提示
MessageBox.Show("开始导出表格,可能长点时间,请耐心等待")
'选择名称
Dim mingcheng As WinForm.CheckBox = e.Form.Controls("名称")
If mingcheng.Checked = True Then
'执行自定义函数"名称"
'Functions.Execute("名称")
Dim flg7 As New SaveExcelFlags
flg7.MergedRanges = True
flg7.CellStyle = True
'Tables("YWTYPE").SaveExcel(mlyc,"业务数据",flg7)
Tables("YWTYPE").SaveExcel(mlyc,"业务数据",flg7)
End If
MessageBox.Show("结束导出表格.")
此主题相关图片如下:qq截图20130905151831.png
