Hi,

can someone give me an example how to use createNameGroup() from 
c.s.s.XDataPilotFieldGrouping
according to 
http://api.openoffice.org/docs/common/ref/com/sun/star/sheet/XDataPilotFieldGrouping.html
it take a sequence: createNameGroup( [in] sequence< string >     aItems )

> Parameter aItems
> a sequence containing the names of the items (members)
> which will be part of the new group. Must be names of items contained in the 
> current field.

but all i get is a IllegalArgumentExecption if i use for example:

Dim mGroup(1)

mGroup(0) = "category"
mGroup(1) = "region"
oField.createNameGroup(mGroup())

btw: createDateGroup() works fine for me...

Regards

Oliver
-- 

GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to