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
仅限其工作表 –