hellfire45
Active Member
- Joined
- Jun 7, 2014
- Messages
- 462
I want to do an If statement that will check the counta of a row of data. So, if row 2 counta does not equal 13 then exit sub
something like
can anybody help me figure out how to use the CountA function in VBA? Thank you!
something like
Code:
If worksheet("sheet name").counta.row("2").value <> 13 then
Exit sub
end if
can anybody help me figure out how to use the CountA function in VBA? Thank you!