Hello, 

> From: [email protected] [mailto:[email protected]] On 
> Behalf Of Alexandro Colorado
> Sent: Tuesday, May 21, 2013 6:23 PM
> To: OpenOffice Marketing
> Subject: Re: automatic move to next spreadsheet
> 
> I am not sure how can we predict ther  is a BASK012

You can separate the file name and read character by character from right, as 
in Basic as follows:

i = 0
do
   i = i + 1
   tmp = Right (<filename>, i)
loop while IsNumic(tmp) = True

If LEN (Right (<filename>, i-1))> = 1 Then
   '-->here is a file name, with number at the end, found
end if


But I think this is a typical task for a macro automation not for a change of 
AOO itself.



Greetings,
Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to