Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 288861
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T05:51:17+00:00 2026-05-12T05:51:17+00:00

I have an Excel workbook with a number of features: One main user-facing sheet

  • 0

I have an Excel workbook with a number of features:

  • One main user-facing sheet
  • One summary sheet based on the user-facing sheet’s data
  • A number of graphs based on the user-facing sheet’s data (as in, the type of graphs with a separate tab for them, rather than objects within a worksheet – I’m not sure if they have a special name or special properties)
  • A series of ‘background’ worksheets that calculate the values for the user-facing sheet
  • A macro to allow the user to sort the user-sheet by any column they wish, which is referenced in the user-facing sheet’s Worksheet_SelectionChange event

However, for distribution I’d like to cull the sheets for simplicity (and file size – the entire data query is included on one of the sheets). I still need to calculate the values for the user-facing sheet, but it’s only done once per dataset, so that can quite happily be copied as formatting then values.

The trouble, however, is transferring the dependent sheet, graphs and macros across to a new workbook so that instead of referencing the old workbook, they reference the new versions of the sheet. Ideally I’d like to do this with VBA or something, but my Google searches thus far don’t seem to have turned up much of relevance.

Does anyone know how to do this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T05:51:18+00:00Added an answer on May 12, 2026 at 5:51 am

    I’m not sure I entirely understand your question, but what I think that you want to do is to create a new version of your workbook, with less worksheets in it??

    To do that in VBA, this code snippet is a good place to start:

    Sub Macro1()
        ActiveWorkbook.SaveAs Filename:= _
            [your path here]\Book2.xls", FileFormat:=xlNormal, _
    
        Sheets("Sheet2").Select
        ActiveWindow.SelectedSheets.Delete
    End Sub
    

    Creating a copy of the entire workbook, and then deleting what you don’t need will make sure that the links do not reference the old workbook.

    Once you have created the new workbook, with links intact, it is then pretty easy to remove all the things (calculations, etc.) that you don’t need.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have an Excel workbook with a number of ActiveX controls, running in Excel
I have an excel workbook which needs to query data from an HTTP server.
I have an Excel Workbook which has some VSTO-based c# code. Given a known
I have an Excel 2010 workbook for financial records. On one worksheet, I have
I have a VBA publishing macro in Excel which generates a published workbook based
I have an excel workbook in which there is data from multiple text files.
I have a sheet in Excel. One column in it (ID) contains strings with
I have an Excel workbook that contains several spreadsheets. I need to pull data
I have an Excel 2007 workbook that contains an ODBC data connection (to FoxPro,
I have created an Excel Sheet that does some lookups to format data that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.