運行時錯誤'1004':無法在VBA中設置邊界類的線條樣式屬性。運行時錯誤'1004':無法在VBA中設置邊界類的線條樣式屬性
while running running the code for setting the range of range then then run time error and same code is running on different system。
的代碼是:
Range("A7:A" & LastRow).Borders.LineStyle = xlContinuous
能否請你幫忙嗎?
你可以發佈代碼嗎? – Vityata
範圍(「A7:A」&LastRow).Borders.LineStyle = xlContinuous – user3432879