Results 1 to 31 of 31

Import CSV file

Threaded View

  1. #1
    Registered User
    Join Date
    04-26-2017
    Location
    München
    MS-Off Ver
    MS office 2013
    Posts
    28

    Import CSV file

    Hello,

    i am new at this forum, i don`t often open new topics, the search function helps me to solve most of my problems. Right now i am working on a difficult code, i think i have the right idea but the code wont work.

    I have many csv files, very many. I am trying to import them with an vba code and put each word what is important for me, in an array. The code i am using should do so, but there`s an error code: Object required. I want to explain what i want to do:

    This CSV file contains 10 Columns, there are only 5 important to me, the first, the second, the third, the fourth and the sixth. In this csv file theres everything in column A and i have not only 1 separation symbol, i have , ; : . and - but the first - should be ignored, starting with ; then separate after ,

    The code i have should do the import, when this works it wont be difficult to do the other steps, the separation after : ; - (I can replace each Symbol to ,)

    My second problem is: i want to create a small menue where i can write the name of my csv file, after clicking on it it should do the import. But there are files with similiar names, a small list would be perfect. I have some idea, but i hope i will get some tipps how to do it better.

    Here is a sample file.

    regards
    Last edited by JeDD21; 11-05-2017 at 11:59 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Macro - Open File Explorer, Select File, Import certain information from file
    By Drayde in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-25-2015, 08:58 AM
  2. Replies: 0
    Last Post: 05-28-2014, 02:45 AM
  3. [SOLVED] MACRO: Store name of selected file as string w/ import data file dialog box
    By AnnieMcken in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-13-2013, 02:13 PM
  4. [SOLVED] Macro - Master file to import data from another open file with variable file name
    By jdodz in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-10-2012, 10:56 PM
  5. VBA: Import CSV file into an Excel Workbook with user defined file name and directory
    By LarryLegend in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-18-2012, 04:47 AM
  6. File import - select file and import sheet(1) from closed workbook
    By Armitage2k in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-22-2011, 03:15 AM
  7. [SOLVED] How do I import text file, analyze data, export results, open next file
    By Geoffro in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-06-2005, 04:06 PM

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