T
TCF
I am copying data from access to excel and using the following code
For i = 0 To rs2.Fields.Count - 1
CurrentValue = rs2.Fields(i).name
xlApp.Cells(j, i + 1).Value = CurrentValue
Next i
Instead of using the name of the rs2.fields(i), I want to use its caption
property. Is there a way to do this?
thanks
For i = 0 To rs2.Fields.Count - 1
CurrentValue = rs2.Fields(i).name
xlApp.Cells(j, i + 1).Value = CurrentValue
Next i
Instead of using the name of the rs2.fields(i), I want to use its caption
property. Is there a way to do this?
thanks