Range("B2:C20") ' 设置边框格式' 这是常规的实线、细线,默认颜色为黑色rng.Borders.LineStyle = xlContinuous End Sub. 结果如下:.
確定! 回上一頁