+ Reply to Thread
Results 1 to 3 of 3

Looking up a variable using the Find function

  1. #1
    Forum Contributor
    Join Date
    06-23-2010
    Location
    Iowa, United States
    MS-Off Ver
    Excel 2007
    Posts
    145

    Looking up a variable using the Find function

    Hello,

    I am attempting to use the Find function in VBA to look up the row number of a variable. Here is my code:

    Please Login or Register  to view this content.
    SpecTwnRng is a string containing numbers and letters. It is contained in column A within Sheets(sht). I think I just have improper syntax. Thanks for the help!

    Steve
    A VBA novice, excited to learn!

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Looking up a variable using the Find function

    Steve,

    Your code looks good. What happens if, after that snippet, you do this?
    Please Login or Register  to view this content.
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Contributor
    Join Date
    06-23-2010
    Location
    Iowa, United States
    MS-Off Ver
    Excel 2007
    Posts
    145

    Re: Looking up a variable using the Find function

    It was a faulty reference on my part.. thanks for the reply tiger.

+ 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