+ Reply to Thread
Results 1 to 11 of 11

Copy sheet as is from workbook to another?

  1. #1
    Forum Contributor
    Join Date
    01-29-2019
    Location
    Drenthe, Netherlands
    MS-Off Ver
    Dutch Office 2019
    Posts
    291

    Copy sheet as is from workbook to another?

    When to people working on the same project at home and try to combine the result without messing up formules. Is it possible to copy a sheet from one workbook to another without changing any formules?

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,919

    Re: Copy sheet as is from workbook to another?

    Do you want to copy the sheet to a new workbook or add it to an existing workbook? Also do you need to recombine the data?

    Is it the same sheet all the time?
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Forum Contributor
    Join Date
    01-29-2019
    Location
    Drenthe, Netherlands
    MS-Off Ver
    Dutch Office 2019
    Posts
    291

    Re: Copy sheet as is from workbook to another?

    This is getting a problem now. I work at home on a excel sheet for my work. I download parameters from PGIM at work. But the excel sheet i program/make at home. Today i added all the links for PGIM and it is working like a charm, i only had a few cosmetic errors. So i like to update/ upgrade the excel file at home. But when i open the file at home excel ''corrects" all the links. So when i'm at work in 2 days nothing is working anymore. Is there a way to open the file and leave all the links as is?

  4. #4
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,919

    Re: Copy sheet as is from workbook to another?

    Let me see if I understand what is happening. You created the workbook at work and it is good. You take the workbook home and it is good - or at least you can do data entry on it. You take the workbook back to work and it doesn't work anymore. In what way does it not work? Do you have multiple error codes like #REF! or #Value! in the cells?

    Without being able to see what the old and new links look like, I really can't help. Is there a way you could get a screen capture of the link the way it is supposed to be and then also post a sample workbook?

  5. #5
    Forum Contributor
    Join Date
    01-29-2019
    Location
    Drenthe, Netherlands
    MS-Off Ver
    Dutch Office 2019
    Posts
    291

    Re: Copy sheet as is from workbook to another?

    Example! (not exact because i don't know the exact code because i'm at home.
    This

    (pgim_get_values('$PGIM_CONFI'!$C$28;"AVG";'$PGIM_CONFI'!$B$5;'$PGIM_CONFI'!$B$6;"PCLT";1;8;1;"1 h";;"0A")

    Will become this when i open the file i copied at work to my google drive and opent it at home.

    ='C:\Users\myname\AppData\Microsoft\Excel\XLSTART\pgimreport.xlam'!pgim_get_values('$PGIM_CONFI'!$C$28;"AVG";'$PGIM_CONFI'!$B$5;'$PGIM_CONFI'!$B$6;"PCLT";1;8;1;"1 h";;"0A")

    And when i make a sheet in a cope op a file and copy it to the origanal at work all the formules are changed.

  6. #6
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,919

    Re: Copy sheet as is from workbook to another?

    Confirm for me. It works when you bring it home and work on it but does not work when you get back to work.

  7. #7
    Forum Contributor
    Join Date
    01-29-2019
    Location
    Drenthe, Netherlands
    MS-Off Ver
    Dutch Office 2019
    Posts
    291

    Re: Copy sheet as is from workbook to another?

    Quote Originally Posted by dflak View Post
    Confirm for me. It works when you bring it home and work on it but does not work when you get back to work.
    I'm not sure yet. I know it tomorrow in my night shift. When i ad something at home en open it at work again. Can the extra text leave when i open it in the correct network again??

    I let you know.

  8. #8
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,919

    Re: Copy sheet as is from workbook to another?

    I have no way to test this. Here is how I envision this working.

    At work, put the sheet you want to work on in the same directory with this workbook. Enter the name of the workbook in Cell B1.

    Confirm that the string in cell B3 is correct.

    Click the Copy button. This will copy the workbook (sheet 1) into the New Sheet Sheet on this workbook.

    Take this workbook home.

    Work on New Sheet.

    Take the workbook back to work.

    Click on the Paste button. This should produce a new workbook with the links removed.
    Attached Files Attached Files

  9. #9
    Forum Contributor
    Join Date
    01-29-2019
    Location
    Drenthe, Netherlands
    MS-Off Ver
    Dutch Office 2019
    Posts
    291

    Re: Copy sheet as is from workbook to another?

    Quote Originally Posted by dflak View Post
    I have no way to test this. Here is how I envision this working.

    At work, put the sheet you want to work on in the same directory with this workbook. Enter the name of the workbook in Cell B1.

    Confirm that the string in cell B3 is correct.

    Click the Copy button. This will copy the workbook (sheet 1) into the New Sheet Sheet on this workbook.

    Take this workbook home.

    Work on New Sheet.

    Take the workbook back to work.

    Click on the Paste button. This should produce a new workbook with the links removed.
    Thanks wil try. Will it work with several sheets from one workbook

  10. #10
    Forum Contributor
    Join Date
    01-29-2019
    Location
    Drenthe, Netherlands
    MS-Off Ver
    Dutch Office 2019
    Posts
    291

    Re: Copy sheet as is from workbook to another?

    Quote Originally Posted by dflak View Post
    I have no way to test this. Here is how I envision this working.

    At work, put the sheet you want to work on in the same directory with this workbook. Enter the name of the workbook in Cell B1.

    Confirm that the string in cell B3 is correct.

    Click the Copy button. This will copy the workbook (sheet 1) into the New Sheet Sheet on this workbook.

    Take this workbook home.

    Work on New Sheet.

    Take the workbook back to work.

    Click on the Paste button. This should produce a new workbook with the links removed.
    Still i find it very strange that Excel don't give you a option to leave links an formules as is!! I dont want to change them. Leave them be on what ever computer open the workbook.

  11. #11
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,919

    Re: Copy sheet as is from workbook to another?

    Sometimes Excel tries to help us TOO much.

+ 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: 3
    Last Post: 12-07-2017, 05:14 PM
  2. [SOLVED] vba code to copy a specific sheet from a closed workbook to the active workbook
    By JEAN1972 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-01-2017, 03:09 AM
  3. [SOLVED] Copy sheet from another workbook based on ComboBox names of the Workbook and sheet
    By igormigor in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-01-2016, 10:07 AM
  4. [SOLVED] macro to copy rows from a sheet in one workbook to a sheet in a different workbook...
    By fredderf81 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-16-2013, 01:36 PM
  5. Simple Open Workbook, Copy Sheet, Paste In New Workbook Question
    By alulla in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-19-2013, 02:10 PM
  6. [SOLVED] Copy Values From Each Workbook in Folder to a Single Sheet in New Workbook +Workbook names
    By Arsham24 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-21-2012, 07:42 PM
  7. [SOLVED] copy active sheet, create new workbook, name new workbook based on cell reference
    By jm0392 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-20-2012, 07:12 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