+ Reply to Thread
Results 1 to 3 of 3

Use value in Named cell to search for text

  1. #1
    Forum Contributor
    Join Date
    11-10-2009
    Location
    Perth, Australia
    MS-Off Ver
    Excel 2007
    Posts
    549

    Use value in Named cell to search for text

    Hi

    I'm trying to run a "search type macro" in Excel whereby it looks up a value in a Named cell and then uses this information to search and match to data on a seperate worksheet.

    The Named cell is called "this" with the following value "AS41005.2". These are in a worksheet called "Sections".

    When I press a button to run a macro, it should look up the value "AS41005.2" in another worksheet called "Calculation" and then land on it - just like the FIND function in excel.

    I have no problem with installing and using the button, but can't get the programing to work out.

    My code (which isn't working) is:

    '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
    Please Login or Register  to view this content.
    '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

    Any help will be appreciated.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Use value in Named cell to search for text

    Not entirely sure I follow, perhaps ?

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    11-10-2009
    Location
    Perth, Australia
    MS-Off Ver
    Excel 2007
    Posts
    549

    Re: Use value in Named cell to search for text

    Thanks very for the code you wrote it seems to work. Much appreciate the quick response. Also thanks for the advice on forum etiquette

+ 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