+ Reply to Thread
Results 1 to 4 of 4

Formatting in Excel with a function

  1. #1
    Registered User
    Join Date
    09-16-2009
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    16

    Formatting in Excel with a function

    Hello,

    Apologies if this is not properly placed within the formus.

    I'd like to know how to create a rule or formula within the formatting section that will recognize the highlighting for the account numbers on the Accounts worksheet, and apply the same highlighting to columns A:K and AL:AP on Sheet 1.

    Is that even possible with a formula?
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Formatting in Excel with a function

    there are no regular formulas or functions that will identify colors or text formatting in a cell.

    how was the highlighting applied in the 1st place? if it was done through conditional formatting, or through so logic that can be programmed, then we can possibly base the new formatting on that?

    edit: ok I see from your file that CF was not used, and the shading seems to be "random"

    unless some1 (else) can suggest some VBA coding (and if you are prepared to use that), then I'm afraid you are kinda stuck
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Formatting in Excel with a function

    Copy the below code
    Open the workbook in which you want to add the 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
    Close the Visual Basic Editor window to return to excel

    To run the code:
    Press Alt+F8 and select ColorMe and click Run

    Please Login or Register  to view this content.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  4. #4
    Registered User
    Join Date
    09-16-2009
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: Formatting in Excel with a function

    Genius! Excellent solution to the posted question. Thank you VERY much! This is awesome!

+ 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