+ Reply to Thread
Results 1 to 2 of 2

How to Change Pasted Data Format in Macro

  1. #1
    Registered User
    Join Date
    05-27-2008
    Posts
    15

    How to Change Pasted Data Format in Macro

    Hi there guys, this is a followup to the same spreadsheet used in the following thread:

    http://www.excelforum.com/showthread...92#post1933992

    When my macro pastes the scores from my one sheet into the other,
    it pastes the cells with the same formatting they had on the previous(original) sheet, for ex: the cells are highlighted in red or orange. One color is the color that the cell is filled in with, for aesthetics only, but the other is a conditional format.

    Altho this is not a big deal it sort of looks odd/bad.

    Is there any way I can add something to the end of the macro so that it wipes out the conditonal formatting or other formatting of items pasted into the Audit Log?

    Is it possible to only change the format of those things that are pasted or would it have to change format of everythign in the audit log?

    Thanks

  2. #2
    Forum Expert
    Join Date
    01-03-2006
    Location
    Waikato, New Zealand
    MS-Off Ver
    2010 @ work & 2007 @ home
    Posts
    2,243
    hi,

    The first step for learning to answer your own questions (& sometimes make it easier for potential helpers) should be to record a macro ([alt + t + m + r]) of the steps taken when you do whatever you do and then reviewing/tweaking the resulting code.

    1)
    In this case the relevant lines of code you would see are:
    Please Login or Register  to view this content.
    2)
    Change "selection" to your required range & you should be all go...

    hth
    Rob
    Rob Brockett
    Kiwi in the UK
    Always learning & the best way to learn is to experience...

+ 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