+ Reply to Thread
Results 1 to 3 of 3

Unable to set ColorIndex font property?

  1. #1
    Registered User
    Join Date
    11-19-2004
    Posts
    16

    Unable to set ColorIndex font property?

    Can someone please tell me why this won't work or at least a way to accomplish the same thing. Basically, I'm trying to hide unneeded data by making the font the same color as the cell:

    Please Login or Register  to view this content.
    As a side note, I have no trouble doing this if I use a pre-determined color:

    Please Login or Register  to view this content.
    Last edited by FuzzyDove; 02-03-2009 at 12:41 PM.

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Unable to set ColorIndex font property?

    Please use code tags in future.

    The interior colorindex is probably xlNone (-4142) which is not a valid colorindex for the font.

    Please Login or Register  to view this content.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Forum Expert
    Join Date
    10-10-2008
    Location
    Northeast Pennsylvania, USA
    MS-Off Ver
    Excel 2007
    Posts
    2,387

    Re: Unable to set ColorIndex font property?

    FuzzyDove,

    To test, click on a cell with data, click on Format, Cells, Custom, and enter ;;;
    then click on the "OK" button.

    Try:

    Please Login or Register  to view this content.

    Have a great day,
    Stan
    Have a great day,
    Stan

    Windows 10, Excel 2007, on a PC.

    If you are satisfied with the solution(s) provided, please mark your thread as Solved by clicking EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

+ 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