Hi Stef,
Thanks for the reply. I did this custom function that you linked to me but the problem is tab doesn't have a fixed number of spaces and this also ruined the tab formatted text.
Can you please explain why is it the tab formatted text is fine during the preview of report but when printed or exported its now ruined.
Thank you so much for your help!