Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft Edge More info about Internet Explorer and Microsoft Edge
Read in English
Read in English Edit
Twitter LinkedIn Facebook Email

Statements

  • Article
  • 09/13/2021
  • 2 minutes to read

In this article

  • AppActivate
  • Beep
  • Call
  • ChDir
  • ChDrive
  • Close
  • Const
  • Date
  • Declare
  • Deftype
  • DeleteSetting
  • Dim
  • Do...Loop
  • End
  • Enum
  • Erase
  • Error
  • Event
  • Exit
  • FileCopy
  • For Each...Next
  • For...Next
  • Function
  • Get
  • GoSub...Return
  • GoTo
  • If...Then...Else
  • Implements
  • Input #
  • Kill
  • Let
  • Line Input #
  • Load
  • Lock, Unlock
  • LSet
  • Mid
  • MkDir
  • Name
  • On Error
  • On...GoSub, On...GoTo
  • Open
  • Option Base
  • Option Compare
  • Option Explicit
  • Option Private
  • Print #
  • Private
  • Property Get
  • Property Let
  • Property Set
  • Public
  • Put
  • RaiseEvent
  • Randomize
  • ReDim
  • Rem
  • Reset
  • Resume
  • RmDir
  • RSet
  • SaveSetting
  • Seek
  • Select Case
  • SendKeys
  • Set
  • SetAttr
  • Static
  • Stop
  • Sub
  • Time
  • Type
  • Unload
  • While...Wend
  • Width #
  • With
  • Write #

See also

  • Keywords (Visual Basic for Applications)
  • Visual Basic language reference

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.


Additional resources

  • Previous Versions
  • Blog
  • Contribute
  • Privacy
  • Terms of Use
  • Trademarks
  • © Microsoft 2023

Additional resources

In this article

  • Previous Versions
  • Blog
  • Contribute
  • Privacy
  • Terms of Use
  • Trademarks
  • © Microsoft 2023