Is there a way to create lines(borders) in an excel worksheet from Access VB? I've tried this:
With myExcel.Selection.Borders(xlEdgeTop)
.LineStyle = xlContinuous
.Weight = xlThin
.ColorIndex = xlAutomatic
But just generates an error '1004 - Application defined or Object Defined Error'
Any help would be appreciated, thanks!
With myExcel.Selection.Borders(xlEdgeTop)
.LineStyle = xlContinuous
.Weight = xlThin
.ColorIndex = xlAutomatic
But just generates an error '1004 - Application defined or Object Defined Error'
Any help would be appreciated, thanks!