Click here to Skip to main content
15,890,897 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have been working with interop Excel . . the file I have opened has the 50 states entered in the first column (2 letter abbreviation). The adjacent columns have various addresses relevant to that state.

I have been trying to find some help in interating the first column . . searching for a particular state (given) & then obtain the row number to be able to access the related addresses belonging to that state.

Thanks in advance for any suggestions.
Posted

1 solution

 
Share this answer
 
Comments
JOHNNYDEMICHAEL 10-Feb-14 9:12am    
Yes, I worked with the Range.Find but had problems. No code examples given. I'll be trying your 2nd suggested link today or tomorrow . . has some code examples. That may help me solve problem. THANKS!
JOHNNYDEMICHAEL 12-Feb-14 7:06am    
The example in your 2nd suggested link enabled me to resolve the problem. Thanks a bunch!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900