+ Reply to Thread
Results 1 to 3 of 3

Import all sheets from directory

  1. #1
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Import all sheets from directory

    Hello everyone
    I am trying to import all the sheets from all the workbooks in specific directory
    Please Login or Register  to view this content.
    I got error at this line
    Please Login or Register  to view this content.
    How can I paste the copied sheet to the end of the thisworkbook
    < ----- Please click the little star * next to add reputation if my post helps you
    Visit Forum : From Here

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Import all sheets from directory

    SH.Copy After:=ThisWorkbook.Sheets(ThisWorkbook.Sheets.Count)
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Re: Import all sheets from directory

    Thanks a lot Mr. AlphaFrog for swift and perfect solution
    Regards

+ 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 to import directory into one active sheet
    By terdfurgeson in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-11-2014, 11:39 AM
  2. Import .csv files from workbook directory
    By desolatori in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 12-18-2013, 10:05 AM
  3. [SOLVED] Import multiple files from same directory
    By anrichards22 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-18-2013, 03:56 AM
  4. How do i do an import automatically if new file is added to directory
    By G4L in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-27-2012, 06:56 PM
  5. import text files multiple from parent directory
    By Craig.Selby in forum Excel General
    Replies: 2
    Last Post: 07-11-2012, 11:41 PM
  6. Allow user to input directory to import from
    By Grekazor in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-13-2010, 07:40 PM
  7. Import table data from .mdb in my web's root directory
    By ern2ern in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-17-2008, 08:48 AM
  8. [SOLVED] Import directory data into Excel 2003
    By Nigel Reed in forum Excel General
    Replies: 6
    Last Post: 01-31-2005, 10: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