我有一個本地網頁的長列表,這些列表將由Excel 2013中的宏解析。我想知道是否有任何方法可以每隔5分鐘左右自動保存文件循環瀏覽這些文件(> 9000本地.HTM文件)。運行循環時自動保存文件
下面是一些代碼:
Sub ImportFromWebPages()
'declare here some global variables
For startnumber = 1 to 9126
'parse the .HTM files and extract the needed data
'while running this loop (which will take some days to finish)
'Excel should save the file every 5 or 10 minutes.
Next startnumber
End Sub
對這個有什麼想法?
你應該顯示你的完整代碼 - '運行這個循環時(這將需要幾天的時間完成)'。這是極端的! – brettdj