View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Julie Julie is offline
external usenet poster
 
Posts: 150
Default Force a cell to display as Text

I am programmatically (via C#) placing data on an Excel spreadsheet. Problem
is that some of the data look like dates (e.g "4/22") which really are not
dates. Excel is automatically converting these to dates. When using Excel, I
can set the cell's format category to "Text" and it will display properly.
How do I do that programatically?