error excel from vba
Posted: Tue Nov 05, 2013 4:37 pm
อาจารย์ครับ
รบกวนสอบถามหน่อย ครับ ผมทำการ code vba แล้วได้ไฟล์มาใหม่ แต่มีปัญหาคือว่าเวลาเปิดไฟล์ที่ได้มาจาก vba excel จะมีข้อความดังนี้ครับ
"The file you are trying to open "test.xls" in a different format than specified file extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do you want to open the file now?"
เพราะเวลาจะเอาไฟล์นี้ไปใช้ต้องทำการ save as ใหม่บน excel อีกครั้ง
ไม่ทราบว่าเกิดจากอะไรและจะสามารถทำการแก้ไขได้ยังไงครับ
ขอบคุณครับ
รบกวนสอบถามหน่อย ครับ ผมทำการ code vba แล้วได้ไฟล์มาใหม่ แต่มีปัญหาคือว่าเวลาเปิดไฟล์ที่ได้มาจาก vba excel จะมีข้อความดังนี้ครับ
"The file you are trying to open "test.xls" in a different format than specified file extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do you want to open the file now?"
เพราะเวลาจะเอาไฟล์นี้ไปใช้ต้องทำการ save as ใหม่บน excel อีกครั้ง
ไม่ทราบว่าเกิดจากอะไรและจะสามารถทำการแก้ไขได้ยังไงครับ
ขอบคุณครับ