Borut Newbie

Joined: 17 Mar 2009 Posts: 4
|
Posted: Thu Apr 12, 2012 3:55 am Post subject: Macro recording - How to specify the use of CAPSLOCK |
|
|
I've recorded a macro in Open Office Writer. Among other things it should find a specific string and replace it with another, but ONLY if the string is upper-cased. So, for example, it should NOT find the word "rabbit", but it should find the word "RABBIT" and than replace it...
How can I put this in macro's basic, which looks something like:
...
args45(9).Name = "SearchItem.SearchFlags"
args45(9).Value = 65536
args45(10).Name = "SearchItem.SearchString"
args45(10).Value = "RABBIT"
args45(11).Name = "SearchItem.ReplaceString"
args45(11).Value = "some word"
...
Thanks. |
|