Hi Jim and Steeviee, thank you for your replies and my apologies for the late reply.
To Jim: FinalCol is a global variable i've declared. It has a value of 32. Right before i posted this thread, I encountered a weird situation where the cursor skips the for loop in step mode. (Yellow Highlighted "For x = 1 To FinalCol" jumps to Yellow Highlighted "MsgBox (NextRecord)") Whereas after when i step through it again, the for loop undergoes. But i didn't change anything.
To Steeviee, I thought x = 1 to FinalCol already declares x as 1?
Thanks