อยากเขียนcodeให้ ข้อมูลที่กรอกไปบันทึกลงอีกหน้าด้วยการกดปุ่ม
Posted: Sun Jul 22, 2018 4:01 pm
Sub saveName()
Dim Lastrow As Integer
Lastrow = Cells.Find("*", SearchOrder:=xlByRows, SearchDirection:=xlPrevious).Row
Cells(1 + Lastrow, 2).Value = Cells(3, 3).Value
Cells(1 + Lastrow, 3).Value = Cells(3, 5).Value
End Sub
ข้อมูล เรียงต่อกันแต่อยู่ในตำแหน่งสุดท้ายและ กำหนดตำแหน่งวางไม่ได้ รบกวนชี้แนะให้ด้วยครับ