Working with 3D ranges using Excel macro |
||
|
||
|
|
||
The macro below applies the FillAcrossSheets method to transfer the formats and any data from the range on Sheet2 to the corresponding ranges on all the worksheets in the active workbook. Try this out! Sub FillAll() Worksheets("Sheet2").Range("A1:H1").Borders(xlBottom).LineStyle = xlDouble Worksheets.FillAcrossSheets (Worksheets("Sheet2").Range("A1:H1")) End Sub |
||