>When ever the IDE must be open for a macro to work/run, I suspect that 
> a library is NOT loaded.
The macro that brings up the dialog is in the same library as the macro that 
the 
dialog calls. The macro the brings up the dialog always runs with no problem. 
It's the 2nd macro that has isn't always called. 


> After you convince the macro to work by opening the IDE, will it work 
> AFTER you have closed the IDE again?
yes. 


> Douglas Staas wrote:
> 
> >>I'm still not sure if I understood you correctly.
> >>    
> >>
> >
> >Here are the steps to recreate this situation. Let me know if something 
> >isn't 
> clear. 
> >
> >1: open some other OO doc
> >2: open my binder covers template OO doc
> >3: the macro that runs on the open event (PromptForValues) brings up a 
> >dialog.
> >4: enter values in the dialog and click 'OK'
> >5: nothing happens
> >6: try rerunning PromptForValues. nothing happens after the dialog closes
> >6: open the macro editor
> >7: run PromptForValues again, enter values in the dialog
> >8: after the dialog closes, Texts will be updated with the values you entered
> >9: close all OO docs
> >10: open my binder covers template OO doc
> >11: the macro that runs on open (PromptForValues) brings up a dialog
> >12: enter values in the dialog and click 'OK'
> >13: after the dialog closes, Texts will be updated with the values you 
> >entered
> >
> >Summary: Macros don't run when a 2nd OO file is open unless the macro editor
> >is open.
> >  
> >
> When ever the IDE must be open for a macro to work/run, I suspect that a 
> library is NOT loaded.
> After you convince the macro to work by opening the IDE, will it work 
> AFTER you have closed the IDE again?
> 
> -- 
> Andrew Pitonyak
> My Macro Document: http://www.pitonyak.org/AndrewMacro.sxw
> My Book: http://www.hentzenwerke.com/catalog/oome.htm
> Info:  http://www.pitonyak.org/oo.php
> See Also: http://documentation.openoffice.org/HOW_TO/index.html
> 
> 
> ---------------------------------------------------------------------
> 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