We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

How do you set a numberformat to text?

I did this with automation by assigning the number format to @ but this doesn''t work with xlio. I''m using vb.net.

1 Reply

AD Administrator Syncfusion Team October 12, 2005 12:46 PM UTC

Hi Rico, Here is the code snippet to set Numberformat to text: '' Setting NumberFormat to text sheet.Range("A1:E10").Text = "Number Format" sheet.Range("A1:E10").NumberFormat = "@" Please let me know if you have any questions. Best Regards, Seetha >I did this with automation by assigning the number format to @ but this doesn''t work with xlio. I''m using vb.net.

Loader.
Live Chat Icon For mobile
Up arrow icon