You don't need activate in VBA code and you shouldn't use Selection or .Select. Apart from that, I don't think the xlPasteAll does actually paste borders in ...
確定! 回上一頁