ได้ลองเอา code ไปแล้วลองรันดูปรากฎว่ามันขึ้น Error ว่า
Microsoft Office Excel (0x800A03EC)
Microsoft Office Excel cannot access the file 'C:\inetpub\wwwroot'. There are several possible reasons: ? The file name or path does not exist. ? The file is being used by another program. ? The workbook you are trying to save has the same name as a currently open workbook.
แล้ว Error แบบนี้หล่ะ
Microsoft Office Excel (0x800A03EC)
Microsoft Office Excel cannot open or save any more documents because there is not enough available memory or disk space. • To make more memory available, close workbooks or programs you no longer need. • To free disk space, delete files you no longer need from the disk you are saving to.
There are several possible reasons: • The file name or path does not exist. • The file is being used by another program. • The workbook you are trying to save has the same name as a currently open workbook.'
จัดไปตามนี้ครับ
ให้สร้างโฟเดอร์ตามนี้
・Windows 2008 Server x64
C:\Windows\SysWOW64\config\systemprofile\Desktop
・Windows 2008 Server x86
C:\Windows\System32\config\systemprofile\Desktop
อย่าลืมกำหนด Permission ให้โฟเดอร์ด้วย โดย User จะชื่อว่า IUSR หรือ IWAM เลือก Full Control