如果指的是逻辑列勾选:
Sheet(3,9).Value = "<逻辑列 = true>" '写入打印条件
如果是指表格最左边的复选框的勾选:
Dim str As String = "-1,"For Each r As Row In Tables("表A").GetCheckedRows str &= r("_Identify") & ","NextSheet(3,9).Value = "<_Identify in (" & str.trim(",") & ")>"