Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have a macro function that counts the number of charts.
if i call this function in load script with let v_noc = numberofcharts();
Unfortunately I don't get the value. Anyone an idea?
Thanks.
In general, you can use macro functions in the script, although there could be some restrictions. In your case, I think, the problem is that the charts technically don't exist yet during the the reload. As a workaround, you can create a varaible that keeps the number of charts, and use it in the load script.
In general, you can use macro functions in the script, although there could be some restrictions. In your case, I think, the problem is that the charts technically don't exist yet during the the reload. As a workaround, you can create a varaible that keeps the number of charts, and use it in the load script.
If your macro is trying to navigate through the ActiveDocument, as of 8.2/8.5 most of the ActiveDocument properties do not exist during script execution. The new "Document Functions" are meant to fill this gap, although I don't see anything for number of charts.
-Rob