0
我對Smartview使用下面的代碼。在此代碼中,我想排除一張紙(紙張名稱「POV」)如何修改代碼以排除上述紙張。請幫幫我。HFM Smartview VBA代碼
Private Declare PtrSafe Function HypMenuVRefresh Lib "HsAddin"() As Long
Sub refreshWS()
Dim Count, i As Integer
i = 1
Count = Worksheets.Count
Do While i <= Count
pctCompl = (i - Count)
Application.StatusBar = "TOTAL WORKSHEETS " & Count & " " & pctCompl & " " & "SHEETS PENDING "
Application.Wait Now + TimeValue("00:00:01")
Sheets(i).Select
Call HypMenuVRefresh
i = i + 1
Loop
MsgBox "ALL SHEETS COMPLETED"
Application.StatusBar = "COMPLETED"
End Sub
嗨感謝您的幫助,但我已經嘗試了上面的代碼,但它不是忽略表 「POV」。你能幫我嗎 –
什麼樣的工作表:工作表或圖表? – user3598756
僅限其工作表 –