do i need to diclare something here?
beacuse i get a variable not define
Code:
For inti = 1 To rs.Fields.Count
xlApp.Cells(1, inti) = CStr(rs.Fields(inti))
xlApp.Cells(1, inti).Interior.color = RGB(0, 0, 0)
Next inti
xlApp.Cells(1, inti).Font.color = RGB(255, 255, 255)
xlApp.Cells(1, inti).Border.color = RGB(0, 0, 0)
xlApp.Cells(1, inti).Font.bold