+ Reply to Thread
Results 1 to 5 of 5

Copy Macro not copying custom formats?

  1. #1
    Forum Contributor
    Join Date
    02-04-2011
    Location
    Cape Town
    MS-Off Ver
    MS 365 Apps for Business
    Posts
    111

    Copy Macro not copying custom formats?

    Hi Guys

    I wonder if someone might be able to assist. I have a workbook, with a macro (which one of the members helped me with) to copy the existing page and change the sheet name. It all works well, except, on the new sheet resulting from the copy, the custom formats have not been copied?

    Appreciate some help. Workbook attached.
    Attached Files Attached Files
    Last edited by markvdh; 03-31-2011 at 11:28 AM.

  2. #2
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,973

    Re: Copy Macro not copying custom formats?

    What formats are you referring to? The copy looks exactly the same to me (as it should since you copied the whole sheet)
    Everyone who confuses correlation and causation ends up dead.

  3. #3
    Forum Contributor
    Join Date
    02-04-2011
    Location
    Cape Town
    MS-Off Ver
    MS 365 Apps for Business
    Posts
    111

    Re: Copy Macro not copying custom formats?

    I'm referring to the custom formating of, for example, the negative values in cell D11 goes from a format of (458,685) to -458,685 or from custom format ##,##0_);(#,##0) to custom format #,##0;-#,##0. Maybe I'm missing something here?

  4. #4
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,973

    Re: Copy Macro not copying custom formats?

    OK, I see that in 2003 (in 2010 it works fine). Try this:
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    02-04-2011
    Location
    Cape Town
    MS-Off Ver
    MS 365 Apps for Business
    Posts
    111

    Re: Copy Macro not copying custom formats?

    That works fine. Thank you

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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