+ Reply to Thread
Results 1 to 4 of 4

Copy interior color with no conditional formatting

  1. #1
    Registered User
    Join Date
    01-13-2015
    Location
    ITALY
    MS-Off Ver
    2010
    Posts
    11

    Copy interior color with no conditional formatting

    Ciao Guys!

    I need help. Is there any way to copy and paste just the interior color of a selection without conditional formatting of the selection?

    If I use

    Cells(Riga, Colonna).PasteSpecial xlPasteFormats

    it copies just also the conditional formatting of the selection, so it doesn't work.


    I have this:

    Sub SalvaStato()
    If Cells(1, 34) <> 0 Then
    Worksheets("AttivitąGiorno").Activate
    fine = Cells(1, 34)
    For i = 4 To fine + 3
    Worksheets("AttivitąGiorno").Cells(i, 8).Copy
    Riga = Cells(i, 33)
    Colonna = Cells(i, 34)
    Worksheets("Diario").Cells(Riga, Colonna).PasteSpecial xlPasteFormats
    Next
    End If
    End Sub

    Thank you all very much!!!

    Serry :-)

  2. #2
    Registered User
    Join Date
    01-13-2015
    Location
    ITALY
    MS-Off Ver
    2010
    Posts
    11

    Re: Copy interior color with no conditional formatting

    Ciao Guys!

    I need help. Is there any way to copy and paste just the interior color of a selection without conditional formatting of the selection?

    If I use

    Cells(Riga, Colonna).PasteSpecial xlPasteFormats

    it copies just also the conditional formatting of the selection, so it doesn't work.


    I have this:





    Please Login or Register  to view this content.

    Thank you all very much!!!

    Serry :-)

  3. #3
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Copy interior color with no conditional formatting

    Post deleted.
    Last edited by Winon; 02-17-2015 at 10:43 AM. Reason: Code tags were added
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  4. #4
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Copy interior color with no conditional formatting

    This will pass the interior color from A2 to A6. (ie one range to another). Hope that helps.

    Please Login or Register  to view this content.

+ 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] Conditional Formatting like Color Scale but doing it via Interior.Color
    By Hyflex in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-04-2015, 06:36 AM
  2. [SOLVED] How To Check Interior Color Set By Conditional Formatting?
    By hhost in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-07-2013, 07:33 AM
  3. [SOLVED] Conditional formatting interior color from comparing two cell values VBA
    By Blue_Diamond in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-27-2012, 11:24 AM
  4. Conditional Interior Color
    By Chris1201 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-21-2010, 02:19 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