Problem solve Get help with specific problems with your technologies, process and projects.

Writing special ASCII characters in LotusScript

SearchDomino.com LotusScript expert Cregg Hardwick explains how to write special ASCII characters when creating a Microsoft Excel spreadsheet from Lotus Domino.

I need some information on writing special ASCII characters when creating a Microsoft Excel worksheet from Lotus Domino. I need to do the following as I would in Microsoft Excel -- Alt-129 on the numeric keypad. How do I do this in LotusScript?

Assuming you are using COM to create the Microsoft Excel spreadsheet from LotusScript, you can simply embed the special character directly in your code as follows:

Set xlApp = CreateObject("Excel.application")
. . . 

I created the special character in the way you describe, by pressing Alt-129 on the numeric keypad. One odd note: When I tried to set the cell value to Chr(129), I inexplicably got a different character.

Do you have comments on this Ask the Expert Q&A? Let us know.

Related information from SearchDomino.com:

  • Learning Guide: LotusScript
  • FAQ: LotusScript
  • Featured Topic: LotusScript and Excel
  • Reference Center: LotusScript tips and resources
  • Dig Deeper on LotusScript

    Start the conversation

    Send me notifications when other members comment.

    Please create a username to comment.




    • iSeries tutorials

      Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

    • V6R1 upgrade planning checklist

      When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

    • Connecting multiple iSeries systems through DDM

      Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...