+ Reply to Thread
Results 1 to 3 of 3

cell colour change

  1. #1
    anthony
    Guest

    cell colour change

    could some one please tell me how in a visual basic macro i can change the
    background colour of a cell.



  2. #2
    Sunil Jayakumar
    Guest

    Re: cell colour change

    Hi Anthony,

    You can try:

    ActiveCell.Interior.ColorIndex = x

    where x is the colour reference (6 is yellow)

    Hope this helps

    Warm regards

    Sunil Jayakumar

    "anthony" <[email protected]> wrote in message
    news:[email protected]...
    > could some one please tell me how in a visual basic macro i can change the
    > background colour of a cell.
    >
    >


    www.ayyoo.com/credit-cards.html



  3. #3
    Bob Phillips
    Guest

    Re: cell colour change

    activecell.interior.colorindex = 3

    sets it to red

    --
    HTH

    Bob Phillips

    "anthony" <[email protected]> wrote in message
    news:[email protected]...
    > could some one please tell me how in a visual basic macro i can change the
    > background colour of a cell.
    >
    >




+ 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