• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 29. Introducing VBA Programming > Using Program Control Statements

Using Program Control Statements

Any recorded VBA macro will execute sequentially: The code begins executing at the Sub statement and executes one line at a time until it reaches the End Sub statement. Then the macro is finished.

This sequential execution is good enough for simple macros, but as you try to do more complex activities with your macros, you may want your code to be more flexible.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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