VB.net Excel Add-in Find Issue

Hi
When I put a value in column A and use the following Find code the system does not find it, but when I put the value in any other cell
eg G14 the system does find it. The cell isn't a merged cell so I can't work out why it doesn't find it

                   
                                    Dim oFindRange As Microsoft.Office.Interop.Excel.Range              
                                    oFindRange = xWorkBook.Sheets(oUseSheet).Range("A1:Z1000").Find(What:=oDetail5, LookIn:=Excel.XlFindLookIn.xlValues, LookAt:=Excel.XlLookAt.xlPart)
                                    If oFindRange IsNot Nothing Then
                                        oFindAddress = oFindRange.Address
                                    Else
                                        MsgBox("'" & oDetail5 & "' not found in column 'A'")
                                    End If
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David L. HansenProgrammer AnalystCommented:
Can you attach your spreadsheet here?
0
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
Hi

Here it is

Thanks
Invoice-Test.xls
0
Rory ArchibaldCommented:
It's probably a formatting issue. Have you tried using@
LookIn:=Excel.XlFindLookIn.xlFormulas

Open in new window

instead, if it's a literal value (that will ignore the formatting)
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
Thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.