+ Reply to Thread
Results 1 to 3 of 3

How do I add a blank row before data groups during import of CSV

  1. #1
    Registered User
    Join Date
    09-23-2010
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    47

    How do I add a blank row before data groups during import of CSV

    Hi Guys and Gals,

    This is my issue, I have been given a spreadsheet containing absolute folderpaths right down to the filename
    e.g.
    \\server\data\workgroup\admin\planner.xlsx
    \\server\data\workgroup\admin\roster.xlsx
    \\server\data\workgroup\admin\ops\call log.doc
    etc etc

    Now i have been tasked with importing this information into a new spreadsheet that looks like this
    \\server\data\workgroup\admin
    planner.xlsx
    roster.xlsx
    \\server\data\workgroup\admin\ops\
    call log.doc

    I am hoping there is a way to automate this using VBA but sadly cant seem to figure out a way.

    Any and all help will be greatly appreciated.
    Aussiexile

  2. #2
    Forum Contributor
    Join Date
    03-28-2013
    Location
    *
    MS-Off Ver
    Excel 2010
    Posts
    226

    Re: How do I add a blank row before data groups during import of CSV

    if i understand you correctly, you wnat extract filename from the whole string
    may be this is you looking for
    Please Login or Register  to view this content.
    Give Feedback and Click(*)

  3. #3
    Registered User
    Join Date
    09-23-2010
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    47

    Re: How do I add a blank row before data groups during import of CSV

    Hi Venkatpvc,

    Thanks for the reply bit its not quite what i was looking for.

    What i need to be able to do is insert a row above the folder groups and populate it with the folderpath then remove the folderpath from the file names like your code above.

    Im not really familiar with regexp to know if it is capable of handling this.

+ 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. Inserting a blank Row based on column groups
    By OLBaID in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-09-2013, 04:32 PM
  2. [SOLVED] Transposing Groups of Data separated by blank rows
    By scrchrds in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-01-2010, 03:31 PM
  3. Replies: 13
    Last Post: 08-08-2006, 05:05 AM
  4. [SOLVED] Sum groups of numbers in first blank cell
    By Bleu_808 in forum Excel General
    Replies: 2
    Last Post: 05-01-2006, 06:28 PM
  5. Output array to Excel blank rows separating groups
    By ghh3rd in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-01-2006, 03:52 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