Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21246

is declaration missing for excel headers color

$
0
0
do i need to diclare something here?

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

beacuse i get a variable not define

Viewing all articles
Browse latest Browse all 21246

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>