+ Reply to Thread
Results 1 to 2 of 2

cell color adjustment using vba

  1. #1
    Registered User
    Join Date
    08-11-2005
    Posts
    1

    cell color adjustment using vba

    My dear!
    There are 12 columns(months). 50 rows each column.
    Each is marked by its own color. SAy cell G5 data ( in January) is marked green and i need to transfer cell data to H5 (Feb)blue.
    I need the cell color(green) be changed for (blue) automatically. So at the whole table.

    How can i do it using VBA ? Or something else. Help me please.
    Serge.

  2. #2
    Bob Phillips
    Guest

    Re: cell color adjustment using vba

    Is it as simple as?

    For Each cell In Range("G5:G54")
    cell.Offset(0,1).value = cell.value
    cell.Offset(0,1).interior.Colorindex = 5
    Next cell

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Kaibutsu" <[email protected]> wrote in
    message news:[email protected]...
    >
    > My dear!
    > There are 12 columns(months). 50 rows each column.
    > Each is marked by its own color. SAy cell G5 data ( in January) is
    > marked green and i need to transfer cell data to H5 (Feb)blue.
    > I need the cell color(green) be changed for (blue) automatically. So
    > at the whole table.
    >
    > How can i do it using VBA ? Or something else. Help me please.
    > Serge.
    >
    >
    > --
    > Kaibutsu
    > ------------------------------------------------------------------------
    > Kaibutsu's Profile:

    http://www.excelforum.com/member.php...o&userid=26168
    > View this thread: http://www.excelforum.com/showthread...hreadid=394867
    >




+ 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