Results 1 to 13 of 13

Detecting a paste of data that breaks the current color scheme and repairing color scheme

Threaded View

  1. #1
    Forum Contributor
    Join Date
    09-07-2010
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    358

    Detecting a paste of data that breaks the current color scheme and repairing color scheme

    Hi Guys,

    The thing I am wanting to do is much easier to explain with an example, please download the attachment and have a look.

    If you paste in a large chunk of data into the sheet, the document looks a complete mess and it breaks the color scheme, doesn't fix the formulas in N to O nor does it fix the border.
    If you paste say 4 lines of data into the sheet the document gets confused and again doesn't look very good, you'll have a messed up sheet in terms of color, formula and just general appearance.

    A copy of the color scheme, is avaliable in a hidden row 2 and a copy of the formula is avaliable in N and O on row 2 aswell.

    An example of how to apply the formula is in the current macro that runs

    An example of how to apply the color scheme from row 2 would be something like: Range("A2:T2").Copy: Range("A3:T" & LastRow).PasteSpecial xlPasteFormats

    Please see the attachment for a MUCH clearer example

    Thanks in advance
    Attached Files Attached Files
    Last edited by Hyflex; 08-21-2014 at 06:16 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Color Scheme Help
    By rzacharia21 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-26-2012, 11:59 PM
  2. color scheme for charts
    By Barry Au in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 11-29-2007, 12:37 PM
  3. Color Scheme
    By bdaoust@yahoo.com in forum Excel General
    Replies: 4
    Last Post: 08-14-2006, 01:45 AM
  4. Color Scheme Trouble
    By jlongton@gmail.com in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-23-2006, 04:50 AM
  5. [SOLVED] Color scheme trouble
    By jlongton@gmail.com in forum Excel General
    Replies: 6
    Last Post: 05-16-2006, 02:45 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