+ Reply to Thread
Results 1 to 2 of 2

Insert CSV take Last column and first column but varying length of columns

  1. #1
    Registered User
    Join Date
    08-12-2014
    Location
    CA
    MS-Off Ver
    2011
    Posts
    73

    Insert CSV take Last column and first column but varying length of columns

    Hi all,
    I am looking to import a csv file via a form or click button that allows me to navigate to the stored file, the data would be A,B,C,D but varies in length.

    Example data
    (first) Fri, 10/9/2015 FUND
    M FORCE078
    Location Element City
    lab
    Fund Forces 8:30 AM - 9:30 AM Last, First I 24
    (first) Fri, 10/9/2015 FUND
    M FORCE079
    Location Element City
    lab
    Fund Forces 9:45 AM - 10:345 AM Last, First S 28

    The return I would need would be to scan the text for any lines ending in a number with either the letters I,S,A before the number. In the case above I 24, S 28. Those are the lines to grab and then read from the front of the line to the time and take that information as well.

    A correct output:

    Fund Forces 24
    Fund Forces 28


    From here the data would go to a separate sheet where data would be stored from every file loaded in.
    Please advise
    Last edited by sdl2; 10-13-2015 at 02:54 AM. Reason: typo

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Insert CSV take Last column and first column but varying length of columns

    This will get you started.



    Please Login or Register  to view this content.
    Attached Files Attached Files
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

+ 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. insert VARYING blank column with two intervals,
    By markDuffy in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-14-2015, 04:03 AM
  2. [SOLVED] Take date from string and input into varying column length
    By bruizer31 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-26-2013, 10:55 AM
  3. Stack varying length columns
    By par0016 in forum Excel General
    Replies: 2
    Last Post: 01-21-2013, 06:51 PM
  4. Text to Column with Text & Varying-length Numbers
    By vtshipe in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-13-2011, 07:35 AM
  5. Computing with last 252 rows of varying length column
    By stephens in forum Excel General
    Replies: 6
    Last Post: 11-27-2009, 01:50 AM
  6. Insert row with max length found in Column
    By ssheen in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-19-2006, 02:34 PM
  7. Replies: 2
    Last Post: 06-12-2006, 05:15 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