+ Reply to Thread
Results 1 to 5 of 5

Copying a worksheet to a new worksheet and formula randomly not staying in tact

  1. #1
    Registered User
    Join Date
    06-26-2015
    Location
    Texas, USA
    MS-Off Ver
    2010
    Posts
    4

    Question Copying a worksheet to a new worksheet and formula randomly not staying in tact

    I searched and could not find this answer though it seems like it would be a common question. So, if it already exists I am sorry-I couldn't find it. I am trying to copy a whole worksheet which contains formatting and formulas into a whole new worksheet. I did it with one and the formulas still calculate-but when I did it again to another worksheet the formulas stop calculating. Any ideas what I may be doing wrong?

    Thanks!

  2. #2
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Copying a worksheet to a new worksheet and formula randomly not staying in tact

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  3. #3
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Copying a worksheet to a new worksheet and formula randomly not staying in tact

    Does the worksheet have any Names defined? Check if Names exist using 'Name Manager' on the 'Formulas' tab. You can see if Names are being used in formulae by clicking 'Show Formulas' on the same tab - this will change all the cells on the worksheet to show the formulae in use - look for formulae containing things like =Sales*2 instead of =C5*2.
    Names can either be file-wide (a scope of 'Workbook') or sheet-specific. The first means that you can refer to the Name from any sheet and it always refers to the same cell/range. The second can only be referred to from the sheet it's on - so you can have 'JanuaryTotal' on multiple sheets, for example.
    Copying a worksheet with Names can sometimes do funny things to the scopes of Names, which will then affect your results.
    Regards,
    Aardigspook

    I recently started a new job so am a bit busy and may not reply quickly. Sorry - it's not personal - I will reply eventually.
    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark this Thread as Solved'.
    If you use commas as your decimal separator (1,23 instead of 1.23) then please replace commas with semi-colons in your formulae.
    You don't need to give me rep if I helped, but a thank-you is nice.

  4. #4
    Registered User
    Join Date
    06-26-2015
    Location
    Texas, USA
    MS-Off Ver
    2010
    Posts
    4

    Re: Copying a worksheet to a new worksheet and formula randomly not staying in tact

    Thank you both! To the request to post a picture it wouldn't help because it is the calculations that aren't always transferring over so that cannot be captured except to show when it does vs. doesn't work but you won't know if I just simply typed the numbers in to the other reply-I will check on that and see if that's it.

    Thank you both! I appreciate your quick help

  5. #5
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Copying a worksheet to a new worksheet and formula randomly not staying in tact

    We DON'T want a picture. We would like to have a workbook with your problem so that we can work with it.

+ 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. randomly entering strings from one worksheet to another
    By lbesley in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-10-2014, 11:13 AM
  2. Workbook closing but worksheet staying active??
    By jimmyj2000 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-12-2013, 01:46 AM
  3. Replies: 3
    Last Post: 10-16-2012, 09:02 AM
  4. Randomly sample 30 columns from worksheet input and print them in worksheet Output
    By Savan87 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-05-2012, 01:00 PM
  5. [SOLVED] Copying selected cells from multiple rows and columns from worksheet to worksheet
    By janlindgren in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-25-2012, 02:58 AM
  6. How to sort worksheet data keeping rows in tact
    By lea147 in forum Excel General
    Replies: 3
    Last Post: 05-10-2008, 05:43 PM
  7. Replies: 1
    Last Post: 03-09-2006, 04:00 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