VBA Update to Excel Checkbox

T

Tommy

I am writing an application by VBA with Access. In the
program, I need to get info from Access DB and put into an
Excel file. For normal cells, it's ok to put text in it.
But there are some check boxs on the Excel sheet, how do i
control checkbox value inside VBA code?

Thanks!


Tommy
 
C

Cliff Myers

You control it with a statement like this:
Checkbox1.Value = True
or
Checkbox1.Value = False
Example.... If Cells(1,1) <> "" then Checkbox1.Value = True
HTH
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top