Results 1 to 4 of 4

How to use CHR(34) a a constant

Threaded View

  1. #1
    Forum Contributor
    Join Date
    01-25-2011
    Location
    Virginia
    MS-Off Ver
    Excel 2016
    Posts
    166

    How to use CHR(34) a a constant

    Is it possible to use CHR(34) (a singe quote mark) as a constant? I have tried:
    Private Const Units as string = CHR(34)
    Private Const Units as string = "
    Private Const Units as string = """
    None of those worked! FYI I am using CHR(34) as a representation for inches. I would like to make it so if the user prefered metric the only line he would have to change would be the constant line.

    Thanx in advance,

    Tom
    Last edited by tom.hogan; 02-20-2012 at 09:25 PM.

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