Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I am using VBA to find a specific value. The problem is that humans
have not used the standad form and have changed the thing that I want found. I want to find "1st Converting run" or "1st. Converting Run". Notice the period behind the 1st I want to note the address of either of these finds. Thanks, Jay |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi Jay !! :)
...so you find twice once for each of the two slighyly different strings ! "jlclyde" wrote: I am using VBA to find a specific value. The problem is that humans have not used the standad form and have changed the thing that I want found. I want to find "1st Converting run" or "1st. Converting Run". Notice the period behind the 1st I want to note the address of either of these finds. Thanks, Jay |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
On my worksheet, F12 has: 1st Converting run (no period)
F13 has: 1st. Converting run (with the period) The sub below displays OK for each cell Sub testit2() mytest = "1st Converting run" For Each mycell In Range("F12:F13") If WorksheetFunction.Substitute(mycell, ".", "") = mytest Then MsgBox "OK" Else MsgBox "No match" End If Next End Sub best wishes -- Bernard V Liengme Microsoft Excel MVP http://people.stfx.ca/bliengme remove caps from email "jlclyde" wrote in message ... I am using VBA to find a specific value. The problem is that humans have not used the standad form and have changed the thing that I want found. I want to find "1st Converting run" or "1st. Converting Run". Notice the period behind the 1st I want to note the address of either of these finds. Thanks, Jay |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
On Dec 4, 8:08*am, Vijay Chary
wrote: Hi Jay !! :) * * * * * * * * * *...so you find twice once for each of the two slighyly different strings ! "jlclyde" wrote: I am using VBA to find a specific value. *The problem is that humans have not used the standad form and have changed the thing that I want found. *I want to find "1st Converting run" or "1st. Converting Run". Notice the period behind the 1st I want to note the address of either of these finds. Thanks, Jay- Hide quoted text - - Show quoted text - I want to find the address of which ever one is present and not bug out or throw an error. Both will never be present in the same sheet. Thanks, Jay |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Find First Non blank cell than find column header and return that value | Excel Worksheet Functions | |||
where to put results of find operation in find and replace functio | Excel Worksheet Functions | |||
Despite data existing in Excel 2002 spreadsheet Find doesn't find | Excel Discussion (Misc queries) | |||
'find' somtimes can't find numbers. I folowd the 'help' instructi. | Excel Worksheet Functions | |||
How do I find a file/spreadsheet that Excel says is Already open but I can't find it? | Excel Discussion (Misc queries) |