How to export excel in left align always?

chandrurecchandrurec Member Posts: 560
edited 2013-08-28 in NAV Three Tier
Hi all,

I want to export the data to excel using excel buffer concept. By stand , text will be left aligned and numeric will be right aligned. But I want always to follow the left alignment.

so I read one forum in mibuso and put the following code in excel buffer table.

XlWrkSht.Range(xlColID + xlRowID).HorizontalAlignment := HorzAlign;


but after I put this code , its still works the std way.

if anyone knows how to achieve the scenario, kindly let me know.

Thanks in advance,

Regards,
chandru.

Comments

Sign In or Register to comment.