Thread: vba checkbox
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
gareth thomson gareth thomson is offline
external usenet poster
 
Posts: 1
Default vba checkbox

I have some vba checkboxes on a spreadsheet, and I want to
be able to toggle them programmatically from another
application. I have tried code like:

XL.ActiveSheet.OLEObjects("CheckBox2").Object.Valu e = True

but it doesn't work. What am I doing wrong? Thanks in
advance.