+ Reply to Thread
Results 1 to 2 of 2

Escape key for '

  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 Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,997

    Re: Escape key for '

    Double-up the single quotes in the string - i.e. didn''t
    Everyone who confuses correlation and causation ends up dead.

+ Reply to Thread

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.6.0 RC 1