+ Reply to Thread
Results 1 to 2 of 2

Copy Paste Conditional Formatting

  1. #1
    Registered User
    Join Date
    Kaiserslautern, Germany
    MS-Off Ver

    Copy Paste Conditional Formatting

    I am using the following VBA code to copy and paste the conditional formatting formula in cell Q4 to the last row in column Q. After pasting for example in cells Q5 to Q10, the 'Formula1' only changes correctly in Q5 and remains 'ISTEXT(Q5)),Q5>3' all the way down to cell Q10. I don't understand why it doesn't change to match the row number when pasted (e.g. Formula1 in cell Q9 should be 'ISTEXT(Q9)),Q9>3'). I can manually copy and paste one cell at a time down column Q and it works, but it doesn't work with the PasteSpecial. I hope this makes sense and would appreciate the help from any experts who have experienced this and know how to fix it. Thank you very much.

    Please Login or Register  to view this content.
    Last edited by JBeaucaire; 03-10-2016 at 05:31 PM. Reason: Added missing CODE tags. Please read and follow the Forum Rules, link above in the menu bar. Thanks.

  2. #2
    Administrator JBeaucaire's Avatar
    Join Date
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365

    Re: Copy Paste Conditional Formatting

    There's no need to copy/paste, if you're adding the CF to one row, you can add it to all at the same instance:
    Please Login or Register  to view this content.
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    “None of us is as good as all of us” - Ray Kroc
    “Actually, I *am* a rocket scientist.” - JB (little ones count!)

+ 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. [SOLVED] Copy and paste without Conditional Formatting
    By rizmomin in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-17-2015, 01:38 AM
  2. Copy/Paste - without Conditional Formatting
    By timothyjquinn in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-18-2013, 01:12 PM
  3. [SOLVED] Copy & paste conditional formatting?
    By Ltat42a in forum Excel General
    Replies: 15
    Last Post: 10-02-2012, 01:55 AM
  4. Excel 2007 : conditional formatting: Copy/Paste
    By blizz in forum Excel General
    Replies: 4
    Last Post: 04-07-2011, 08:57 AM
  5. Conditional Formatting Copy & Paste
    By adam2308 in forum Excel General
    Replies: 2
    Last Post: 06-07-2010, 06:03 PM
  6. [SOLVED] Copy paste Conditional Formatting
    By Bud Hughes in forum Excel General
    Replies: 3
    Last Post: 10-01-2005, 07:05 PM
  7. [SOLVED] Copy Paste Conditional Formatting
    By Bud Hughes in forum Excel General
    Replies: 6
    Last Post: 10-01-2005, 10:05 AM

Tags for this Thread


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