+ Reply to Thread
Results 1 to 3 of 3

Look for value in part of cell

  1. #1
    Forum Contributor
    Join Date
    08-07-2013
    Location
    mo
    MS-Off Ver
    Excel 2010
    Posts
    453

    Look for value in part of cell

    I have the code below that works, but I am coping this like 100 times and changing the value "ALBT01 Total" to the next cells value that has "xxx total". How can I add something that will do the exact code below that just finds "Total" anywhere in the cell and keeps going so I can only write this one instead of 100 times in my module.



    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Look for value in part of cell

    You can use instr, for example:
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    08-07-2013
    Location
    mo
    MS-Off Ver
    Excel 2010
    Posts
    453

    Re: Look for value in part of cell

    That worked.... Amazing. Thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] reference part of cell address from button and part of another cell
    By JJGF in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-24-2012, 04:48 PM
  2. [SOLVED] Create a Macro for copying data from one cell and pasting into certain part other cell
    By Paul M in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 12-03-2012, 10:17 AM
  3. Replies: 4
    Last Post: 11-05-2012, 07:56 PM
  4. Find Part number through Macro and output to associated part to certain cell
    By boylers75 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-09-2012, 04:32 PM
  5. Replies: 5
    Last Post: 04-08-2012, 01:06 AM

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