G Guest Nov 15, 2007 #1 I'm trying to write the long code, but the line not enough, so I want complete in second line what I will do please help. Regards
I'm trying to write the long code, but the line not enough, so I want complete in second line what I will do please help. Regards
G Guest Nov 15, 2007 #2 Alam, To split a single line across 2 lines use space underscore For t = _ 1 To 100 Next Mike
B Bob Phillips Nov 15, 2007 #3 You can even use these continuation characters to insert a space line between statements. So in simple form you can change If condition1 And condition2 Then to If condition1 And _ condition2 Then or even If condirion1 And _ _ condition2 Then This can be extremely useful when the conditions are long/complex. -- --- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy)
You can even use these continuation characters to insert a space line between statements. So in simple form you can change If condition1 And condition2 Then to If condition1 And _ condition2 Then or even If condirion1 And _ _ condition2 Then This can be extremely useful when the conditions are long/complex. -- --- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy)