Page 1 of 1

CopyColums automate VBA ข้อมูลไม่แสดง

Posted: Wed Apr 26, 2017 3:09 pm
by kannaree
สวัสดีค่ะ พอดีว่าต้องการสร้างปุ่มกดเพื่อแยก status ระหว่าง
Pending , Closed

ตามรูป
menubutton.png
menubutton.png (111.42 KiB) Viewed 48 times
เมื่อกด ปุ่ม Pending Report ข้อมูลจะเอาเฉพาะ Status=Pending ไปแสดง Sheet Pending Report
pending.png
pending.png (102.31 KiB) Viewed 48 times
เมื่อกด ปุ่ม Closed PO Report ข้อมูลจะเอาเฉพาะ Status=Closed ไปแสดง Sheet Closed Report
closed.png
closed.png (120.36 KiB) Viewed 48 times
// จะเห็นได้ว่าข้อมูล Status Closed แสดงข้อมูลถูกต้อง และก่อนหน้านี้ Status Pending แสดงข้อมูลได้

//ไม่ทราบว่าเกิดจากอะไร รบกวนท่านอาจารย์และพี่ๆ ทุกท่านหน่อยค่ะ

ตามไฟล์ที่แนบ

Re: CopyColums automate VBA ข้อมูลไม่แสดง

Posted: Wed Apr 26, 2017 3:10 pm
by kannaree
PO Confirmation system.xlsm
(129.76 KiB) Downloaded 8 times
File

Re: CopyColums automate VBA ข้อมูลไม่แสดง

Posted: Wed Apr 26, 2017 3:48 pm
by kannaree
Dear all
ได้ลบ Sheet แล้วเขียน Code ใหม่แสดงข้อมูลได้แล้วค่ะ

ขอบคุณมากค่ะ ไม่ทราบเหมือนกันว่าเป็นเพราะอะไร