Alle 22:10, venerdì 17 giugno 2005, Ennio-Sr ha scritto: > * Emanuele <[EMAIL PROTECTED]> [170605, 18:57]: > > Hi Paolo (and all), > > ... > > I tried your snippet, but I receive an error every time I start the > > macros. :-( > > In particular the problem is located in the function "RegExpStrReplace" > > at the line: > > > > .searchFlag = [EMAIL PROTECTED] com.sun.star.util.SearchFlags:REG}_EXTENDED > > > > OOo underline the first parenthesis, with a generic "syntax error" > > message. > > Hi Emanuele, > Erase _all_ the [EMAIL PROTECTED] and *}* and it goes on smoothly :-)
Not a good advice, because the XML code erroneously used from Emanuele contains also a lot of other offending code like escaped chars (&apos, ", &# etc. etc.) XML code-snippets are not conceived for being used directly in the StarBasic IDE. Please, go to the code-snippet web page to know the rest of the story ciao Paolo. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
