Thanks!
That was easy as a pie.
I had managed to try the code on my workbook and succeeded day before yesterday evening. But yesterday morning when i tried opening the workbook again i got "file corrupted" error and excel couldnt even recover the file back.
So i decided to redo the whole workbook again (it was really a pain to look at my whole day's work go down the drain cuz excel 2003 got unstable.
Since the website was down the whole day yesterday and i didnt have any reference to the code, i tried writing it again but instead of range I used columns.
But i kept getting some syntax error.
I tried to keep the code
and
But both didnt work.
Although since the forum is up and running and i can refer back to it now i'm back to Range and it works I'd still like to know why Column didnt work.
PS: Can the corrupted file be recovered back? I'm not sure if i can attach it here because it got more than 6 mb in size i think.. Although i could upload it to rapidshare and share the link if thats ok.
Thanks and regards
Mohit
Bookmarks