+ Reply to Thread
Results 1 to 3 of 3

Excel Macro: Add Next Row in a Loop

  1. #1
    Registered User
    Join Date
    10-24-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2013
    Posts
    87

    Excel Macro: Add Next Row in a Loop

    Hey guys,

    I have a macro that cycles through a directory and imports all the "csv" files. As of right now, the data is all put into Row 1.

    I was hoping that each new file would be imported into the row below (ie. Row 1 = 1st file, row 2 = 2nd file, row 3 = 3rd file etc...)

    Any ideas on how I can fix this?

    Please Login or Register  to view this content.
    Last edited by foxy_420; 05-03-2013 at 02:05 PM.

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Excel Macro: Add Next Row in a Loop

    Hi, foxy_420,

    maybe like this:
    Please Login or Register  to view this content.
    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  3. #3
    Registered User
    Join Date
    10-24-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2013
    Posts
    87

    Re: Excel Macro: Add Next Row in a Loop

    Thank you for the quick response, this is exactly what I wanted

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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