+ Reply to Thread
Results 1 to 10 of 10

Copy Cell.Font.Color from Sheet A to corresponding Sheet B

  1. #1
    Registered User
    Join Date
    03-06-2009
    Location
    Nebraska City, NE
    MS-Off Ver
    Excel 2007
    Posts
    30

    Exclamation Copy Cell.Font.Color from Sheet A to corresponding Sheet B

    I cannot seem to get this figured out!! I have posted this same question at MrExcel.com (http://www.mrexcel.com/forum/showthr...he-Linked-Cell) to no avail.

    What I need (in my own pseudocode) is:
    Please Login or Register  to view this content.
    I apologize. I am at the very, very beginning of learning code, but right now we're only studying Java so I'm getting myself confused with the VBA; and I can't seem to find what I need by Googling it. Any help would be soooo much appreciated!
    Last edited by chelseasikoebs; 08-03-2012 at 11:50 PM.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,598

    Re: Copy Cell.Font.Color from Sheet A to corresponding Sheet B

    Please Login or Register  to view this content.
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    03-06-2009
    Location
    Nebraska City, NE
    MS-Off Ver
    Excel 2007
    Posts
    30

    Re: Copy Cell.Font.Color from Sheet A to corresponding Sheet B

    Thank you! Does this code just get the font and cell color information? How would I then apply that information to the other sheet?

  4. #4
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,598

    Re: Copy Cell.Font.Color from Sheet A to corresponding Sheet B

    maybe like this:
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    03-06-2009
    Location
    Nebraska City, NE
    MS-Off Ver
    Excel 2007
    Posts
    30

    Thumbs up Re: Copy Cell.Font.Color from Sheet A to corresponding Sheet B

    OMG!!! Yes! That worked!! AWESOME!! You're a life-saver!! THANK YOU SO MUCH!!!!!!!!!!!!!

  6. #6
    Registered User
    Join Date
    01-07-2013
    Location
    Honoulu, Hi
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Copy Cell.Font.Color from Sheet A to corresponding Sheet B

    I'm having the same issue. Where do post these codes in VBA? My VBA knowledge is little to none.

  7. #7
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Copy Cell.Font.Color from Sheet A to corresponding Sheet B

    excelnoob808,

    Copy the Excel VBA code
    Select the workbook in which you want to store the Excel VBA code
    Hold the Alt key, and press the F11 key, to open the Visual Basic Editor
    Choose Insert | Module
    Where the cursor is flashing, choose Edit | Paste

    To run the Excel VBA code:
    Choose View | Macros
    Select a macro in the list, and click the Run button
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  8. #8
    Registered User
    Join Date
    01-07-2013
    Location
    Honoulu, Hi
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Copy Cell.Font.Color from Sheet A to corresponding Sheet B

    Thanks Arlette... I made a little bit of progress. I'm trying to copy the font color from a range of cells and now I'm getting an error with the FontColor. Is that range not possible?

    With Sheets("Sheet2").Range("C8:I8")
    FontColor = .Font.Color
    BkGrndClr = .Interior.Color

  9. #9
    Registered User
    Join Date
    01-07-2013
    Location
    Honoulu, Hi
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Copy Cell.Font.Color from Sheet A to corresponding Sheet B

    Disregard, I figured it out. Thanks again!

  10. #10
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,598

    Re: Copy Cell.Font.Color from Sheet A to corresponding Sheet B

    excelnoob808,
    Welcome to the Forum, unfortunately:

    Your post does not comply with Rule 2 of our Forum RULES. Don't post a question in the thread of another member -- start your own thread. If you feel it's particularly relevant, provide a link to the other thread. It makes sense to have a new thread for your question because a thread with numerous replies can be off putting & difficult to pick out relevant replies.

+ 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