Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 49735
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T16:29:00+00:00 2026-05-10T16:29:00+00:00

I produce a report as an CSV file. When I try to open the

  • 0

I produce a report as an CSV file. When I try to open the file in Excel, it makes an assumption about the data type based on the contents of the cell, and reformats it accordingly.

For example, if the CSV file contains

...,005,... 

Then Excel shows it as 5. Is there a way to override this and display 005?

I would prefer to do something to the file itself, so that the user could just double-click on the CSV file to open it.

I use Excel 2003.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T16:29:00+00:00Added an answer on May 10, 2026 at 4:29 pm

    There isn’t an easy way to control the formatting Excel applies when opening a .csv file. However listed below are three approaches that might help.

    My preference is the first option.

    Option 1 – Change the data in the file

    You could change the data in the .csv file as follows …,=”005”,… This will be displayed in Excel as …,005,…

    Excel will have kept the data as a formula, but copying the column and using paste special values will get rid of the formula but retain the formatting

    Option 2 – Format the data

    If it is simply a format issue and all your data in that column has a three digits length. Then open the data in Excel and then format the column containing the data with this custom format 000

    Option 3 – Change the file extension to .dif (Data interchange format)

    Change the file extension and use the file import wizard to control the formats. Files with a .dif extension are automatically opened by Excel when double clicked on.

    Step by step:

    • Change the file extension from .csv to .dif
    • Double click on the file to open it in Excel.
    • The ‘File Import Wizard’ will be launched.
    • Set the ‘File type’ to ‘Delimited’ and click on the ‘Next’ button.
    • Under Delimiters, tick ‘Comma’ and click on the ‘Next’ button.
    • Click on each column of your data that is displayed and select a ‘Column data format’. The column with the value ‘005’ should be formatted as ‘Text’.
    • Click on the finish button, the file will be opened by Excel with the formats that you have specified.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to produce a calculation trace file containing tabular data showing intermediate results.
I'm trying to produce a report that has multiple grouping but does not just
I need to produce a SQL report showing the number of times a particular
I produce server software and have been fine with all Linux environments so far,
I'm trying to produce sheets of photographs with captions arranged in a grid using
I'm trying to produce just the day number in a WPF text block, without
How can we produce the effect of the red line under a bad spelling
Is it possible to produce an alert similar to JavaScript's alert(message) in python, with
I'm trying to generate a sales reports which lists each product + total sales

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.