J
Jay
a: If ActiveCell.Row = 17 Then GoTo Erxi2
AMsX = ActiveCell.Column
AMsY = ActiveCell.Row
AMsH = 0
if......
-- why am I getting an error in a if I put an "else" or "end if" it prompts
that "else without if" or "end if without if".
--Is it an independent if statement?
--If the condition is true it'll "goto Erxi2" right? and if false it'll
disregard the "goto Erxi2" right? But would it also disregards the next 3
lines and proceed to the next if?
please tell me how it actually works.
Thank you.
Jay
AMsX = ActiveCell.Column
AMsY = ActiveCell.Row
AMsH = 0
if......
-- why am I getting an error in a if I put an "else" or "end if" it prompts
that "else without if" or "end if without if".
--Is it an independent if statement?
--If the condition is true it'll "goto Erxi2" right? and if false it'll
disregard the "goto Erxi2" right? But would it also disregards the next 3
lines and proceed to the next if?
please tell me how it actually works.
Thank you.
Jay