Excel 2003 : Group By

L

Lakshmi

Hello All,

After upgradation of Ms Office to 2003.
I was suppose to group the data, based on first Column, second column and
then on third column. But the grouping is skipping few lines..

First Grouping is happening properly , from second onwards is the problem.My
macro is having these 3 lines .
"This was working fine in Excel 97".

Selection.Subtotal GroupBy:=1, Function:=xlSum, TotalList:=Array(5, 6, 7, _
8, 9, 10, 11, 12, 13), Replace:=False
Selection.Subtotal GroupBy:=2, Function:=xlSum, TotalList:=Array(5, 6, 7, _
8, 9, 10, 11, 12, 13), Replace:=False
Selection.Subtotal GroupBy:=3, Function:=xlSum, TotalList:=Array(5, 6, 7, _
8, 9, 10, 11, 12, 13), Replace:=False

Regards,
Lakshmi
 
D

Dave Peterson

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top