+ Reply to Thread
Results 1 to 2 of 2

Conditional Formatting

  1. #1
    Registered User
    Join Date
    08-19-2007
    Posts
    28

    Conditional Formatting

    Hi all,

    I have a workbook with 4 sheets in it,

    on sheet 1, I have a range of cells G17:X20 with a conditional format set to them, which is depending on the data set in cells G16:X16.

    I have been using the following code to transfer the data from sheet 1 to sheet 3 (next available blank cell)


    Sheets("SHEET 1").Range("G17:X20").Copy Destination:=Sheets("SHEET 3").Cells(65536, 6).End(xlUp).Offset(1, 0)


    which works fine, until the information on sheet 1 G16:X16 changes, and then the conditional formatting which was previously set on sheet 1, on sheet 3 also changes.

    What I would like is an adittion to the above code which will once the data has been copied over lock the conditional format into sheet 3 so that it does not change as sheet 1's data changes.

    Any idea's please

    many thanx

    Steve (another day of upward learning)

  2. #2
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    Please read forum rules & wrap your VBA code - see links below for rules

    http://www.excelforum.com/showthread.php?t=591596

    If you do not understand the VBA code wrap instructions have a look at my last reply in this thread
    http://www.excelforum.com/showthread.php?t=583950
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

+ 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