Hi All,
I'm trying to set some borders in excel using access VBA.
i've got...
.. but i keep getting an error message saying object required at the red section of my code???
anyone?? thanks, spin.
I'm trying to set some borders in excel using access VBA.
i've got...
Code:
xlsht1.Rows("1:1").Select
With [COLOR="Red"]selection.Borders(xlEdgeLeft)[/COLOR]
.LineStyle = xlContinuous
.ThemeColor = 1
.Weight = xlThin
End With
.. but i keep getting an error message saying object required at the red section of my code???
anyone?? thanks, spin.