Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drill down in excel
Message
From
12/07/2005 14:37:15
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
12/07/2005 13:16:24
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01031781
Message ID:
01031827
Views:
19
>I am writing to excel line by line
>It is a Balance sheet
>
>some lines are totals by account which are only sometimes important.
>I would like to make a subtotal similar to the built in excel subtotal only that it shall be created through automation for a certain number of rows, and by default it should be collapsed.
>If the user thinks there is something strange with a total (e.g. Total assets) s/he can click on the plus in the left margin and expand to see all account belonging to this group.
>
>
>can that be accomplished
>something like this:
>
>
>   .Rows("9:23").Subtotal( GroupBy:=1, Function:=xlSum, TotalList:=Array(8),  Replace:=True, PageBreaks:=False, SummaryBelowData:=True )
>
>
>
>Or does anybody have a better idea?
>
>Thanks
>
>
>Peter

Yes it can be if first row can identify labels. My suggestion instead of hardcoded row ranges use named ranges. Check Thread #975882 < g >
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform