+ Reply to Thread
Results 1 to 3 of 3

Import the data from different workbook in 5th row of the current workbook

  1. #1
    Registered User
    Join Date
    06-10-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    13

    Smile Import the data from different workbook in 5th row of the current workbook

    Hi All,

    The below VBA code helps me to import all the workbooks from the specified path to the current workbook.

    The code works perfectly

    However,I want to tweak this code a little, so that I can place the code in 5th row of the current workbook

    The below code helps me in placing the data one row below

    Please confirm where to change the code, to paste the data in 5th row.

    Please Login or Register  to view this content.

  2. #2
    Forum Contributor
    Join Date
    06-09-2011
    Location
    Germany
    MS-Off Ver
    Excel 2016
    Posts
    194

    Re: Import the data from different workbook in 5th row of the current workbook

    hi,

    without testing, just change the following line
    Range("A4:IV" & Range("A65536").End(xlUp).Row).Copy
    to
    Range("A5:IV" & Range("A65536").End(xlUp).Row).Copy

    Furthemore you might need to change
    Range("A5").Select
    to
    Range("A6").Select

    Let me know if it does what it should do.

    Theo
    Remember To Do the Following....
    1. Upload sample files
    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.

  3. #3
    Registered User
    Join Date
    06-10-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: Import the data from different workbook in 5th row of the current workbook

    Hi,

    Thanks for the reply
    However, your idea to change the code did not work.
    Is there any other way ?

    Thanks,

+ 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. VBA code to copy data from current workbook to another workbook and send email
    By aman1234 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-05-2015, 06:47 AM
  2. Can I have Excel search another workbook for data and import it to my current workbook?
    By mgruber in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 0
    Last Post: 09-05-2014, 07:13 PM
  3. Replies: 0
    Last Post: 03-27-2014, 12:38 PM
  4. Import worksheet from different workbook in current workbook (URGENT)
    By IntosH in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-26-2009, 07:56 AM
  5. Import Data into Current Workbook
    By mrlevcik in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-20-2008, 10:58 AM

Tags for this Thread

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