返回列表 上一主題 發帖

[發問] 有兩個獨立EXCEL,如何知道切換到另一個獨立EXCEL?

Sub testxxx()
bookcount = Application.Windows.Count
For i = 1 To bookcount
    Debug.Print Application.Windows(i).Caption
Next
End Sub

TOP

本帖最後由 no3-taco 於 2015-7-25 12:20 編輯

回復 6# justintoolbox

不好意思,剛剛我貼的行不通
我照你的方法開啟excel,真的不行

TOP

        靜思自在 : 願要大、志要堅、氣要柔、心要細。
返回列表 上一主題