ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Make Excel allow numeric fields as text (https://www.excelbanter.com/excel-programming/364464-make-excel-allow-numeric-fields-text.html)

Michael A. Covington

Make Excel allow numeric fields as text
 
I am generating XML spreadsheets to be opened with Excel. In one cell there
is an employee ID number that is often, but not always, wholly numeric. I
am coding it as

<Cell<Data ss:Type="String"01234567</Data</Cell

and Excel complains that a number is represented as text.

I know the Excel user can turn off this error check, but is there a way I
can handle it at the XML level?


Many thanks!






All times are GMT +1. The time now is 11:44 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com