+ Reply to Thread
Results 1 to 5 of 5

Copy specific sheet to new file (VBA)

  1. #1
    Forum Contributor
    Join Date
    02-20-2023
    Location
    thai
    MS-Off Ver
    2016
    Posts
    106

    Copy specific sheet to new file (VBA)

    Hello, everyone
    I want to copy specific sheet to new file detail as below.
    1. loop file in folder by condition file name excel start with 10 and extension = .xlsx
    2. loop copy sheet Purchase,AP to new file (1file)
    remark same format input
    3. save file filename by refer filename input (left 4 name from filename)
    Example input = 1021_ee.xlsx ---> output = 1021_output.xlsx

    remark : my excel have large size. I don't want to open becuase it slow.
    Please guide me for solve it. (VBA)

    Thank you.
    Last edited by fairyme; 09-27-2023 at 11:01 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    12-30-2020
    Location
    Odessa / Ukraine
    MS-Off Ver
    2021
    Posts
    301

    Re: Copy specific sheet to new file (VBA)

    Hello @fairyme.
    Please Login or Register  to view this content.
    Good luck.
    Last edited by MikeVol; 09-28-2023 at 05:51 AM. Reason: Update

  3. #3
    Forum Expert
    Join Date
    10-11-2021
    Location
    Netherlands
    MS-Off Ver
    365
    Posts
    1,386

    Re: Copy specific sheet to new file (VBA)

    Here a way without opening the sourcefile

    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    02-20-2023
    Location
    thai
    MS-Off Ver
    2016
    Posts
    106

    Re: Copy specific sheet to new file (VBA)

    It good for output.

    But I have question If I want to replace text " to empty in column E J K in file output.
    How to replace it?

  5. #5
    Valued Forum Contributor
    Join Date
    12-30-2020
    Location
    Odessa / Ukraine
    MS-Off Ver
    2021
    Posts
    301

    Re: Copy specific sheet to new file (VBA)

    Hello @fairyme.
    UPDATE!

+ 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. Replies: 2
    Last Post: 06-23-2018, 06:40 PM
  2. [SOLVED] Export specific sheet from a file to a specific sheet in many files
    By Feisty2 in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 05-07-2018, 09:42 AM
  3. copy specific columns from variable sheet names to specific sheet tab
    By JEAN1972 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-23-2017, 05:50 PM
  4. [SOLVED] Copy rows with specific text in specific column into specific sheet
    By Valemaar in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 08-22-2014, 03:23 PM
  5. [SOLVED] Copy data from Specific columns from a csv file and pasting it in the Active sheet
    By Pavan Renjal in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-01-2014, 12:14 PM
  6. [SOLVED] VBA Script to open a specific File adn activate a specific sheet within that sheet.
    By Kramxel in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-05-2013, 01:31 PM
  7. [SOLVED] Get file path from a cell, run a check to see if the file has a specific sheet if yes copy
    By Martha44 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-04-2013, 03:35 AM

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