当单击复选框时,我正在尝试保存excel文件。下面是我的代码:
Private Sub CheckBox_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox1.CheckedChanged
'MsgBox(CType(sender, CheckBox).Name)
Dim objExcel, objWorkbook, fileLocation
fileLocation = "C:\Users\batman\Deskto