+ Reply to Thread
Results 1 to 3 of 3

Excel Macro to Generate .DAT file

  1. #1
    Registered User
    Join Date
    09-02-2016
    Location
    Manila, Philippines
    MS-Off Ver
    MS Office 2007
    Posts
    1

    Excel Macro to Generate .DAT file

    Hi,

    I have data on my excel that I save as to CSV file that I open with notepad then I save it again after writing .DAT to its name to generate a DAT File.

    Is there a macro code that I can put to my excel so that I will skip some of the process and just generate the DAT file?

    Thanks

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Excel Macro to Generate .DAT file

    Hello MasterRap2x,

    Welcome to the forum!

    Is each column in a row separated with a comma in you CSV file?

    Is text enclosed in quotation marks?
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    01-04-2020
    Location
    Hull, UK
    MS-Off Ver
    2016
    Posts
    60

    Re: Excel Macro to Generate .DAT file

    Here's one example
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Last edited by juddaaaa; 02-12-2020 at 11:32 PM.

+ 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. [SOLVED] Macro to generate new Excel file
    By ricdamiani in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-02-2019, 01:17 AM
  2. Excel Macro Generate CSV file
    By ZickZak in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-20-2017, 07:13 AM
  3. Macro to generate excel file basis the row ranges provided
    By BenTenison in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-29-2017, 08:42 AM
  4. Macro to generate 1K files from source excel file with unique records in 2 cell
    By mak177 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-07-2015, 02:41 AM
  5. Creating a macro to generate batch emails from a list of addresses in excel file
    By maccabarra in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-15-2015, 02:59 PM
  6. Excel file with macro to update data & generate reports
    By Burt_100 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-19-2014, 12:51 PM
  7. Dynamically Generate graph in an excel file from a .csv file [URGENT]
    By pushkarjajoria in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-14-2013, 06:51 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