Adam , do the macro run by a event from the field sub runfromevent(oevnt) ' the field ofield =oevnt.source etc..... hope it helps fernand
Is it possible to assign a form control [field] a default value from a Macro? I need to have a field that defaults to a value generated by calling a macro [function]. '
-- For unsubscribe instructions e-mail to: users+help@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted