+ Reply to Thread
Results 1 to 4 of 4

Macro which sums up equally colored cells

  1. #1
    Registered User
    Join Date
    12-01-2013
    Location
    Moscow
    MS-Off Ver
    Excel 2010
    Posts
    1

    Macro which sums up equally colored cells

    Dear forum residents,

    I am completely new to VBA, and now I have to write a macro which finds equally colored cells (into which random numbers are inserted), sums them up (each color separately) and expresses the results into the column specified in the same particular sheet, sum of each color into particular cell. The only condition is that although I made 7x7 table of color cells (for the comfort), the area where the program searches for color cells has actually no limits (on this sheet). I just started to learn VBA and I have only 3 days to solve this issue. Therefore could anyone please direct me to the textbook chapter, topic or tutorial where I could learn the commands necessary to complete this task, or give an advice where to start. Since I am not the programmer, I am completely lost (but Id like to learn!)

    best regards
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    11-26-2013
    Location
    Colac, Victoria, Australia
    MS-Off Ver
    Excel 2016
    Posts
    1,309

    Re: Macro which sums up equally colored cells

    I can't really point you to any particular reference, as I am pretty much self taught from sites like this, but I have attached a small macro which might give you a clue.

    Hope this helps.


    excel001 SUMFMT example.xlsm

  3. #3
    Forum Contributor
    Join Date
    08-17-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    132

    Re: Macro which sums up equally colored cells

    Hi Marina,

    Hope code below will work for given task

    Please Login or Register  to view this content.
    Regards,
    BS

  4. #4
    Forum Contributor
    Join Date
    03-28-2013
    Location
    *
    MS-Off Ver
    Excel 2010
    Posts
    226

    Re: Macro which sums up equally colored cells

    Please Login or Register  to view this content.
    Last edited by venkatpvc; 12-01-2013 at 09:06 PM. Reason: change code
    Give Feedback and Click(*)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 11-09-2013, 02:43 AM
  2. Need a Macro to Return Counts of Colored Cells
    By Cansa in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-09-2013, 11:52 AM
  3. Get Count of Colored Cells with Macro
    By Cansa in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-03-2013, 11:58 AM
  4. Modify macro to count colored cells
    By headbanger51 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-15-2008, 05:51 PM
  5. Have blocks of blue colored cells ... want them surrounded by lavender-colored cells
    By rocket1406 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 07-01-2007, 03:59 PM

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