+ Reply to Thread
Results 1 to 1 of 1

Conditional formatting of a userform in VBA

  1. #1
    Registered User
    Join Date
    07-30-2009
    Location
    Vancouver, British Columbia
    MS-Off Ver
    Excel 2010
    Posts
    46

    Talking Conditional formatting of a userform in VBA

    Hi everyone,

    I have a VBA user-form that contains a check-list. I'm trying to figure out how to have that check-list change/alter based on certain cell data.

    So suppose that the check-list has 10 options, and I have data in cells A1 through A10. What I would want is something akin to the following:

    Example #1:
    If cellls A1 - A5 contain data, then options 1 - 5 in the checklist turn red (as in the text turns red).

    Example #2:
    If the following cells contain data: A1, A3, A4, A8, and A10; then the following options in the checklist should turn red: 1, 3, 4, 8, and 10.

    I'm just trying to figure out the basic premise as to how to do that; from there on I can expand on it and tweak it for my specific needs.

    Any ideas

    Cheers,

    - I Love Lagar -

    (PS. I actually love Guinness, which is a Stout, but "I Love Lagar" flows much better than "I Love Stout" )
    Last edited by ilovelagar; 09-22-2009 at 08:45 AM. Reason: 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