+ Reply to Thread
Results 1 to 5 of 5

Copy interior color, font color from one sheet to another

  1. #1
    Registered User
    Join Date
    02-28-2019
    Location
    Turkey
    MS-Off Ver
    2016
    Posts
    5

    Copy interior color, font color from one sheet to another

    Hi,

    I need help.

    How can I copy everything (color, font, etc) from one sheet to another.

    Ex. (File attach)

    If I copy "Title Guide" C5 to "Schedule" C10.
    I want "Schedule" A10, B10, D10, E10, F10, G10 and H10 to have the same color and font from "Schedule" C10

    "Schedule" A18, B18, D18, E18, F18, G18 and H18 to have the same color and font from "Schedule" C18 and so on.


    Problem is "Schedule" already have formula in it cells.

    I try to use this VBA and it works for me but I cant do it till like "A500:H500" because it says "Compile error: Procedure too large"

    Please Login or Register  to view this content.
    Last edited by davesexcel; 04-23-2019 at 09:04 AM.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481

    Re: Copy interior color, font color from one sheet to another

    Loop through the cells
    Please Login or Register  to view this content.
    Should

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,807

    Re: Copy interior color, font color from one sheet to another

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not provided the required cross-post link(s) here.

    Read this to understand why we (and other sites like us) consider this to be important.

    (Note: this requirement is not optional. As you are new here, I shall post the link for you this time.)

    http://www.vbaexpress.com/forum/show...eet-to-another
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Registered User
    Join Date
    02-28-2019
    Location
    Turkey
    MS-Off Ver
    2016
    Posts
    5

    Re: Copy interior color, font color from one sheet to another

    Quote Originally Posted by AliGW View Post
    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not provided the required cross-post link(s) here.

    Sorry about that. I post to the other link because I cant attach a file in this forum but in the other forum I can.
    Last edited by Rashidz70; 04-24-2019 at 03:16 AM.

  5. #5
    Registered User
    Join Date
    02-28-2019
    Location
    Turkey
    MS-Off Ver
    2016
    Posts
    5

    Re: Copy interior color, font color from one sheet to another

    Quote Originally Posted by davesexcel View Post
    Loop through the cells
    Please Login or Register  to view this content.
    Should
    Thank you so much. It works.
    Last edited by Rashidz70; 04-24-2019 at 09:32 AM.

+ 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] Font Color change based on Cell Interior.ColorIndex changes
    By JJFletcher in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-20-2017, 02:09 PM
  2. [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
  3. Find a duplicate and then use the duplicates interior.color to change cell color.
    By bopsgtir in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-01-2012, 03:54 PM
  4. Change cell's interior color and font
    By tim5 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-22-2011, 06:21 AM
  5. font color equals interior color
    By glenness in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-12-2009, 03:47 PM
  6. Cell background color (interior color) setting not working
    By Martin E. in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-21-2006, 02:10 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