Excel vba do while example. The Do loop can be used in 4 ways.