• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

VBA Procedures

A procedure is a block of VBA code that either performs a specific task or returns a result. Procedures come in two flavors:

  • Subroutines are procedures that perform a specific task. Macros recorded with the Macro Recorder are subroutines. (For more on the Macro Recorder, see Chapter 29, "Recording and Editing a Macro.")

  • Functions are procedures that return a result.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint