⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vba11-4.txt

📁 本书给出了AO的常用的VAB代码 可能是初学者很好的一本参考书
💻 TXT
字号:
Public Sub ShowProgressBar()
  ' Show the progress bar
  Dim pStatusBar As IStatusBar
  Set pStatusBar = Application.StatusBar
  pStatusBar.ShowProgressBar "Computing", 0, _
  10000, 1, True
  ' Step through the progress bar
  Dim lngIndex As Long
  For lngIndex = 0 To 10000
    ' Do your computation here
    pStatusBar.StepProgressBar
  Next lngIndex
  MsgBox "Progress bar reached 100%"
  ' Remove progress bar from the status bar
  pStatusBar.HideProgressBar
End Sub

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -