| View previous topic :: View next topic |
| Author |
Message |
urke General User


Joined: 19 Jan 2005 Posts: 21 Location: Kragujevac, Srbija
|
Posted: Thu Apr 14, 2005 4:31 am Post subject: Replace in selection bug? |
|
|
There is my macro for replacing text in selection (transliteration). Open the document, select some part of latin or cyrillic text and execute trSCL or trSLC function from this document. On my box I get error and text in selection was not transliterated. Why? Where I make mistake?
3oTranslit_032.sxw
TIA |
|
| Back to top |
|
 |
Danad OOo Advocate

Joined: 22 Feb 2004 Posts: 293 Location: Brasil
|
Posted: Thu Apr 14, 2005 7:04 am Post subject: |
|
|
Look for help about Option Explicit.
HTH |
|
| Back to top |
|
 |
urke General User


Joined: 19 Jan 2005 Posts: 21 Location: Kragujevac, Srbija
|
Posted: Thu Apr 14, 2005 10:30 pm Post subject: |
|
|
| Thanks for tip. But also I found undefined variable sText As String in rplSel function, and after adding this to rplSel, macro start work. |
|
| Back to top |
|
 |
|