+ Reply to Thread
Results 1 to 2 of 2

Changing Cell Backround from Marco

  1. #1
    Registered User
    Join Date
    11-02-2005
    Posts
    7

    Changing Cell Backround from Marco

    I need to know the command(s) to change the backround color of a cell from a VBA marco.



    Not Important but I feel like typing
    I'm writing code into the change event of a spreed sheet to automaticly compare a few dates refer to when things have happened and if they get too far off make a cell red so it's clear I should get the info to update this.

  2. #2
    Gary Keramidas
    Guest

    Re: Changing Cell Backround from Marco

    this would make a1 light blue

    Sub test()
    Range("a1").Interior.ColorIndex = 37

    End Sub

    --


    Gary


    "davep1553" <[email protected]> wrote
    in message news:[email protected]...
    >
    > I need to know the command(s) to change the backround color of a cell
    > from a VBA marco.
    >
    >
    >
    > Not Important but I feel like typing
    > I'm writing code into the change event of a spreed sheet to automaticly
    > compare a few dates refer to when things have happened and if they get
    > too far off make a cell red so it's clear I should get the info to
    > update this.
    >
    >
    > --
    > davep1553
    > ------------------------------------------------------------------------
    > davep1553's Profile:
    > http://www.excelforum.com/member.php...o&userid=28517
    > View this thread: http://www.excelforum.com/showthread...hreadid=503751
    >




+ 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