Home > LibreOffice, Misc > LibreOffice Basic escape characters

LibreOffice Basic escape characters

As Visual Basic doesn’t have an escape sequence LibreOffice Basic doesn’t have one neighter. So find out the Unicode code point for the character and use ChrW to convert it to the character. On Windows you can use charmap.exe to find out the  Unicode code point or have a look here.

For example, for the Copyright sign (U+00A9) you’d write:

Dim Copyright AS String
Copyright = Chr(&H00A9)
Cell.String = "Copyright sign: " & Copyright
Categories: LibreOffice, Misc
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: