How to detect an empty column in excel?

Refer this @vivek_Chowdary,