+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    01-12-2010
    Location
    Singapore
    MS-Off Ver
    Excel 2003
    Posts
    2

    Escape key for '

    Hi all

    Pls advise on the escape keycode for '
    When I tried to execute the insert statement using VBA

    insert into (name,comment) values ('John','Terminated. He didn't submit assignment.');

    It keep prompting me error becoz there is a ' in didn't

  2. #2
    Forum Moderator romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    Alibi
    MS-Off Ver
    All
    Posts
    8,262

    Re: Escape key for '

    Double-up the single quotes in the string - i.e. didn''t
    So long, and thanks for all the fish.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.2.0