Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I posted this message before but didn't resolve it. I have a pivot table I
am trying to format. The sheet is unprotected and the code fails with an error "Unable to set the linestyle property of the border class" It does however work correctly on other worksheets in the same workbook. Dim rng As Range Set rng = ActiveSheet.Range("A5:B600") rng.Interior.ColorIndex = xlNone rng.Borders(xlDiagonalDown).LineStyle = xlNone ' Error occurs here rng.Borders(xlDiagonalUp).LineStyle = xlNone |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
2007 Excel Table and Pivot Table Formatting | Excel Discussion (Misc queries) | |||
Pivot Table Row Formatting | Excel Worksheet Functions | |||
Pivot Table border formatting and pivot chart formatting | Excel Discussion (Misc queries) | |||
Pivot Table Formatting | Excel Discussion (Misc queries) | |||
Formatting pivot table | Excel Programming |