Results 1 to 3 of 3
  1. #1
    4 Star Lounger
    Join Date
    Mar 2005
    Location
    Leicestershire, United Kingdom
    Posts
    506
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Conditional Formatting (2000)

    Hi,

    After a previous post about the subject, I have the following query.

    We have a very small memo field, which has a command button next to it with the following code to zoom into the text

    Me!Comments.SetFocus
    SendKeys "+{F2}"

    The comments field is a small square. Basically if the comments box has text in it I want the background colour to be green. If the comments box has not got text in, then I want it to be red.

    What is the best way to achieve this?
    Best Regards,

    Luke

  2. #2
    Gold Lounger
    Join Date
    Feb 2001
    Location
    Sint Niklaas, Belgium
    Posts
    2,778
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Conditional Formatting (2000)

    Use the following condition :
    Attached Images Attached Images
    Francois

  3. #3
    4 Star Lounger
    Join Date
    Mar 2005
    Location
    Leicestershire, United Kingdom
    Posts
    506
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Conditional Formatting (2000)

    thanks once again.
    Best Regards,

    Luke

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •