LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 334
Default Macro to automatically add column values when number of rows chang

New to VBA.
I have an Excel 2000 file that contains 3 columns with red,yellow,green
background fill which is not based on conditional formatting(manual). I want
to total the number of each color in each column. (columns C,D,E). I only
want certain rows in a rnage; not all rows.
The problem is the number of rows could change (adding or deleting rows).
The results of the counts I want to store in rows/columns at the bottom of
the sheet but the row location keeps changing.
The challenge is to pick a starting and ending row based on some criteria to
search for. I could put in a character in the row/column before and after to
determine the range.
I've looked at dynamic named ranges but it seems confusing to me.

Thanks,
--
Rick
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I number rows based on unique values in another column? Carla Excel Worksheet Functions 4 January 7th 10 06:03 AM
columns and rows labeled the same (cell 1-1 vs a-1) how do I chang Wendy Excel Discussion (Misc queries) 7 February 13th 09 07:08 PM
Macro for Fill Down where number of rows differs and without havingto hardcode column ranges [email protected] Excel Programming 3 December 10th 07 08:18 AM
How to copy values in various rows automatically Me Excel Discussion (Misc queries) 5 March 7th 05 05:09 PM
How to break up a column in a bar graph if I do not want to chang. Krlinhos Charts and Charting in Excel 2 January 7th 05 04:10 AM


All times are GMT +1. The time now is 12:40 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"