สอบถามการทำ FillDown
Posted: Sat Jan 19, 2019 9:20 pm
ผมต้องการให้ FillDown เริ่มต้นที่ B4
ตาม Row เริ่มต้นที่ A4
เพิ่มลด ตาม Row ครับ
ตาม Row เริ่มต้นที่ A4
เพิ่มลด ตาม Row ครับ
ชุมชนความรู้ Excel และ Microsoft 365 สำหรับการทำงานจริง ตั้งแต่สูตร ฟังก์ชัน VBA, Power Query, PivotTable, Dashboard และ AI จนถึงการวิเคราะห์ข้อมูลและพัฒนาระบบงานในองค์กร
http://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