DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

PicExport saving same file everytime in DIAdem 2012

Solved!
Go to solution

I noticed this problem with the built-in PowerPoint Export menu selection in DIAdem 2012. It used to work fine in DIAdem 2011.

 

I've traced it to the PicExport function. The sample code below should demonstrate the problem. If I have 1 or 2 Sheets in REPORT, it only exports the image for the first sheet. If I have 3 or more, it only exports the third sheet. The number of exported files is correct, but the image files are always of the same sheet in DIAdem 2012.

 

Thanks!

 

Greg Granville 

0 Kudos
Message 1 of 3
(5,235 Views)
Solution
Accepted by topic author Greg_Gran

Hi,

I tried your script, and it works correctly on my machine (I also have DIAdem 2012). 

But, try to add command:

"call report.sheets.item(i).activate"

on the line 28 in your code.

 

Simyfren

0 Kudos
Message 2 of 3
(5,214 Views)

That fixed it - thanks!

 

I believe that means that the script which is called when you select "PowerPoint export..." from the File menu may need to modified in DIAdem 2012 if others run into this problem. It worked fine as is in DIAdem 2011 for me. 

0 Kudos
Message 3 of 3
(5,201 Views)