阅读背景:

在每张纸上循环不工作

来源:互联网 

I wrote this macro to loop through all files in a folder and loop through each sheet in each file. Then on a per sheet basis run SQL to an Access DB and return results to a sheet. Problem is is that it isnt looping through each sheet, and constantly returns only the last Select Case option in debug.print. Any idea why? Do i need to statically set start sheet? This structure works perfectly in other scenarios. Is the introduction of SQL the issue?I wrote this macro to loop through all files in




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: