+ Reply to Thread
Results 1 to 3 of 3

How do you store a value in an array without quotes?

  1. #1
    Forum Contributor
    Join Date
    04-11-2011
    Location
    Columbus, Ohio
    MS-Off Ver
    Excel 2007
    Posts
    325

    How do you store a value in an array without quotes?

    Please Login or Register  to view this content.
    In other words, I want to compare str1 to another string in my program but can't since str1 is labeled as "whateverValue" instead of whateverValue.
    Last edited by 111StepsAhead; 04-19-2013 at 10:51 AM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: How do you store a value in an array without quotes?

    The quotes are telling you that the variable is a string -- they are not part of the value.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Contributor
    Join Date
    04-11-2011
    Location
    Columbus, Ohio
    MS-Off Ver
    Excel 2007
    Posts
    325

    Re: How do you store a value in an array without quotes?

    Hello shg,

    You helped me remember I can't compare a long variable type to a string variable type. As soon as I converted my long to a string everything worked again.

    Thanks!

+ 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