79663110

Date: 2025-06-12 07:49:09
Score: 1
Natty:
Report link

Add below code after this line '

   xlWorkSheet = xlWorkBook.Sheets(1)

xlworksheet.Range("A:Z").NumberFormat="@"

This will change any number format your excel to text.

The range depends on the size of data you are exporting.It can be:("A:AB")...etc

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sir-me