Results 1 to 2 of 2
  1. #1
    mm07nkb is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Sep 2011
    Posts
    4

    Exclamation Conditional Formatting

    Hi,

    I have an unbound textbox that I want to apply conditional formatting to.

    I have a listbox and when certain rows are highlighted in the listbox I want my unbound textbox to turn grey scale.

    My listbox is sourced from a seperate table.



    Any help would be greatly appreciated!!

    Im on Access 2007

    Thanks

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    go to your unbound text box, click on the conditional formatting

    In the first box put EXPRESSION IS
    in the second box put
    [ListBoxName] = "TextValue"
    or
    in the second box put
    [ListBoxName] = NumberValue

    where listbox name is the name of your list box and textvalue is the value of the text OR numbervalue (no " marks) if it's a numeric value.

    set your conditional formatting values (back ground color)

    Note this will only work if you are using the bound column of the list box

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Conditional Formatting
    By Desstro in forum Programming
    Replies: 3
    Last Post: 12-01-2010, 09:52 PM
  2. conditional formatting right(..)
    By bbeernaert in forum Access
    Replies: 3
    Last Post: 08-25-2010, 12:33 AM
  3. Conditional Formatting
    By DanOzDirect in forum Reports
    Replies: 3
    Last Post: 07-21-2010, 08:49 PM
  4. Conditional Formatting
    By cevatyildiz in forum Forms
    Replies: 8
    Last Post: 04-30-2010, 12:01 PM
  5. Conditional formatting
    By ylivne in forum Reports
    Replies: 1
    Last Post: 07-12-2009, 06:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums