[VBA ] excel save 问题

楼主: gecer (gecer)   2019-02-11 21:59:07
小弟VBA 在 office 2016下开发 程式码
Wb=Workbook.add....
Worksheets("New").Copy Before:=Wb.Sheets(1)
存成 .xlsm后
布署给office 2010 在这一段程式码会显示error
"Excel cannot insert the sheets into destination workbook,because it contains
fewer rows and columns"
请大大们赐教
作者: zhixiangJ (仍然~有可能)   2019-02-28 21:00:00
检查一下副档名,必须是xlsx,不能是xls

Links booklink

Contact Us: admin [ a t ] ucptt.com