List subtotals

S

Super Slueth

Hi

I'm using the following code to generate subtotals from a list
is there anyway I can find the cell reference (R1C1) of each
generated subtotal

Columns("K:L").Select
Selection.Subtotal GroupBy:=1, Function:=xlSum,
TotalList:=Array(2), Replace:=True, PageBreaks:=False,
SummaryBelowData:=True


any ides please

Many thanks
 

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