Cells.Select
Selection.Sort Key1:=Range("K2"), Order1:=xlAscending, Header:=xlYes
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom
THE ABOVE CODE PUTS THE VALUES IN THE COLUMN IN ASCENDING ORTDER. NOW
WANT TO HAVE A SUM OF THE NEGATIVE VALUES AND POSITIVE VALUES...how do
do that ?
eg:
-9
-6
-4
-19----------------------total
2
5
7
8
22-------------------------total
i need to insert the totals and make them bold ..
any clue ??????
--
Message posted from
http://www.ExcelForum.com