It worked for me in OOo 2.0 for a short time as well. After closing and 
re-opening the file, that 2nd macro no longer gets called until I have opened 
the macro editor. If nobody else has ever had this problem, what can I do? I'm 
running Windows XP using VMware. The host operating system is Red Hat Linux. 
I'm not sure if those details are relevant but it's probably an unusual setup. 

thanks
doug




> Hi Douglas,
> 
> > I have a macro that calls a dialog. The dialog calls a 2nd macro. The 2nd 
> macro doesn't run unless the macro editor is open. Is this the right place to 
> seek guidance on this issue? If not, where should I look?
> 
> works for me with OOo 2.0, well I changed your macro slightly, so that
> no error will appear from
> 
>    oGraph.setposition(oPos)
>    ThisComponent.getDrawpage().add(oGraph)
>    oGraph.GraphicURL = ...
> 
> to
> 
>    oGraph.setposition(oPos)
>    ThisComponent.Drawpages(0).add(oGraph)
>    oGraph.GraphicURL = ...
> 
> Hope that helps
> 
> Regards
> 
> Stephan
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to