Searching for values in excel
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-05-16 06:16 PM
Hi,
I am trying to search for values in excel. I cannot find that functionality in the Excel VBO, and currently elaborate with sending keys (ctrl+f). Anyone with other suggestions?
Br,
Maria
6 REPLIES 6
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-05-16 07:33 PM
Hi Maria,
What is it that you are trying to do once you have found these values?
Depending on what the end goal is with the information, will allow a more tailored solution.
Many Thanks,
James
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
13-05-16 01:38 PM
Hi Maria,
find attached action you can copy into the MS Excel VBO that performs the search and returns cell reference in which value has been found.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
13-05-16 07:42 PM
Hi all,
Thanks for your comments - I will test and see which one that works best for the process.
Basically my objective is to decide whether or not the value that I search for exists. If it does not exist, I will send a business exception.
Br,
Maria
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
14-08-17 11:11 AM
Hi,
I can't see any attachment, but I am after a similar functionality if you could help please.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
14-08-17 02:09 PM
Create a new action with following code:
Dim wb As Object
wb = GetWorkbook(Handle, Workbook)
wb.activesheet.Cells.Find(What:=SearchValue).Activate
Having handle, workbook and searchvalue as inputs of your code stage. The code stage will throw exception which you will have to catch in case the search value is not found.

Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
17-08-17 04:03 PM
Hi nikita.kabra,
Please use the option peterlacken suggested earlier.
1. Get the output to a collection from Excel.
2. Use ""Utility - Collection Manipulation"" VBO, and ""Collection Contains Value"" in Action.
3. Pass the Column Name and Value to search. Output will be true/false.
