Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Recorded a macro (in Excel 97) that places border around each selected cell.
But when I run that macro I get err 1004 "Unable to set the LineStyle property of the Border class". It's fine if I delete references that try to change xlInsideVertical or xlInsideHorizontal, but I need to apply a complete border to the four sides of each cell. Thank you for any help. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If you're still having this issue, please post your code.
Cliff Edwards |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks, Ward. I seem to have 'fixed' it. The problem was in whether a cell or
a range of cells were selected. "On Error Resume Next" gets around it. literally. "ward376" wrote: If you're still having this issue, please post your code. Cliff Edwards |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Dotted Linestyle is not seen in Print of the excel | Excel Discussion (Misc queries) | |||
Error LineStyle property of Border Class | Excel Programming | |||
"Linestyle" in Macro | Excel Programming | |||
What is fastest? "If .LineStyle < xlContinuous ..." or ".LineStyle = xlContinuous" ?? | Excel Programming | |||
Error Handling - On Error GoTo doesn't trap error successfully | Excel Programming |