+ Reply to Thread
Results 1 to 19 of 19

Copy formula from one Workbook to another workbook

  1. #1
    Registered User
    Join Date
    06-20-2016
    Location
    Amsterdam
    MS-Off Ver
    2010
    Posts
    10

    Copy formula from one Workbook to another workbook

    Hello guys,

    I'd like to know if it's possible to (force) copy formula's from one workbook to another.
    At the moment only the result of a formula, link or format can be copied.
    Some colleagues prefer working with 2 workbooks side by side (one on each screen) than 2 files arranged in one workbook spread over 2 screens out.
    Thanks

  2. #2
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Copy formula from one Workbook to another workbook

    You can convert the formula to a string then paste it into the new workbook, assuming the two workbooks have the same structure.
    Please ensure you mark your thread as Solved once it is. Click here to see how.
    If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.

  3. #3
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: Copy formula from one Workbook to another workbook

    I will note that I have never had any difficulty copying a formula from one workbook to another, and never been limited to pasting results, links, or formats. Can you describe in some detail what you are trying to do, so we can see if we can replicate what you are seeing?
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  4. #4
    Registered User
    Join Date
    06-20-2016
    Location
    Amsterdam
    MS-Off Ver
    2010
    Posts
    10

    Re: Copy formula from one Workbook to another workbook

    I'm trying to copy formulas from one Excel(workbook)
    p1.JPG
    to another one
    p3.JPG
    but as you can see the options are limited to 3 choices.
    Thanks for any help

  5. #5
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: Copy formula from one Workbook to another workbook

    In 2007, I get a different context menu in that situation. Amongst other options, the only "paste" options are "paste" which copies the formula and formats and everything (the usual paste command) or the paste special command. I am not limited in my paste options like your context menu shows.

    I would be curious what options you have if you click on "paste special"? Is the "formulas" option grayed out?

    Someone with 2010 or later may need to step in here and comment. I cannot imagine that this basic copy/paste behavior would have changed that dramatically between 2007 and 2010 such that one cannot copy/paste formulas from one workbook to another.

  6. #6
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: Copy formula from one Workbook to another workbook

    If the second WB is opened by File/Open or New --> that is OK for copy/paste btw them
    But if the second WB is opened by starting new MS Excel window --> that may be your problem.
    Quang PT

  7. #7
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Copy formula from one Workbook to another workbook

    Hi Clovis

    Check how your Options are set...
    2016-08-30_14-36-36.jpg
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  8. #8
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Copy formula from one Workbook to another workbook

    bebo was spot on in accessing what is happening
    based on your description
    Some colleagues prefer working with 2 workbooks side by side (one on each screen) than 2 files arranged in one workbook spread over 2 screens out.
    i can tell this is exactly what is happening

    your colleagues are opening seperate instances of excel to have dual screen excel
    this was one of the very annoying "upgrades" i found with excel 2010
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  9. #9
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Copy formula from one Workbook to another workbook

    unfortunately there is no work around that i know of

    https://ion.icaew.com/itcounts/b/web...ultiplescreens

    Working with two screens

    Generally, it’s easiest to work with two screens if you have a defined purpose for each: e.g. emails and administrative work on one screen; principle work on the other. Or you could have an original document shown on one and a marked up version on the other.

    Excel itself won’t let you split it across two screens as a default – it will always display itself all on one screen or the other. However, you can run two instances of Excel to get this to work. To do this, open Excel and open your first file as normal. Then, instead of opening the second file from within Excel, go to the Start menu and open Excel from there again. This will create a second copy of Excel which you can display on the secondary screen. You can open the second document from there.

    Be aware that running two instances of Excel does have some drawbacks. Firstly, you can’t write formulas that link between the two instances. Secondly, if you copy formulas from one instance of Excel, you can only paste their values into the other instance, and not the formulas themselves.
    if there is any comfort that fixed it in excel 2013 apparently

  10. #10
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Copy formula from one Workbook to another workbook

    Hi,

    It is also possible to stretch the Excel application window across two screens as long as it is not maximised. You may then have one workbook open on each screen whilst maintaining all the usual copy and paste functionality.
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  11. #11
    Registered User
    Join Date
    06-20-2016
    Location
    Amsterdam
    MS-Off Ver
    2010
    Posts
    10

    Re: Copy formula from one Workbook to another workbook

    Hello,
    @xlnitwit: as I wrote "...than 2 files arranged in one workbook spread over 2 screens out. " that's exactly what I told to my colleagues to do.
    @humdingaling : thanks for the info.

    This problem is a reason for some to keep using Quatro-pro.
    I guess they'll have to wait for an upgrade to 2013.
    Thanks you guys

  12. #12
    Registered User
    Join Date
    09-10-2015
    Location
    Sydney, Australia
    MS-Off Ver
    2010
    Posts
    3

    Re: Copy formula from one Workbook to another workbook

    ...not sure if feasible, but a thought that might be worth trying out.

    As you are probably aware, you can open up two Excel instances and have them on full screen on each monitor side by side.
    What if the Excel file is a shared file, which allows two users to make changes simultaneously?
    They can open the file in both instances (with drag and drop instead of double click)

    Not sure, if the changes are immediately visible...?

  13. #13
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Copy formula from one Workbook to another workbook

    Quote Originally Posted by clovis View Post
    Hello,
    @xlnitwit: as I wrote "...than 2 files arranged in one workbook spread over 2 screens out. " that's exactly what I told to my colleagues to do.
    I admit I did not follow that. One workbook is one file. You may only have two files in one workbook by embedding them which did not seem a relevant option. My apologies.

  14. #14
    Registered User
    Join Date
    06-20-2016
    Location
    Amsterdam
    MS-Off Ver
    2010
    Posts
    10

    Re: Copy formula from one Workbook to another workbook

    Hello guys,
    @xlnitwit : it's no problem. My wording is probably not 100% good English.
    @hvietkhoi : I'm not sure if an Excel shared file can be edited at the same time by several users.
    When an "MSOffice"-file is open, a lock is created to secure it from being edited by other users - I thought.
    Thanks to all,
    We'll be moving to Office 2016 in a short time.

  15. #15
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Copy formula from one Workbook to another workbook

    xlnitwit, essentially you open ONE instance of EXCEL. Then open BOTH files in it. THEN stretch the window to cover BOTH monitors, THEN you can put one file on each monitor within the ONE instance of excel. It is obnoxious but it works. Upgrade to 2013 and it is all taken care of natively.

  16. #16
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Copy formula from one Workbook to another workbook

    @mikeTRON,

    Of that, I am aware. It is in fact precisely what I suggested. What I had not understood was that that was what clovis had already suggested as a workaround to his/her users.

  17. #17
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Copy formula from one Workbook to another workbook

    Oh I misunderstood.

  18. #18
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Copy formula from one Workbook to another workbook

    You and I both, it seems!

  19. #19
    Registered User
    Join Date
    06-20-2016
    Location
    Amsterdam
    MS-Off Ver
    2010
    Posts
    10

    Re: Copy formula from one Workbook to another workbook

    moving to Office 2016.

+ 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. Assign name to Workbook, Copy range from one workbook to another workbook
    By jakopak in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-18-2015, 03:40 AM
  2. [SOLVED] Macro to find data in source workbook and copy paste to target workbook
    By D.Lovell in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 04-23-2014, 06:21 AM
  3. Copy data one workbook to another workbook without opening workbook
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-04-2014, 11:28 AM
  4. [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
  5. [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
  6. Replies: 1
    Last Post: 04-01-2006, 03:50 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