Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Here's my code:
Private Sub cbAddContents_Click() Dim ind As Integer Dim tot_items As Integer tot_items = ListBox1.ListCount For ind = 1 To tot_items If ListBox1(ind).Checked = True Then Worksheets("SF 701").Cells(8, 1).Offset(0, ind).Value = ListBox1(ind).Value End If Next ind When I get to the if statement, I get a Type Mismatch error. What am I doing wrong? David |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Visual Basic Error Run Time Error, Type Mismatch | Excel Discussion (Misc queries) | |||
xpath error? Runtime Error 13 type mismatch | Excel Discussion (Misc queries) | |||
Conditional Formatting - Run Time Error '13' Type Mismatch Error | Excel Programming | |||
Help: Compile error: type mismatch: array or user defined type expected | Excel Programming | |||
Befuddled with For Next Loop ------ Run - Time Error '13' Type Mismatch Error | Excel Programming |