Home > Ask the Domino Experts > LotusScript Questions & Answers > Writing special ASCII characters in LotusScript
Ask The Domino Expert: Questions & Answers
EMAIL THIS

Writing special ASCII characters in LotusScript

Cregg Hardwick EXPERT RESPONSE FROM: Cregg Hardwick

Pose a Question
Other Domino Categories
Meet all Domino Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 28 August 2006

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?


>
EXPERT RESPONSE

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


  • Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


    RELATED CONTENT
    LotusScript
    How to clear a Lotus Notes local cache with LotusScript
    Customize the principal field of outgoing email messages
    Create a non-specified date picker with LotusScript code
    Resolve Notes 8 migration error: 'Database has not been opened yet'
    LotusScript accesses clipboard to view copied Notes documents
    LotusScript action button manages Lotus Notes mail files
    LotusScript sorts a Lotus Notes document collection
    Display Lotus Notes user group membership details in a tree view
    Alternate version of @Command forwards subform via LotusScript
    Process large arrays in Notes forms without undue coding or testing

    LotusScript
    Customize the principal field of outgoing email messages
    Can I use LotusScript to merge cells in a Microsoft Word table?
    Modifying LotusScript code for date and time handling
    Use DXL utilities for advanced replication settings in Notes
    Use LotusScript to create encrypted replicas
    Write a LotusScript agent to automate file attachments
    Troubleshooting a scheduled agent not running on a Global Notes Architecture (GNA) server
    Setting up local replication of a Lotus Notes database for offline employees
    Creating a link on an HTML page to a Microsoft Word attachment in a Lotus Notes database
    LotusScript to extract and move attachments to a Lotus Notes mailbox or file folder

    RELATED RESOURCES
    2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
    Search Bitpipe.com for the latest white papers and business webcasts
    Whatis.com, the online computer dictionary



    Search and Browse the Expert Answer Center
    Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
    Browse our Expert Advice



    Lotus Notes Domino on Blackberry and mobile devices
    HomeTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersDomino IT Downloads
    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    SEARCH 
    TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




    All Rights Reserved, Copyright 1999 - 2008, TechTarget | Read our Privacy Policy
      TechTarget - The IT Media ROI Experts