+ Reply to Thread
Results 1 to 11 of 11

Make excel auto interpret a file extension as a CSV format

  1. #1
    Registered User
    Join Date
    04-29-2017
    Location
    Midwest
    MS-Off Ver
    Office 365
    Posts
    32

    Make excel auto interpret a file extension as a CSV format

    I have a piece of software that spits out files...
    they get tagged as .etf
    but in reality.. it is actually a csv file

    is there a way to tell excel to always open a specific extension as if it were a csv without having to rename the file or use the text file wizard every time?


    I'm trying to leave it as an ETF extension if possible to be able to make changes and re-import it back into the software it gets used in without having to save it as csv, then close out the file and then rename it back to ETF

    at a minimum, I'm just looking for a way to tell Excel to always treat the ETF file extension as comma separated values
    Last edited by s2h; 12-29-2019 at 07:34 PM.

  2. #2
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: Make excel auto interpret a file extension as a CSV format

    It probably could be done with advanced programming, because it would require getting into the VBA application source code and modifying some of that. I am not familiar with the .etf software so don't know if maybe that could be modified, or if it is compatible with Excel. But from what I have read about it, it can be opended with Windows, but not directly into Excel.
    Last edited by JLGWhiz; 12-30-2019 at 09:46 AM.
    Any code provided by me should be tested on a copy or a mock up of your original data before applying it to the original. Some events in VBA cannot be reversed with the undo facility in Excel. If your original post is satisfied, please mark the thread as "Solved". To upload a file, see the banner at top of this page.
    Just when I think I am smart, I learn something new!

  3. #3
    Registered User
    Join Date
    04-29-2017
    Location
    Midwest
    MS-Off Ver
    Office 365
    Posts
    32

    Re: Make excel auto interpret a file extension as a CSV format

    Quote Originally Posted by JLGWhiz View Post
    It probably could be done with advanced programming, because it would require getting into the VBA application source code and modifying some of that. I am not familiar with the .etf software so don't know if maybe that could be modified, or if it is compatible with Excel. But from what I have read about it, it can be opended with Windows, but not directly into Excel.
    you apparently didnt really read my original post.....

    Its literally Just a csv file that the software renames as ".etf"

    if I rename it to .csv... it opens in excel directly as a csv with no issues



    I'm trying to find out if theres a way to tell excel to automatically treat it as a csv without having to rename it first

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: Make excel auto interpret a file extension as a CSV format

    Right-click on a file with a .etf extension, then select properties, and then you can choose an App to use to open the file (i.e. Excel).

    Then when you double-click on an .etf file it will open as if it were a CSV file.

    Is that what you want?

    Hope this helps.

    Pete

  5. #5
    Registered User
    Join Date
    04-29-2017
    Location
    Midwest
    MS-Off Ver
    Office 365
    Posts
    32

    Re: Make excel auto interpret a file extension as a CSV format

    Quote Originally Posted by Pete_UK View Post
    Right-click on a file with a .etf extension, then select properties, and then you can choose an App to use to open the file (i.e. Excel).

    Then when you double-click on an .etf file it will open as if it were a CSV file.

    Is that what you want?

    Hope this helps.

    Pete

    this does not work

    if it isnt named csv, it treats it as a text file

  6. #6
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    Massachusetts
    MS-Off Ver
    365(PC) V:2308
    Posts
    1,472

    Re: Make excel auto interpret a file extension as a CSV format

    i didn't watch this with sound as i am at work, but it seems like this could be a shortcut to change A LOT of file extensions quickly. So instead of changing one .etf to csv at a time you could do 100's in a couple of second.

    https://www.youtube.com/watch?v=JCYqLCb7vhY



    *** This is not my video***
    Last edited by dosydos; 12-30-2019 at 02:14 PM.
    <----- If you are happy with your solution please click on the "* Add Reputation" as a way to say thank you.

  7. #7
    Registered User
    Join Date
    04-29-2017
    Location
    Midwest
    MS-Off Ver
    Office 365
    Posts
    32

    Re: Make excel auto interpret a file extension as a CSV format

    Quote Originally Posted by dosydos View Post
    i didn't watch this with sound as i am at work, but it seems like this could be a shortcut to change A LOT of file extensions quickly. So instead of changing one .etf to csv at a time you could do 100's in a couple of second.

    https://www.youtube.com/watch?v=JCYqLCb7vhY



    *** This is not my video***
    Does nobody actually read what I am looking for?

    I'm not trying to change the exiting file extension
    I'm not trying to associate a file extension with excel


    I'm looking for a way to make excel automatically treat it as a csv even though it is not named csv.
    so that when I open it, it parses the file just the same as if the file extension was csv


    I can associate the file, but because its not named csv, it will open it as a text file... which shows it as one line with commas instead of making the values individual cells

  8. #8
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    Massachusetts
    MS-Off Ver
    365(PC) V:2308
    Posts
    1,472

    Re: Make excel auto interpret a file extension as a CSV format

    yes i read your post.
    I did not know of a direct way in order to do what you wanted. Instead of ignoring it though, i decided to throw out an additional option that could potentially help your case or maybe even somebody else's who will happen upon this post. Obviously though, my efforts as well as everyone else's who have answered, have only annoyed you. So with that i bid you good day

  9. #9
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: Make excel auto interpret a file extension as a CSV format

    I think we all have read the post and understand what you are asking. What we are trying to tell you is the an .etf file is not a .csv file, no matter how it looks when you open it in something like 'Notepad'. If it were the same, then it would open in Excel simply by using the Excel application to open it. From what I have read, Windows opens the file with Windows Music. That should tell you it is not a .csv file.

  10. #10
    Registered User
    Join Date
    04-29-2017
    Location
    Midwest
    MS-Off Ver
    Office 365
    Posts
    32

    Re: Make excel auto interpret a file extension as a CSV format

    Quote Originally Posted by JLGWhiz View Post
    I think we all have read the post and understand what you are asking. What we are trying to tell you is the an .etf file is not a .csv file, no matter how it looks when you open it in something like 'Notepad'. If it were the same, then it would open in Excel simply by using the Excel application to open it. From what I have read, Windows opens the file with Windows Music. That should tell you it is not a .csv file.
    you arent understanding

    it is indeed a csv formatted file
    this is not a music etf file... it happens to have an extension called eft because its named for the type of table it is in the software it is exported from
    it could very well be called a .867 or a .ppp or a .not or a .ddd... or any 3 letters or numbers... it is still just a file that is a properly formatted csv file with a different set of letters for the extension

    simply renaming this etf file to a .csv extension....allows it to open in excel and show up exactly as expected... cells formatted in a table

    if I leave it as an etf named extension I can open it in excel, but excel treats it as text instead of a csv formatted file

    I'm trying to find out if there is any way to force excel to automatically recognize this file as a csv format when I try to open it





    again... literally... if I do nothing other than right click the file and rename it...edit the file extension to csv.....it will open like any other csv file excel tries to open



    it IS A CSV file... just with a differently named extension

  11. #11
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,523

    Re: Make excel auto interpret a file extension as a CSV format

    Quote Originally Posted by s2h View Post
    is there a way to tell excel to always open a specific extension as if it were a csv without having to rename the file or use the text file wizard every time?
    Simply impossible.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 5
    Last Post: 12-23-2022, 04:04 AM
  2. Replies: 5
    Last Post: 12-23-2022, 04:02 AM
  3. Excel file format or file extension is not valid
    By Ivangashkin in forum Excel General
    Replies: 3
    Last Post: 12-28-2014, 02:31 PM
  4. Replies: 4
    Last Post: 10-23-2013, 12:54 AM
  5. Replies: 6
    Last Post: 05-01-2013, 05:33 PM
  6. Replies: 10
    Last Post: 06-07-2012, 09:17 AM
  7. Excel 2010: Different format than specified by the file extension.
    By jambai in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-02-2011, 10:54 AM

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