<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to get location from &amp;quot;MS Excel VBO-Find in Worksheet&amp;quot; in Digital Exchange</title>
    <link>https://community.blueprism.com/t5/Digital-Exchange/How-to-get-location-from-quot-MS-Excel-VBO-Find-in-Worksheet/m-p/119731#M4272</link>
    <description>&lt;P&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/36564"&gt;@faheemsd&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/2407"&gt;@Mohamad_Dakkouri&lt;/a&gt;&amp;nbsp;-&amp;gt; WOW. Amazing responses, thank you for being so helpful!&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/61407"&gt;@jiyeon_gim&lt;/a&gt;&amp;nbsp;- let us know if this gets you past your blocker &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 01 Apr 2025 12:36:02 GMT</pubDate>
    <dc:creator>Michael_S</dc:creator>
    <dc:date>2025-04-01T12:36:02Z</dc:date>
    <item>
      <title>How to get location from "MS Excel VBO-Find in Worksheet"</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/How-to-get-location-from-quot-MS-Excel-VBO-Find-in-Worksheet/m-p/119622#M4261</link>
      <description>&lt;P&gt;I'm trying to use "MS Excel VBO-Find in Worksheet"&lt;BR /&gt;But I find out it can only export Success(Flag), Message(Text), Matches(Collection).&lt;BR /&gt;Is there anything that I can do to get the location of the search text?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jiyeon_gim_0-1743048167275.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/40587i087909A5938C0E37/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="jiyeon_gim_0-1743048167275.png" alt="jiyeon_gim_0-1743048167275.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I downloaded this VBO from Blue Prism Digital Exchange.&lt;/P&gt;&lt;P&gt;&lt;A href="https://digitalexchange.blueprism.com/dx/search?keyword=%22Blue%20Prism%20Enterprise%20-%20Core%22&amp;amp;page=1" target="_blank"&gt;https://digitalexchange.blueprism.com/dx/search?keyword=%22Blue%20Prism%20Enterprise%20-%20Core%22&amp;amp;page=1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 04:04:29 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/How-to-get-location-from-quot-MS-Excel-VBO-Find-in-Worksheet/m-p/119622#M4261</guid>
      <dc:creator>jiyeon_gim</dc:creator>
      <dc:date>2025-03-27T04:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to get location from "MS Excel VBO-Find in Worksheet"</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/How-to-get-location-from-quot-MS-Excel-VBO-Find-in-Worksheet/m-p/119652#M4262</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/61407"&gt;@jiyeon_gim&lt;/a&gt;&amp;nbsp;- just to let you know, I've moved your question to our Digital Exchange forum where you're more likely to get a helpful answer about VBOs.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Mar 2025 10:01:36 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/How-to-get-location-from-quot-MS-Excel-VBO-Find-in-Worksheet/m-p/119652#M4262</guid>
      <dc:creator>Michael_S</dc:creator>
      <dc:date>2025-03-28T10:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to get location from "MS Excel VBO-Find in Worksheet"</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/How-to-get-location-from-quot-MS-Excel-VBO-Find-in-Worksheet/m-p/119665#M4265</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/61407"&gt;@jiyeon_gim&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Normally&amp;nbsp; in the marched coolection you will have all your needs&amp;nbsp;&lt;/P&gt;&lt;P&gt;See example below :&amp;nbsp;&lt;/P&gt;&lt;P&gt;i am searching Spencer here :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mohamad_747_0-1743282191377.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/40595i2F80EBAA410BBC60/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Mohamad_747_0-1743282191377.png" alt="Mohamad_747_0-1743282191377.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When i use find in worksheet i provide this :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mohamad_747_1-1743282250209.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/40596iD1DD96D358A507C5/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Mohamad_747_1-1743282250209.png" alt="Mohamad_747_1-1743282250209.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and then in the matched collection i will have this :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mohamad_747_2-1743282279361.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/40597i74722A78D8CB8714/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Mohamad_747_2-1743282279361.png" alt="Mohamad_747_2-1743282279361.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So it give me the correct location.&lt;/P&gt;&lt;P&gt;Is that anwser your request or you need more details ?&lt;/P&gt;&lt;P&gt;Dont hesitate&lt;/P&gt;</description>
      <pubDate>Sat, 29 Mar 2025 21:06:38 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/How-to-get-location-from-quot-MS-Excel-VBO-Find-in-Worksheet/m-p/119665#M4265</guid>
      <dc:creator>Mohamad_Dakkouri</dc:creator>
      <dc:date>2025-03-29T21:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to get location from "MS Excel VBO-Find in Worksheet"</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/How-to-get-location-from-quot-MS-Excel-VBO-Find-in-Worksheet/m-p/119704#M4266</link>
      <description>&lt;P&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/2407"&gt;@Mohamad_Dakkouri&lt;/a&gt;&amp;nbsp;Thank you for the information! This is what I am looking for!&lt;/P&gt;&lt;P&gt;I have an additional question.&lt;BR /&gt;Can I get the results that exact match with the search text?&lt;BR /&gt;(For example, If I put search text as "Harris", I want to get only $B$19 (the location of "Harris"),&lt;BR /&gt;not $B$20 (the location of "Harrison")).&lt;/P&gt;</description>
      <pubDate>Tue, 01 Apr 2025 05:34:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/How-to-get-location-from-quot-MS-Excel-VBO-Find-in-Worksheet/m-p/119704#M4266</guid>
      <dc:creator>jiyeon_gim</dc:creator>
      <dc:date>2025-04-01T05:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to get location from "MS Excel VBO-Find in Worksheet"</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/How-to-get-location-from-quot-MS-Excel-VBO-Find-in-Worksheet/m-p/119713#M4267</link>
      <description>&lt;P&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/61407"&gt;@jiyeon_gim&lt;/a&gt;&amp;nbsp; Sure &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Follow these steps.&lt;/P&gt;&lt;P&gt;- Open your MS excel vbo that you have downloaded from DX&lt;/P&gt;&lt;P&gt;- Right Click on Find in worksheet then do duplicate&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mohamad_747_0-1743488547129.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/40599i15FF4007A7B4C2C5/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Mohamad_747_0-1743488547129.png" alt="Mohamad_747_0-1743488547129.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;- Rename your new page "Find Entire Match in Worksheet" like this :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mohamad_747_1-1743488615734.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/40600i33AD3A139AF10E88/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Mohamad_747_1-1743488615734.png" alt="Mohamad_747_1-1743488615734.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;- open the code stage this one&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mohamad_747_3-1743488698054.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/40602iA17E75BEB64A118F/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Mohamad_747_3-1743488698054.png" alt="Mohamad_747_3-1743488698054.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Rename it "Search for entire Text"&lt;/P&gt;&lt;P&gt;- Go to code&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mohamad_747_4-1743488757109.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/40603i645B8C4702F7C9FF/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Mohamad_747_4-1743488757109.png" alt="Mohamad_747_4-1743488757109.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Put this :&amp;nbsp;&lt;/P&gt;&lt;P&gt;----------------------------------------------------------&lt;/P&gt;&lt;DIV&gt;Dim wb, ws, excel, sheet, range, cell As Object&lt;/DIV&gt;&lt;DIV&gt;Dim firstAddress as String&lt;/DIV&gt;&lt;DIV&gt;Dim cells as new DataTable()&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;wb = GetWorkbook(Handle, Workbook)&lt;/DIV&gt;&lt;DIV&gt;ws = GetWorksheet(Handle, Workbook, Worksheet)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;wb.Activate()&lt;/DIV&gt;&lt;DIV&gt;ws.Activate()&lt;/DIV&gt;&lt;DIV&gt;excel = ws.Application&lt;/DIV&gt;&lt;DIV&gt;sheet = excel.ActiveSheet&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;' Build the DataTable/Collection definition.&lt;/DIV&gt;&lt;DIV&gt;cells.Columns.Add("Cell", GetType(String))&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;' What range do we search?&lt;/DIV&gt;&lt;DIV&gt;If (Len(Trim(searchRange)) &amp;gt; 0) Then&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;range = ws.Range(searchRange)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;Else&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;range = ws.UsedRange&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;End If&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;' Set the search order value.&lt;/DIV&gt;&lt;DIV&gt;Dim order as Integer = 0&lt;/DIV&gt;&lt;DIV&gt;If (searchOrder.Trim().Substring(0,1).ToUpper() = "C") Then&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;order = 2 ' xlByColumns&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;Else&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;order = 1 ' xlByRows&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;End If&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;' Determine what type of data we'll be searching in - Comments, Formulas, or Values.&lt;/DIV&gt;&lt;DIV&gt;' The initial char of the Search In value (capitalised)&lt;/DIV&gt;&lt;DIV&gt;Dim searchLoc as String = searchIn.Trim().Substring(0,1).ToUpper()&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;' The excel enum representing the XlFindLookIn enum.&lt;/DIV&gt;&lt;DIV&gt;' Note: setting to zero is just to nix a duff compiler warning&lt;/DIV&gt;&lt;DIV&gt;Dim xlFLI as Integer = 0&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;' xlFindLookIn enum values from:&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;' &lt;A href="https://docs.microsoft.com/en-us/office/vba/api/excel.xlfindlookin" target="_blank"&gt;https://docs.microsoft.com/en-us/office/vba/api/excel.xlfindlookin&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;' Get the search location.&lt;/DIV&gt;&lt;DIV&gt;Select Case searchLoc&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Case "C"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;xlFLI = -4144 ' Excel.XlFindLookIn.xlComments&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Case "F"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;xlFLI = -4123 ' Excel.XlFindLookIn.xlFormulas&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Case Else&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;xlFLI = -4163 ' Excel.XlFindLookIn.xlValues&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;End Select&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Try&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; Success = True&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; With range&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cell = .Find(What:=searchText, LookIn:=xlFLI, SearchOrder:=order, MatchCase:=matchCase)&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; If Not cell Is Nothing Then&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; firstAddress = cell.Address&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Do&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; If Trim(cell.Value) = Trim(searchText) Then&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cells.Rows.Add(cell.Address)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; End If&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cell = .FindNext(cell)&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; If cell Is Nothing Or cell.Address = firstAddress Then&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Exit Do&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; End If&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Loop&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; End If&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; End With&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; Matches = cells&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Catch e As Exception&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; Success = False&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; Message = e.Message&lt;/DIV&gt;&lt;DIV&gt;Finally&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; wb = Nothing&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; ws = Nothing&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; excel = Nothing&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; sheet = Nothing&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; cell = Nothing&lt;/DIV&gt;&lt;DIV&gt;End Try&lt;/DIV&gt;&lt;P&gt;----------------------------------------------------------&lt;/P&gt;&lt;P&gt;- Publish your action and now run&lt;/P&gt;&lt;P&gt;see example below&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mohamad_747_5-1743488888156.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/40604i5ECE9F970FADB7ED/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Mohamad_747_5-1743488888156.png" alt="Mohamad_747_5-1743488888156.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;i am looking for Haris.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I provide this&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mohamad_747_6-1743488952386.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/40605iBA61835F28924813/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Mohamad_747_6-1743488952386.png" alt="Mohamad_747_6-1743488952386.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My matches give me the good answer&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mohamad_747_7-1743488995588.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/40606i964851682D13861A/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Mohamad_747_7-1743488995588.png" alt="Mohamad_747_7-1743488995588.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Try it and let us know with&amp;nbsp;&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/15"&gt;@Michael_S&lt;/a&gt;&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Apr 2025 06:30:35 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/How-to-get-location-from-quot-MS-Excel-VBO-Find-in-Worksheet/m-p/119713#M4267</guid>
      <dc:creator>Mohamad_Dakkouri</dc:creator>
      <dc:date>2025-04-01T06:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to get location from "MS Excel VBO-Find in Worksheet"</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/How-to-get-location-from-quot-MS-Excel-VBO-Find-in-Worksheet/m-p/119730#M4271</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/61407"&gt;@jiyeon_gim&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have built the code to achieve your requirement.&lt;/P&gt;&lt;P&gt;Make a copy of&amp;nbsp;Find in Worksheet and update the below code in code stage&lt;/P&gt;&lt;P&gt;Dim wb, ws, excel, sheet, range, cell As Object&lt;BR /&gt;Dim firstAddress As String&lt;BR /&gt;Dim cells As New DataTable()&lt;/P&gt;&lt;P&gt;' Initialize the DataTable to store cell addresses&lt;BR /&gt;cells.Columns.Add("Cell", GetType(String))&lt;/P&gt;&lt;P&gt;' Get the workbook and worksheet&lt;BR /&gt;wb = GetWorkbook(Handle, Workbook)&lt;BR /&gt;ws = GetWorksheet(Handle, Workbook, Worksheet)&lt;/P&gt;&lt;P&gt;' Activate the workbook and worksheet&lt;BR /&gt;wb.Activate()&lt;BR /&gt;ws.Activate()&lt;/P&gt;&lt;P&gt;excel = ws.Application&lt;BR /&gt;sheet = excel.ActiveSheet&lt;/P&gt;&lt;P&gt;' Determine the search range&lt;BR /&gt;If (Len(Trim(searchRange)) &amp;gt; 0) Then&lt;BR /&gt;range = ws.Range(searchRange)&lt;BR /&gt;Else&lt;BR /&gt;range = ws.UsedRange&lt;BR /&gt;End If&lt;/P&gt;&lt;P&gt;' Set the search order value&lt;BR /&gt;Dim order As Integer = 0&lt;BR /&gt;If (searchOrder.Trim().Substring(0, 1).ToUpper() = "C") Then&lt;BR /&gt;order = 2 ' xlByColumns&lt;BR /&gt;Else&lt;BR /&gt;order = 1 ' xlByRows&lt;BR /&gt;End If&lt;/P&gt;&lt;P&gt;' Determine what type of data we'll be searching in (Comments, Formulas, or Values)&lt;BR /&gt;Dim searchLoc As String = searchIn.Trim().Substring(0, 1).ToUpper()&lt;BR /&gt;Dim xlFLI As Integer = 0&lt;/P&gt;&lt;P&gt;' Set the search location&lt;BR /&gt;Select Case searchLoc&lt;BR /&gt;Case "C"&lt;BR /&gt;xlFLI = -4144 ' Excel.XlFindLookIn.xlComments&lt;BR /&gt;Case "F"&lt;BR /&gt;xlFLI = -4123 ' Excel.XlFindLookIn.xlFormulas&lt;BR /&gt;Case Else&lt;BR /&gt;xlFLI = -4163 ' Excel.XlFindLookIn.xlValues&lt;BR /&gt;End Select&lt;/P&gt;&lt;P&gt;Try&lt;BR /&gt;Success = True&lt;/P&gt;&lt;P&gt;' Start searching in the defined range&lt;BR /&gt;With range&lt;BR /&gt;' Find the first occurrence of the exact match ("Haris")&lt;BR /&gt;cell = .Find(What:=searchText, LookIn:=xlFLI, SearchOrder:=order, MatchCase:=True)&lt;/P&gt;&lt;P&gt;' If an exact match is found, process it&lt;BR /&gt;If Not cell Is Nothing Then&lt;BR /&gt;firstAddress = cell.Address&lt;/P&gt;&lt;P&gt;Do&lt;BR /&gt;' Check if the cell value matches exactly "Haris"&lt;BR /&gt;If Trim(cell.Value) = searchText Then&lt;BR /&gt;' Add the exact match cell address to the DataTable (or collection)&lt;BR /&gt;cells.Rows.Add(cell.Address)&lt;BR /&gt;End If&lt;/P&gt;&lt;P&gt;' Continue searching for the next match&lt;BR /&gt;cell = .FindNext(cell)&lt;/P&gt;&lt;P&gt;' Exit loop if we have looped around to the first match&lt;BR /&gt;If cell.Address = firstAddress Then&lt;BR /&gt;Exit Do&lt;BR /&gt;End If&lt;BR /&gt;Loop While Not cell Is Nothing&lt;BR /&gt;End If&lt;BR /&gt;End With&lt;/P&gt;&lt;P&gt;' Set the Matches result to the collection or DataTable&lt;BR /&gt;Matches = cells&lt;/P&gt;&lt;P&gt;Catch e As Exception&lt;BR /&gt;Success = False&lt;BR /&gt;Message = e.Message&lt;BR /&gt;Finally&lt;BR /&gt;wb = Nothing&lt;BR /&gt;ws = Nothing&lt;BR /&gt;excel = Nothing&lt;BR /&gt;sheet = Nothing&lt;BR /&gt;cell = Nothing&lt;BR /&gt;End Try&lt;BR /&gt;To avoid error please rename the code stage and publish the page.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="faheemsd_5-1743510499322.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/40613i950886A72781D863/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="faheemsd_5-1743510499322.png" alt="faheemsd_5-1743510499322.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now call the above action in MS Excel VBO, give the search name as "Haris" and now you will get only Haris cell locations as Output result&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="faheemsd_6-1743510592777.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/40614iFB17C4A6FEBD399B/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="faheemsd_6-1743510592777.png" alt="faheemsd_6-1743510592777.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="faheemsd_7-1743510628743.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/40615iE56091A33793F0D5/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="faheemsd_7-1743510628743.png" alt="faheemsd_7-1743510628743.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="faheemsd_8-1743510658997.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/40616i6FF9C707955E09DA/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="faheemsd_8-1743510658997.png" alt="faheemsd_8-1743510658997.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please let us know if you face any difficulties in Implementing above.&lt;/P&gt;&lt;P&gt;In addition to it I'm attaching the Input Parameter descripts for the Find in Worksheet page&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="faheemsd_9-1743510773411.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/40617iD8C475B627347B51/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="faheemsd_9-1743510773411.png" alt="faheemsd_9-1743510773411.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/15"&gt;@Michael_S&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;The above code should help our Blue Prism users obtain the exact output results as cell locations&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Apr 2025 12:33:33 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/How-to-get-location-from-quot-MS-Excel-VBO-Find-in-Worksheet/m-p/119730#M4271</guid>
      <dc:creator>faheemsd</dc:creator>
      <dc:date>2025-04-01T12:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to get location from "MS Excel VBO-Find in Worksheet"</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/How-to-get-location-from-quot-MS-Excel-VBO-Find-in-Worksheet/m-p/119731#M4272</link>
      <description>&lt;P&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/36564"&gt;@faheemsd&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/2407"&gt;@Mohamad_Dakkouri&lt;/a&gt;&amp;nbsp;-&amp;gt; WOW. Amazing responses, thank you for being so helpful!&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/61407"&gt;@jiyeon_gim&lt;/a&gt;&amp;nbsp;- let us know if this gets you past your blocker &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Apr 2025 12:36:02 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/How-to-get-location-from-quot-MS-Excel-VBO-Find-in-Worksheet/m-p/119731#M4272</guid>
      <dc:creator>Michael_S</dc:creator>
      <dc:date>2025-04-01T12:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to get location from "MS Excel VBO-Find in Worksheet"</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/How-to-get-location-from-quot-MS-Excel-VBO-Find-in-Worksheet/m-p/119757#M4275</link>
      <description>&lt;P&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/2407"&gt;@Mohamad_Dakkouri&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/36564"&gt;@faheemsd&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/15"&gt;@Michael_S&lt;/a&gt;&amp;nbsp;Thank you for your help!&lt;/P&gt;&lt;P&gt;I could make another object and fix my problem!&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2025 06:50:29 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/How-to-get-location-from-quot-MS-Excel-VBO-Find-in-Worksheet/m-p/119757#M4275</guid>
      <dc:creator>jiyeon_gim</dc:creator>
      <dc:date>2025-04-03T06:50:29Z</dc:date>
    </item>
  </channel>
</rss>

