Notifications
Announcements
No record found.
I am not getting leading zero while exporting data to excel using export to excel code . I have tried adding '''' with data but a character ' comes at the beginning.
*This post is locked for comments
hi,
did you also used FORMAT(Number) i mean string to export := ''''+FORMAT(YourData)
using the right syntax msdn.microsoft.com/.../dd301367(v=nav.80).aspx
Hello,
Put CellType as Text or @ while in export code.
Hello, you need to highlight the columns in Excel and change the data type /number format. Set a Number format for numerical values, and set a Text format for all alphanumeric characters.
Check the format function
Hi NavTech,
if you are using the Excel Buffer you can insert '@' in the NumberFormat field. For the decimal values you can insert '#,##0.00'
You need to add four single quotes ('''') for the field which you want excel to format as text not as integer.
Check below blog from Saurav : http://saurav-nav.blogspot.co.nz/2012/06/nav-report-export-to-excel-number-as.html
Were we able to help you to resolve the issue?
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.