M
Mo
I posted a similar question a few days ago and got part way to where I need
to be. I still need to know how to get the gridlines in Excel 97 turned on
from Access 97 using VBA. The suggested code received back in my post is
setting up boarders for 1 row. I have tried different things to get all rows
turned on but I have not yet been successful. Here's the suggested code from
my last post. Any hints as to how I can turn on all boarders/gridlines would
be awesome. Also, if anyone knows the significance of 7 to 11 that would be
helpful as well. Thanks
For iLine = 7 To 11
With XL.Application.Range("A1:AU1").Borders(iLine)
.LineStyle = 1
.Weight = 2
.ColorIndex = -4105
End With
Next
to be. I still need to know how to get the gridlines in Excel 97 turned on
from Access 97 using VBA. The suggested code received back in my post is
setting up boarders for 1 row. I have tried different things to get all rows
turned on but I have not yet been successful. Here's the suggested code from
my last post. Any hints as to how I can turn on all boarders/gridlines would
be awesome. Also, if anyone knows the significance of 7 to 11 that would be
helpful as well. Thanks
For iLine = 7 To 11
With XL.Application.Range("A1:AU1").Borders(iLine)
.LineStyle = 1
.Weight = 2
.ColorIndex = -4105
End With
Next