Steve,thanks a tonne ,i have marked the thread as solved !
i kept last row same and for data flow cannot end "If "like shown above .....But dude ,i owe you billion thanks for showing me where i was wrong ,i fill like killing myself for missing the " B".value .....i's the basics ,i sometimes make the silliest of mistakes ,
Also you are right ,i shouldn't be using 2 for loop ,that way the execution time gets doubled ,i was wondering how to do it ,after seeing your code ,i got a idea and placed it after End if rather than before -It's because i dont want the "B".value to just work for that if condition for inserting the blank spaces and want it to happen for every value in B ........
Finally million thanks to you ,the trailing code works ,
I attach the output file with a button called highlight which activates the Module with subroutine highlight wherein the code resides ,
Thanks a tonne ,Steve,
Humble regards ,
Amlan Dutta
Bookmarks