Hallo,
I use VBA to control cognos and then copy the report in Excel. Everything is working very well so far.
But now I have different layers and want to copy the values from a specific layer.
When I write:
PowerPlayReport.Copy
always the first layer is copied.
This won't work:
PowerPlayReport.Layers.Item(3).Activate
PowerPlayReport.Layers.Item(3).Copy
The third layer is here indeed activated and will be shown in cogonos but the command copy-command is not allowed.
This way:
PowerPlayReport.Layers.Item(3).Activate
PowerPlayReport.Copy
won't work either. Here still the first layer is copied althogh the third is shown.
Could someone help me, please? Thanks.
I use VBA to control cognos and then copy the report in Excel. Everything is working very well so far.
But now I have different layers and want to copy the values from a specific layer.
When I write:
PowerPlayReport.Copy
always the first layer is copied.
This won't work:
PowerPlayReport.Layers.Item(3).Activate
PowerPlayReport.Layers.Item(3).Copy
The third layer is here indeed activated and will be shown in cogonos but the command copy-command is not allowed.
This way:
PowerPlayReport.Layers.Item(3).Activate
PowerPlayReport.Copy
won't work either. Here still the first layer is copied althogh the third is shown.
Could someone help me, please? Thanks.