kylefoley76
Well-known Member
- Joined
- Mar 1, 2010
- Messages
- 1,553
i got this code from mrexcel live lessons ch 31. in it there is a line that says
well, how does vba know to do nothing? there is no command after the "then" statement. here is a screen shot of the full code
Code:
if this dept = lastdept then
' do nothing
well, how does vba know to do nothing? there is no command after the "then" statement. here is a screen shot of the full code
