สอบถามการทำ FillDown
Posted: Sat Jan 19, 2019 9:20 pm
ผมต้องการให้ FillDown เริ่มต้นที่ B4
ตาม Row เริ่มต้นที่ A4
เพิ่มลด ตาม Row ครับ
ตาม Row เริ่มต้นที่ A4
เพิ่มลด ตาม Row ครับ
คลังคำตอบแห่งความรู้จากคนไทย เพื่อโลกที่ต้องการเข้าใจในสิ่งเล็ก ๆ อย่างลึกซึ้ง
http://www.snasui.com/
Code: Select all
Range("b3:e3").AutoFill Destination:=Range("b3:e7"), Type:=xlFillSeriesCode: Select all
Range("b3:e3").AutoFill Destination:=Range("b3:e7"), Type:=xlFillSeriesCode: Select all
dim i as integer
i = range("a" & rows.count).end(xlup).row
Range("b3:e3").AutoFill Destination:=Range("b3:e" & i), Type:=xlFillSeries