+ Reply to Thread
Results 1 to 3 of 3

Comments in CSV

  1. #1
    Katie
    Guest

    Comments in CSV

    Hi

    I am creating a CSV (comma seperated) file from a database so users can
    import in excel etc. Basically the file contains rows of data. I want
    to add a header/comment to the file (Preferably formatted html) to
    maybe have information such as selected fields user date etc for the
    data. Is there any way to comment stuff out in csv so that wen
    importing excel doesnt treat it as import data (looking for column
    delimiters etc)

    thanks



  2. #2
    Dave Peterson
    Guest

    Re: Comments in CSV

    A .csv file is just a plain text file. If you put stuff in that file, excel
    will find it.

    But you could use some sort of macro to import the file and clean up the stuff
    that doesn't belong. But then you'll have to distribute that workbook with the
    macro and train the users how to import the .csv file using that macro.

    Katie wrote:
    >
    > Hi
    >
    > I am creating a CSV (comma seperated) file from a database so users can
    > import in excel etc. Basically the file contains rows of data. I want
    > to add a header/comment to the file (Preferably formatted html) to
    > maybe have information such as selected fields user date etc for the
    > data. Is there any way to comment stuff out in csv so that wen
    > importing excel doesnt treat it as import data (looking for column
    > delimiters etc)
    >
    > thanks
    >


    --

    Dave Peterson

  3. #3
    Tim Williams
    Guest

    Re: Comments in CSV

    You could format your data as html instead and give it a xls extension.
    Excel should open it OK and it allows you to add some formatting.

    --
    Tim Williams
    Palo Alto, CA


    "Katie" <DnkyCartRcr@gmail.com> wrote in message news:1152293365.711248.67020@75g2000cwc.googlegroups.com...
    > Hi
    >
    > I am creating a CSV (comma seperated) file from a database so users can
    > import in excel etc. Basically the file contains rows of data. I want
    > to add a header/comment to the file (Preferably formatted html) to
    > maybe have information such as selected fields user date etc for the
    > data. Is there any way to comment stuff out in csv so that wen
    > importing excel doesnt treat it as import data (looking for column
    > delimiters etc)
    >
    > thanks
    >
    >




+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1