返回列表 上一主題 發帖

清除 列印範圍外的格線

回復 1# yc1031


Dim pValues As Variant
With ActiveSheet
    .Cells.Borders.LineStyle = xlNone   '格線的處理
    .Range(.PageSetup.PrintArea).Borders.LineStyle = xlContinuous
End With
學習才能提升自己

TOP

        靜思自在 : 虛空有盡.我願無窮,發願容易行願難。
返回列表 上一主題