Q
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")
. . . 
xlapp.cells(1,1).value={ü}

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
  • This was last published in August 2006

    Dig Deeper on LotusScript

    Have a question for an expert?

    Please add a title for your question

    Get answers from a TechTarget expert on whatever's puzzling you.

    You will be able to add details on the next page.

    Start the conversation

    Send me notifications when other members comment.

    By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

    Please create a username to comment.

    -ADS BY GOOGLE

    SearchWindowsServer

    Search400

    • 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 ...

    SearchDataCenter

    SearchExchange

    SearchContentManagement

    Close