Thanks (again).
Yes, I write it completely in a one liner, so thats not the problem.
I think that the reference to the menubar is the problem, because in a
pps file there is no menubar.
When I use the button in the showview of the ppt file the buttons
works correct.
Perhaps a (workaround) solution is to autorun the slideshow when you
open the file (how to do ?)
regards,
Johan
> Thanks (again).
>
> Yes, I write it completely in a one liner, so thats not the problem.
> I think that the reference to the menubar is the problem, because in a
> pps file there is no menubar.
True, but the code refers to the PowerPoint application, not to the PPS file,
so that shouldn't matter.
On the other hand, if you have a non-English version of PowerPoint, the Menu
Bar might have a different name.
Try dragging it off its normal docked position to see what it's called.
> When I use the button in the showview of the ppt file the buttons
> works correct.
[quoted text clipped - 3 lines]
> regards,
> Johan
-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================
johan - 25 Sep 2007 21:44 GMT
Hoi,
"
Try dragging it off its normal docked position to see what it's
called.
"
I'm missing some knowledge. What do I have to do ?
It's working in the ppt file, so I think (?) there's nothing wrong
with the name.
For info, our versions are english.
Do I understand that the solution you told me works in a pps file that
you'd
created from a ppt file with a button in it (pp 2003) ?
regards
Steve Rindsberg - 26 Sep 2007 16:00 GMT
> Hoi,
>
[quoted text clipped - 4 lines]
>
> I'm missing some knowledge. What do I have to do ?
Actually, nothing, since you're using an English version.
And I didn't test before with it as a PPS file; when I do that, I get the same
error here as you.
You may need to create your own user form to let the user set the print options
you want to give them; if you don't specify a printer explicitly, PPT will
print to the default printer driver. Would that be sufficient?
> It's working in the ppt file, so I think (?) there's nothing wrong
> with the name.
[quoted text clipped - 4 lines]
>
> regards
-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================
johan - 26 Sep 2007 20:47 GMT
Thanks for all the suggestions you had given to me.
I understand that there is no simpel solution for (if there is a
solution).
As you mentioned, a button to print to the default netwerkprinter is
not the problem (even not in a pps file).
The only problem is to get the print-option screen in the pps file.
Perhaps in the future a simpel solution will come up.
Till then........ just be busy with other challenging items in PP.
Thanks en regards.
Johan