Results 1 to 4 of 4

Copy Formulas

This is a discussion on Copy Formulas within the Excel Questions forums, part of the Question Forums category; Hi, here is my problem and I hope someone can help: I want to copy a specific range in a ...

  1. #1
    Board Regular
    Join Date
    Mar 2003
    Posts
    59

    Default Copy Formulas

    Hi,

    here is my problem and I hope someone can help:

    I want to copy a specific range in a sheet with all the formulas to an other Excelfile.
    So far so good, here my problem begins.
    I don't want the formulas to be connected to the source sheet but to the cells in the sheet in the new file.
    Is it possible to do so with Excel 97?

    I tried copy sheet / copy paste / copy pastespecial formulas / copy pastespecial values / copy pastespecial all

    It was all the same (except for values). Excel allways connect the formular to the source file.

    I hope somebody can help.
    Thanks in advance...

  2. #2
    Board Regular
    Join Date
    Jul 2002
    Location
    Milton Keynes, England
    Posts
    10,850

    Default Re: Copy Formulas

    Change the formulae to text, then copy and paste then convert them all back to formulae.

    To do this select the formulae, do Edit/Replace and change = to # and press Replace All. This changes all the formulae to text, so then do the copy and paste.

    Select your copied text, and do Edit/Replace changing # to = pressing Replace All, and hey presto you now have formulae again. Remember to change back your source cells as well.

    Cheers, Glenn.

  3. #3
    Board Regular
    Join Date
    Mar 2003
    Posts
    59

    Default Re: Copy Formulas

    Thanks for the quick reply.

    Works really great, but if someone knows a quicker easier, much more comfortable work, feel free to tell me...

  4. #4
    Board Regular
    Join Date
    Mar 2003
    Posts
    59

    Default Copy Formulas

    Okay, doesn't work the way I wanted it.

    I cannot change the '#' back to '=' via macro.

    But I can copy the formulas by:

    Code:
    destinationcell.formular1c1 = sourcecell.formular1c1
    Works nice, but isn't as quick as replaceall.

    I have opened the replacedialog via macro but it didn't the same job as the replace-dialog you can open in the menu.
    Strange :o

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
  •  


DMCA.com