+ Reply to Thread
Results 1 to 4 of 4

macro to copy specifc sheet in closed workbook to the active sheet

  1. #1
    Forum Contributor
    Join Date
    02-11-2014
    Location
    mauritius
    MS-Off Ver
    MS365
    Posts
    1,143

    macro to copy specifc sheet in closed workbook to the active sheet

    I have a file with three sheets found on C:\Users\user\Desktop\CSV FORMAT\csv format sample.xlsx

    Need to copy a specific sheet named "CSV FORMAT SAMPLE" sheet to the active open workbook, paste that sheet in last position .

    But the issue that file C:\Users\user\Desktop\CSV FORMAT\csv format sample.xlsx should remain close.

  2. #2
    Forum Expert
    Join Date
    06-09-2010
    Location
    Australia
    MS-Off Ver
    Excel 2013
    Posts
    1,715

    Re: macro to copy specifc sheet in closed workbook to the active sheet

    Hi
    so far as I know you can only copy a whole sheet if the source file is open. However, it is possible to create formulas linking to particular cells in an unopened file and then convert these to values. This macro creates a new sheet in the active workbook, gives it the same name as your source sheet, then copies the values of each cell in a specified range in your source sheet into the new sheet.

    Please Login or Register  to view this content.

  3. #3
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: macro to copy specifc sheet in closed workbook to the active sheet

    This will open and then close it after the copying if it helps?

    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    02-11-2014
    Location
    mauritius
    MS-Off Ver
    MS365
    Posts
    1,143

    Re: macro to copy specifc sheet in closed workbook to the active sheet

    Nicky & John thanks both for solution provided as it works

    Sharing a similar solution

    http://www.vbforums.com/showthread.p...ile-to-Another

+ 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] macro to copy active sheet to a closed workbook in a specified directory
    By JEAN1972 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-30-2017, 04:43 AM
  2. [SOLVED] vba copy specific sheet from closed workbook to active workbook
    By JEAN1972 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-12-2017, 01:33 PM
  3. [SOLVED] copy specific sheet from closed workbook to active workbook
    By JEAN1972 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-10-2017, 10:26 PM
  4. vba copy specific sheet from closed workbook to active workbook
    By JEAN1972 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-09-2017, 02:34 PM
  5. Macro to copy and paste information from one sheet to another (closed) workbook
    By V.Cell in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-25-2015, 04:25 AM
  6. Macro to copy row to specific sheet in closed workbook
    By newbie-excel in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 07-04-2013, 12:51 PM
  7. Search for Value in Closed Workbook and copy Column to Active Sheet Column BE
    By Winon in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 12-19-2011, 12:57 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