+ Reply to Thread
Results 1 to 4 of 4

Copy New Sheet, Index/Match from Separate Workbook, SaveAs and Delete Worksheet

Hybrid View

  1. #1
    Registered User
    Join Date
    07-26-2012
    Location
    Madison, WI
    MS-Off Ver
    Excel 2010
    Posts
    8

    Exclamation Copy New Sheet, Index/Match from Separate Workbook, SaveAs and Delete Worksheet

    Hi all,

    I have a request that I believe draws upon pretty standard elements but arranged in a very specific way.

    Essentially the scenario consist of a user who needs to create a new Working copy of the most up to date Master workbook and then after doing that, reset the Master.

    Necessary Steps:
    1. Copy the active worksheet ("Master")
    2. Paste the copy as a new worksheet ("Master [Today's Date]") with a dynamic date name based on today's date within the same workbook ("Filepath\Master.xlsm")
    3. Perform an index/match formula between columns in the new "Master Copy" worksheet and columns in a separate workbook hosted on Sharepoint ("Sharepoint Filepath\Working.xlsm").
    4. Index values of columns AN:BJ if the Match formula is successful.
    5. Paste the indexed columns as values in order to get rid of the formulas.
    6. Save the "Master Copy" worksheet as the new master "Working.xlsm" workbook ("Sharepoint Filepath\Working.xlsm")
    7. Delete the copied worksheet ("Master Copy") from the original workbook ("Filepath\Master.xlsm")

    Does this make any sense?

    In a nutshell:
    1. Copy a new worksheet
    2. Automatically perform Index/Math
    3. Paste values from Index/Match
    4. Save worksheet as new workbook
    5. Delete a worksheet from a workbook

    Thanks everyone!!!

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,047

    Re: Copy New Sheet, Index/Match from Separate Workbook, SaveAs and Delete Worksheet

    This is a VBA question, I will move it to that forum for you
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    07-26-2012
    Location
    Madison, WI
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Copy New Sheet, Index/Match from Separate Workbook, SaveAs and Delete Worksheet

    Quote Originally Posted by FDibbins View Post
    This is a VBA question, I will move it to that forum for you
    Thank you! Apologies for the mistake!

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,047

    Re: Copy New Sheet, Index/Match from Separate Workbook, SaveAs and Delete Worksheet

    not a problem, you should get more exposure there

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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