Advertisement

10.03.2008 at 11:02AM PDT, ID: 23785898 | Points: 500
[x]
Attachment Details

Excel Cell Date Format

Asked by cursive34 in Microsoft Excel Spreadsheet Software, Microsoft Visual C#.Net

Im making a web app where the users can import a spreadsheet to do mass updates. I created two different templates for two different types of users but both are essentially the same. There is one row that contains dates (ex: 10/1/2008) and i need to know which month/date i am updating. In both spreadsheets both cells are formatted the exact same way(Date) and both contain the exact same date values but when i go to import them in my application one spreadsheet reads it as the OA date(decimal) and the other reads it as a plain text (10/1/2008). So when i go to convert to datetime i do not know which conversion to use. Both are .xlsx format. I dont understand why both are not being read in as the same format.

im not too good with excel so is there a way to force a cell to always be a certain format?Start Free Trial
[+][-]10.03.2008 at 11:29AM PDT, ID: 22636635

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.04.2008 at 07:54AM PDT, ID: 22641183

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.29.2008 at 11:25PM PST, ID: 23062259

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628