{"id":230,"date":"2018-11-20T23:28:53","date_gmt":"2018-11-20T23:28:53","guid":{"rendered":"http:\/\/www.vbastring.com\/blog\/?p=230"},"modified":"2019-02-17T21:10:43","modified_gmt":"2019-02-17T21:10:43","slug":"how-to-make-a-basic-excel-vba-userform-search-box","status":"publish","type":"post","link":"https:\/\/vbastring.com\/blog\/2018\/11\/20\/how-to-make-a-basic-excel-vba-userform-search-box\/","title":{"rendered":"How To Make A Basic Excel VBA UserForm Search Box"},"content":{"rendered":"<p>In this example I am going to show you how to query your worksheet for particular information using a UserForm.  <\/p>\n<p>Basically we are going to have a worksheet with data in it, and ask it a simple question:<\/p>\n<blockquote><p>&#8220;Does the criteria I selected in the UserForm exist in the worksheet?&#8221;<\/p><\/blockquote>\n<p>Here is a simple image of the worksheet:<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/www.vbastring.com\/blog\/wp-content\/uploads\/2018\/11\/Excel_VBA_UserForm_Search_Box_1.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.vbastring.com\/blog\/wp-content\/uploads\/2018\/11\/Excel_VBA_UserForm_Search_Box_1.png?resize=622%2C820\" alt=\"Excel_VBA_UserForm_Search_Box_1\" width=\"622\" height=\"820\" class=\"alignleft size-full wp-image-233\" \/><\/a><\/p>\n<p>&#8230;and here is the simple UserForm which is shown whenever the &#8220;Search&#8221; button is clicked:<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/www.vbastring.com\/blog\/wp-content\/uploads\/2018\/11\/Excel_VBA_UserForm_Search_Box_2.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.vbastring.com\/blog\/wp-content\/uploads\/2018\/11\/Excel_VBA_UserForm_Search_Box_2.png?resize=1340%2C696\" alt=\"Excel_VBA_UserForm_Search_Box_2\" width=\"1340\" height=\"696\" class=\"alignleft size-full wp-image-234\" \/><\/a><\/p>\n<p>When the UserForm &#8220;intializes&#8221; the comboboxes are filled in:<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/www.vbastring.com\/blog\/wp-content\/uploads\/2018\/11\/Excel_VBA_UserForm_Search_Box_3.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.vbastring.com\/blog\/wp-content\/uploads\/2018\/11\/Excel_VBA_UserForm_Search_Box_3.png?resize=602%2C405\" alt=\"Excel_VBA_UserForm_Search_Box_3\" width=\"602\" height=\"405\" class=\"alignleft size-full wp-image-236\" \/><\/a><\/p>\n<p>Here is the code I am using:<\/p>\n<pre class=\"lang:vb decode:true \" >Private Sub UserForm_Initialize()\r\n    LoadBoxes\r\nEnd Sub\r\n\r\n\r\nSub LoadBoxes()\r\n    Dim intCounter As Integer\r\n    \r\n    With Me.cboYear\r\n        .Clear\r\n        For intCounter = 1 To 70\r\n            .AddItem Sheets(\"Sheet1\").Cells(intCounter, 1).Value\r\n        Next intCounter\r\n    End With\r\n\r\n    With Me.cboMake\r\n        .Clear\r\n        For intCounter = 1 To 70\r\n            .AddItem Sheets(\"Sheet1\").Cells(intCounter, 2).Value\r\n        Next intCounter\r\n    End With\r\n    \r\n    With Me.cboModel\r\n        .Clear\r\n        For intCounter = 1 To 70\r\n            .AddItem Sheets(\"Sheet1\").Cells(intCounter, 3).Value\r\n        Next intCounter\r\n    End With\r\nEnd Sub<\/pre>\n<p><strong>Since I am using the &#8220;Load&#8221; feature in multiple places, I am putting all the code in the &#8220;LoadBoxes&#8221; procedure.<\/strong><\/p>\n<p>After making my selections, I click on the &#8220;Search&#8221; button and a SQL statement is executed and a records found count is taken.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/www.vbastring.com\/blog\/wp-content\/uploads\/2018\/11\/Excel_VBA_UserForm_Search_Box_4.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.vbastring.com\/blog\/wp-content\/uploads\/2018\/11\/Excel_VBA_UserForm_Search_Box_4.png?resize=1327%2C864\" alt=\"Excel_VBA_UserForm_Search_Box_4\" width=\"1327\" height=\"864\" class=\"alignleft size-full wp-image-238\" \/><\/a><\/p>\n<p>Here is the SQL statement I am using:<\/p>\n<pre class=\"lang:vb decode:true \" >Private Sub btnSearch_Click()\r\n    'Purpose: Find the item on the screen based on the textbox selections\r\n    \r\n    Dim cnn As Object\r\n    Dim rst As Object\r\n    Dim strSQL As String\r\n    Dim lngCount As Long\r\n    \r\n    'Set up the connection to the Excel worksheet\r\n    Set cnn = CreateObject(\"ADODB.Connection\")\r\n    With cnn\r\n        .Provider = \"Microsoft.ACE.OLEDB.12.0\"\r\n        .ConnectionString = \"Data Source=\" &amp; ThisWorkbook.Path &amp; \"\\\" &amp; ThisWorkbook.Name &amp; \";\" &amp; _\r\n            \"Extended Properties=\"\"Excel 12.0 Xml;HDR=YES\"\";\"\r\n        .Open\r\n    End With\r\n    \r\n    \r\n    'In order to do queries with a WHERE clause, you need to name the range, otherwise use the worksheet name.\r\n    'strSQL = \"SELECT * FROM [Sheet1$]\"\r\n    strSQL = \"SELECT * FROM [newtable] WHERE [Year] =\" &amp; Me.cboYear &amp; \" AND [Make] = '\" &amp; Me.cboMake &amp; \"' AND [Model] = '\" &amp; Me.cboModel &amp; \"'\"\r\n\r\n    Set rst = cnn.Execute(strSQL)\r\n    \r\n    lngCount = 0\r\n    \r\n    If Not rst.EOF Then\r\n        Do Until rst.EOF\r\n          \r\n           lngCount = lngCount + 1\r\n           rst.Movenext\r\n        Loop\r\n        \r\n        rst.Close\r\n        Set rst = Nothing\r\n        cnn.Close\r\n        Set cnn = Nothing\r\n        \r\n        Me.lblMessage.Caption = lngCount &amp; \" record(s) found based on your selections.\"\r\n        DoEvents\r\n    Else\r\n    \r\n        Me.lblMessage.Caption = \"No data found based on your selections.\"\r\n        DoEvents\r\n    End If\r\n\r\n    \r\nEnd Sub<\/pre>\n<p>Excel views data that is formatted in consecutive columns as a table.   So if I want to select the data from the entire sheet I can just use &#8220;[Sheet1$]&#8221;<\/p>\n<p>However, since I want the ability to query individual columns, I need to set up a <strong>&#8220;named range&#8221;<\/strong>.<\/p>\n<p>So here is the code all together:<\/p>\n<pre class=\"lang:vb decode:true \" >Private Sub btnReset_Click()\r\n    On Error Resume Next\r\n    Selection.AutoFilter\r\n    \r\n    Me.cboYear.Clear\r\n    Me.cboMake.Clear\r\n    Me.cboModel.Clear\r\n    \r\n    Me.lblMessage.Caption = \"Ready\"\r\n     \r\n    LoadBoxes\r\n    \r\nEnd Sub\r\n\r\nPrivate Sub UserForm_Initialize()\r\n    LoadBoxes\r\nEnd Sub\r\n\r\n\r\nSub LoadBoxes()\r\n    Dim intCounter As Integer\r\n    \r\n    With Me.cboYear\r\n        .Clear\r\n        For intCounter = 1 To 70\r\n            .AddItem Sheets(\"Sheet1\").Cells(intCounter, 1).Value\r\n        Next intCounter\r\n    End With\r\n\r\n    With Me.cboMake\r\n        .Clear\r\n        For intCounter = 1 To 70\r\n            .AddItem Sheets(\"Sheet1\").Cells(intCounter, 2).Value\r\n        Next intCounter\r\n    End With\r\n    \r\n    With Me.cboModel\r\n        .Clear\r\n        For intCounter = 1 To 70\r\n            .AddItem Sheets(\"Sheet1\").Cells(intCounter, 3).Value\r\n        Next intCounter\r\n    End With\r\nEnd Sub\r\nPrivate Sub btnSearch_Click()\r\n    'Purpose: Find the item on the screen based on the textbox selections\r\n    \r\n    Dim cnn As Object\r\n    Dim rst As Object\r\n    Dim strSQL As String\r\n    Dim lngCount As Long\r\n    \r\n    'Set up the connection to the Excel worksheet\r\n    Set cnn = CreateObject(\"ADODB.Connection\")\r\n    With cnn\r\n        .Provider = \"Microsoft.ACE.OLEDB.12.0\"\r\n        .ConnectionString = \"Data Source=\" &amp; ThisWorkbook.Path &amp; \"\\\" &amp; ThisWorkbook.Name &amp; \";\" &amp; _\r\n            \"Extended Properties=\"\"Excel 12.0 Xml;HDR=YES\"\";\"\r\n        .Open\r\n    End With\r\n    \r\n    \r\n    'In order to do queries with a WHERE clause, you need to name the range, otherwise use the worksheet name.\r\n    'strSQL = \"SELECT * FROM [Sheet1$]\"\r\n    strSQL = \"SELECT * FROM [newtable] WHERE [Year] =\" &amp; Me.cboYear &amp; \" AND [Make] = '\" &amp; Me.cboMake &amp; \"' AND [Model] = '\" &amp; Me.cboModel &amp; \"'\"\r\n\r\n    Set rst = cnn.Execute(strSQL)\r\n    \r\n    lngCount = 0\r\n    \r\n    If Not rst.EOF Then\r\n        Do Until rst.EOF\r\n           'output = output &amp; rst(0) &amp; \";\" &amp; rst(1) &amp; \";\" &amp; rst(2) &amp; vbNewLine\r\n           'Debug.Print rst(0); \";\" &amp; rst(1) &amp; \";\" &amp; rst(2)\r\n           \r\n           lngCount = lngCount + 1\r\n           rst.Movenext\r\n        Loop\r\n        \r\n        rst.Close\r\n        Set rst = Nothing\r\n        cnn.Close\r\n        Set cnn = Nothing\r\n        \r\n        Me.lblMessage.Caption = lngCount &amp; \" record(s) found based on your selections.\"\r\n        DoEvents\r\n    Else\r\n    \r\n        Me.lblMessage.Caption = \"No data found based on your selections.\"\r\n        DoEvents\r\n    End If\r\n\r\n    \r\nEnd Sub<\/pre>\n<p>Let me know if you have any questions.<\/p>\n<p>[simple_contact_form]\t<\/p>\n<p>****************************************************<\/p>\n<table border=\"1\" width=\"100%\">\n<tr>\n<td align=\"middle\">\n<div class=\"AW-Form-1094354588\"><\/div>\n<p><script type=\"text\/javascript\">(function(d, s, id) {\n    var js, fjs = d.getElementsByTagName(s)[0];\n    if (d.getElementById(id)) return;\n    js = d.createElement(s); js.id = id;\n    js.src = \"\/\/forms.aweber.com\/form\/88\/1094354588.js\";\n    fjs.parentNode.insertBefore(js, fjs);\n    }(document, \"script\", \"aweber-wjs-kkrwj13ov\"));\n<\/script>\n<\/td>\n<\/tr>\n<\/table>\n<p><center><br \/>\n<a href=\"http:\/\/www.getyourboomback.com\/products\/amino-boosters#_l_2pn\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/leaddyno-client-images.s3.amazonaws.com\/cffa678c5db61bb2476a50e2198c69454765190c\/79c8cd6d7bcc3fb81771441a1a1aa70677e2c8b5_GYBB-580x394-boosters-01.jpg?ssl=1\" \/><\/a><\/center>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this example I am going to show you how to query your worksheet for particular information using a UserForm. Basically we are going to have a worksheet with data in it, and ask it a simple question: &#8220;Does the criteria I selected in the UserForm exist in the worksheet?&#8221; Here is a simple image [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"nf_dc_page":"","om_disable_all_campaigns":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[],"tags":[],"class_list":["post-230","post","type-post","status-publish","format-standard","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How To Make A Basic Excel VBA UserForm Search Box - My Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/vbastring.com\/blog\/2018\/11\/20\/how-to-make-a-basic-excel-vba-userform-search-box\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Make A Basic Excel VBA UserForm Search Box - My Blog\" \/>\n<meta property=\"og:description\" content=\"In this example I am going to show you how to query your worksheet for particular information using a UserForm. Basically we are going to have a worksheet with data in it, and ask it a simple question: &#8220;Does the criteria I selected in the UserForm exist in the worksheet?&#8221; Here is a simple image [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vbastring.com\/blog\/2018\/11\/20\/how-to-make-a-basic-excel-vba-userform-search-box\/\" \/>\n<meta property=\"og:site_name\" content=\"My Blog\" \/>\n<meta property=\"article:published_time\" content=\"2018-11-20T23:28:53+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-02-17T21:10:43+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.vbastring.com\/blog\/wp-content\/uploads\/2018\/11\/Excel_VBA_UserForm_Search_Box_1.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/vbastring.com\\\/blog\\\/2018\\\/11\\\/20\\\/how-to-make-a-basic-excel-vba-userform-search-box\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vbastring.com\\\/blog\\\/2018\\\/11\\\/20\\\/how-to-make-a-basic-excel-vba-userform-search-box\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/vbastring.com\\\/blog\\\/#\\\/schema\\\/person\\\/e1de0b30e98940381697872449c341f5\"},\"headline\":\"How To Make A Basic Excel VBA UserForm Search Box\",\"datePublished\":\"2018-11-20T23:28:53+00:00\",\"dateModified\":\"2019-02-17T21:10:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/vbastring.com\\\/blog\\\/2018\\\/11\\\/20\\\/how-to-make-a-basic-excel-vba-userform-search-box\\\/\"},\"wordCount\":216,\"image\":{\"@id\":\"https:\\\/\\\/vbastring.com\\\/blog\\\/2018\\\/11\\\/20\\\/how-to-make-a-basic-excel-vba-userform-search-box\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/www.vbastring.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/11\\\/Excel_VBA_UserForm_Search_Box_1.png\",\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vbastring.com\\\/blog\\\/2018\\\/11\\\/20\\\/how-to-make-a-basic-excel-vba-userform-search-box\\\/\",\"url\":\"https:\\\/\\\/vbastring.com\\\/blog\\\/2018\\\/11\\\/20\\\/how-to-make-a-basic-excel-vba-userform-search-box\\\/\",\"name\":\"How To Make A Basic Excel VBA UserForm Search Box - My Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vbastring.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/vbastring.com\\\/blog\\\/2018\\\/11\\\/20\\\/how-to-make-a-basic-excel-vba-userform-search-box\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/vbastring.com\\\/blog\\\/2018\\\/11\\\/20\\\/how-to-make-a-basic-excel-vba-userform-search-box\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/www.vbastring.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/11\\\/Excel_VBA_UserForm_Search_Box_1.png\",\"datePublished\":\"2018-11-20T23:28:53+00:00\",\"dateModified\":\"2019-02-17T21:10:43+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/vbastring.com\\\/blog\\\/#\\\/schema\\\/person\\\/e1de0b30e98940381697872449c341f5\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vbastring.com\\\/blog\\\/2018\\\/11\\\/20\\\/how-to-make-a-basic-excel-vba-userform-search-box\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vbastring.com\\\/blog\\\/2018\\\/11\\\/20\\\/how-to-make-a-basic-excel-vba-userform-search-box\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vbastring.com\\\/blog\\\/2018\\\/11\\\/20\\\/how-to-make-a-basic-excel-vba-userform-search-box\\\/#primaryimage\",\"url\":\"http:\\\/\\\/www.vbastring.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/11\\\/Excel_VBA_UserForm_Search_Box_1.png\",\"contentUrl\":\"http:\\\/\\\/www.vbastring.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/11\\\/Excel_VBA_UserForm_Search_Box_1.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vbastring.com\\\/blog\\\/2018\\\/11\\\/20\\\/how-to-make-a-basic-excel-vba-userform-search-box\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/vbastring.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Make A Basic Excel VBA UserForm Search Box\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/vbastring.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/vbastring.com\\\/blog\\\/\",\"name\":\"My Blog\",\"description\":\"My WordPress Blog\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/vbastring.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/vbastring.com\\\/blog\\\/#\\\/schema\\\/person\\\/e1de0b30e98940381697872449c341f5\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b2feaa698a4bd91b409df1beb5ff6acc2d7842d4f78543d413ebd468bc0171af?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b2feaa698a4bd91b409df1beb5ff6acc2d7842d4f78543d413ebd468bc0171af?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b2feaa698a4bd91b409df1beb5ff6acc2d7842d4f78543d413ebd468bc0171af?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\\\/\\\/vbastring.com\\\/blog\"],\"url\":\"https:\\\/\\\/vbastring.com\\\/blog\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Make A Basic Excel VBA UserForm Search Box - My Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/vbastring.com\/blog\/2018\/11\/20\/how-to-make-a-basic-excel-vba-userform-search-box\/","og_locale":"en_US","og_type":"article","og_title":"How To Make A Basic Excel VBA UserForm Search Box - My Blog","og_description":"In this example I am going to show you how to query your worksheet for particular information using a UserForm. Basically we are going to have a worksheet with data in it, and ask it a simple question: &#8220;Does the criteria I selected in the UserForm exist in the worksheet?&#8221; Here is a simple image [&hellip;]","og_url":"https:\/\/vbastring.com\/blog\/2018\/11\/20\/how-to-make-a-basic-excel-vba-userform-search-box\/","og_site_name":"My Blog","article_published_time":"2018-11-20T23:28:53+00:00","article_modified_time":"2019-02-17T21:10:43+00:00","og_image":[{"url":"http:\/\/www.vbastring.com\/blog\/wp-content\/uploads\/2018\/11\/Excel_VBA_UserForm_Search_Box_1.png","type":"","width":"","height":""}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/vbastring.com\/blog\/2018\/11\/20\/how-to-make-a-basic-excel-vba-userform-search-box\/#article","isPartOf":{"@id":"https:\/\/vbastring.com\/blog\/2018\/11\/20\/how-to-make-a-basic-excel-vba-userform-search-box\/"},"author":{"name":"admin","@id":"https:\/\/vbastring.com\/blog\/#\/schema\/person\/e1de0b30e98940381697872449c341f5"},"headline":"How To Make A Basic Excel VBA UserForm Search Box","datePublished":"2018-11-20T23:28:53+00:00","dateModified":"2019-02-17T21:10:43+00:00","mainEntityOfPage":{"@id":"https:\/\/vbastring.com\/blog\/2018\/11\/20\/how-to-make-a-basic-excel-vba-userform-search-box\/"},"wordCount":216,"image":{"@id":"https:\/\/vbastring.com\/blog\/2018\/11\/20\/how-to-make-a-basic-excel-vba-userform-search-box\/#primaryimage"},"thumbnailUrl":"http:\/\/www.vbastring.com\/blog\/wp-content\/uploads\/2018\/11\/Excel_VBA_UserForm_Search_Box_1.png","inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/vbastring.com\/blog\/2018\/11\/20\/how-to-make-a-basic-excel-vba-userform-search-box\/","url":"https:\/\/vbastring.com\/blog\/2018\/11\/20\/how-to-make-a-basic-excel-vba-userform-search-box\/","name":"How To Make A Basic Excel VBA UserForm Search Box - My Blog","isPartOf":{"@id":"https:\/\/vbastring.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vbastring.com\/blog\/2018\/11\/20\/how-to-make-a-basic-excel-vba-userform-search-box\/#primaryimage"},"image":{"@id":"https:\/\/vbastring.com\/blog\/2018\/11\/20\/how-to-make-a-basic-excel-vba-userform-search-box\/#primaryimage"},"thumbnailUrl":"http:\/\/www.vbastring.com\/blog\/wp-content\/uploads\/2018\/11\/Excel_VBA_UserForm_Search_Box_1.png","datePublished":"2018-11-20T23:28:53+00:00","dateModified":"2019-02-17T21:10:43+00:00","author":{"@id":"https:\/\/vbastring.com\/blog\/#\/schema\/person\/e1de0b30e98940381697872449c341f5"},"breadcrumb":{"@id":"https:\/\/vbastring.com\/blog\/2018\/11\/20\/how-to-make-a-basic-excel-vba-userform-search-box\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vbastring.com\/blog\/2018\/11\/20\/how-to-make-a-basic-excel-vba-userform-search-box\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vbastring.com\/blog\/2018\/11\/20\/how-to-make-a-basic-excel-vba-userform-search-box\/#primaryimage","url":"http:\/\/www.vbastring.com\/blog\/wp-content\/uploads\/2018\/11\/Excel_VBA_UserForm_Search_Box_1.png","contentUrl":"http:\/\/www.vbastring.com\/blog\/wp-content\/uploads\/2018\/11\/Excel_VBA_UserForm_Search_Box_1.png"},{"@type":"BreadcrumbList","@id":"https:\/\/vbastring.com\/blog\/2018\/11\/20\/how-to-make-a-basic-excel-vba-userform-search-box\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vbastring.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How To Make A Basic Excel VBA UserForm Search Box"}]},{"@type":"WebSite","@id":"https:\/\/vbastring.com\/blog\/#website","url":"https:\/\/vbastring.com\/blog\/","name":"My Blog","description":"My WordPress Blog","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/vbastring.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/vbastring.com\/blog\/#\/schema\/person\/e1de0b30e98940381697872449c341f5","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/b2feaa698a4bd91b409df1beb5ff6acc2d7842d4f78543d413ebd468bc0171af?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/b2feaa698a4bd91b409df1beb5ff6acc2d7842d4f78543d413ebd468bc0171af?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b2feaa698a4bd91b409df1beb5ff6acc2d7842d4f78543d413ebd468bc0171af?s=96&d=mm&r=g","caption":"admin"},"sameAs":["https:\/\/vbastring.com\/blog"],"url":"https:\/\/vbastring.com\/blog\/author\/admin\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/vbastring.com\/blog\/wp-json\/wp\/v2\/posts\/230","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vbastring.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vbastring.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vbastring.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vbastring.com\/blog\/wp-json\/wp\/v2\/comments?post=230"}],"version-history":[{"count":5,"href":"https:\/\/vbastring.com\/blog\/wp-json\/wp\/v2\/posts\/230\/revisions"}],"predecessor-version":[{"id":524,"href":"https:\/\/vbastring.com\/blog\/wp-json\/wp\/v2\/posts\/230\/revisions\/524"}],"wp:attachment":[{"href":"https:\/\/vbastring.com\/blog\/wp-json\/wp\/v2\/media?parent=230"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vbastring.com\/blog\/wp-json\/wp\/v2\/categories?post=230"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vbastring.com\/blog\/wp-json\/wp\/v2\/tags?post=230"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}