jpkeller55
Technical User
I am using expressions below to capture values of certain data in cells of an excel spreadsheet and exporting to an Access database. What is the syntax for capturing the value of a checkbox? (e.g. checkBox1 = 1 if checked or 0 if not checked)
Code:
.Fields("Date") = Range("b" & 3).Value
.Fields("Time") = Range("b" & 4).Value
.Fields("Location") = Range("b" & 6).Value
.Fields("Desktop") = Range("b" & 8).Value
.Fields("Laptop") = Range("b" & 9).Value