+ Reply to Thread
Results 1 to 4 of 4

Excel copy from file to file macro not working

  1. #1
    Registered User
    Join Date
    03-24-2015
    Location
    Romania
    MS-Off Ver
    2013
    Posts
    4

    Excel copy from file to file macro not working

    I have to copy data from multiple excel files named with numbers (1.xlsx, 2.xlsx, 3.xlsx, etc). I wrote this macro. It runs. But no copy happens, the main workbook in wich I ran the macro remains empty.

    Please Login or Register  to view this content.

  2. #2
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: Excel copy from file to file macro not working

    Try changing

    Please Login or Register  to view this content.
    to

    Please Login or Register  to view this content.

    Alf

  3. #3
    Registered User
    Join Date
    03-24-2015
    Location
    Romania
    MS-Off Ver
    2013
    Posts
    4

    Re: Excel copy from file to file macro not working

    Thank you. It worked.

  4. #4
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: Excel copy from file to file macro not working

    You are welcome.

    As this solved your problem, don't forget to mark thread "Solved"

    Alf

    Ps
    To mark your thread solved do the following:
    -Go to the top of the first post
    -Select Thread Tools
    -Select Mark thread as Solved

+ 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. [SOLVED] Copy template worksheet from macro file to the working file
    By gokica in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-17-2014, 11:46 AM
  2. macro to open, copy paste from existing excel file to a new blank file
    By 2blessed in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-15-2012, 06:05 PM
  3. [SOLVED] Macro to copy only specific data from a txt file to an excel file
    By Raju Radhakrishnan in forum Excel Programming / VBA / Macros
    Replies: 48
    Last Post: 04-13-2012, 02:11 AM
  4. Copy Paste section of macro not working in shared file
    By nigelog in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-13-2008, 01:32 PM
  5. VBA Macro to copy an column from one Excel file into another file
    By Sam in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-02-2005, 11:05 PM

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