Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi to AP and All,
The procedure below adds a thick border to the bottom of my varaible array. I want to replace the fixed range "Range("C13:M14").Select" with the variable string returned by my formula in R4 using the same approach as in: "ActiveSheet.PageSetup.PrintArea = Range("R5").value" I'm having a problem to get the syntax right. More help please! / thanks again! :-) Range("C13:M14").Select Selection.Borders(xlDiagonalDown).LineStyle = xlNone Selection.Borders(xlDiagonalUp).LineStyle = xlNone Selection.Borders(xlEdgeLeft).LineStyle = xlNone Selection.Borders(xlEdgeTop).LineStyle = xlNone Selection.Borders(xlEdgeBottom).LineStyle = xlNone Selection.Borders(xlEdgeRight).LineStyle = xlNone Selection.Borders(xlInsideVertical).LineStyle = xlNone With Selection.Borders(xlInsideHorizontal) .LineStyle = xlContinuous .Weight = xlThick .ColorIndex = xlAutomatic End With End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Function argument correct result but answer 0 in cell? | Excel Worksheet Functions | |||
How to return the result of a cell's formula as an argument within a running macro? | Excel Programming | |||
Function (array argument, range argument, string argument) vba | Excel Programming | |||
Rephrasing argument for typename and a different result | Excel Programming | |||
dynamic arrays as an argument/result in programmed functions | Excel Programming |