{"id":450,"date":"2019-02-06T22:36:26","date_gmt":"2019-02-06T22:36:26","guid":{"rendered":"http:\/\/www.vbastring.com\/blog\/?p=450"},"modified":"2019-02-17T21:01:22","modified_gmt":"2019-02-17T21:01:22","slug":"how-to-find-the-last-row-in-excel-vba","status":"publish","type":"post","link":"https:\/\/vbastring.com\/blog\/2019\/02\/06\/how-to-find-the-last-row-in-excel-vba\/","title":{"rendered":"How To Find The Last Row In Excel VBA"},"content":{"rendered":"<p>In this post I am going to show you how you can find the last row in excel vba, so you can enter your new data.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/www.vbastring.com\/blog\/wp-content\/uploads\/2019\/02\/last_row_in_excel_vba.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.vbastring.com\/blog\/wp-content\/uploads\/2019\/02\/last_row_in_excel_vba.png?resize=435%2C804\" alt=\"\" width=\"435\" height=\"804\" class=\"alignleft size-full wp-image-452\" \/><\/a><\/p>\n<p>On the previous screen I have a list of random names I generated from <a href=\"https:\/\/www.generatedata.com\/\" rel=\"noopener\" target=\"_blank\">https:\/\/www.generatedata.com\/<\/a><\/p>\n<p><a href=\"https:\/\/i0.wp.com\/www.vbastring.com\/blog\/wp-content\/uploads\/2019\/02\/last_row_in_excel_vba2.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.vbastring.com\/blog\/wp-content\/uploads\/2019\/02\/last_row_in_excel_vba2.png?resize=1199%2C500\" alt=\"\" width=\"1199\" height=\"500\" class=\"alignleft size-full wp-image-453\" \/><\/a><\/p>\n<p><strong>When the button &#8220;View\/Edit Records&#8221; is clicked, we&#8217;re launching a UserForm which allows us to move back and forth through the records, edit, and add new ones.<\/strong><\/p>\n<p>This is what happens when the UserForm is clicked:<\/p>\n<pre class=\"lang:vb decode:true \" >Private Sub UserForm_Initialize()\r\n    Range(\"A2\").Select\r\n    Me.txtName = Range(\"A2\")\r\nEnd Sub\r\n<\/pre>\n<p>Cell A2 is selected and the textbox shows the value of Cell A2.<\/p>\n<p>These are the buttons which control record navigation:<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/www.vbastring.com\/blog\/wp-content\/uploads\/2019\/02\/last_row_in_excel_vba3.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.vbastring.com\/blog\/wp-content\/uploads\/2019\/02\/last_row_in_excel_vba3.png?resize=496%2C298\" alt=\"\" width=\"496\" height=\"298\" class=\"alignleft size-full wp-image-458\" \/><\/a><\/p>\n<pre>\r\n...and here is the code:\r\n<\/pre>\n<pre class=\"lang:vb decode:true \" >'We will make a modular scope variable because we need this _\r\n    row reference as long as the form is open\r\n\r\nDim m_lngRow As Long\r\n\r\nPrivate Sub btnForward_Click()\r\n    \r\n    'increment the active row and sync the UserForm and the Activesheet\r\n    m_lngRow = ActiveCell.Row + 1\r\n    \r\n    'select the next cell and render the new data on the UserForm\r\n    Range(\"A\" &amp; m_lngRow).Select\r\n    Me.txtName = Range(\"A\" &amp; m_lngRow)\r\nEnd Sub\r\n\r\n\r\nPrivate Sub btnBack_Click()\r\n    \r\n    'increment the active row and sync the UserForm and the Activesheet\r\n    m_lngRow = ActiveCell.Row - 1\r\n    \r\n    'select the next cell and render the new data on the UserForm\r\n    Range(\"A\" &amp; m_lngRow).Select\r\n    Me.txtName = Range(\"A\" &amp; m_lngRow)\r\n    \r\nEnd Sub<\/pre>\n<p>Again, we have a modular scope variable because we need to know the row being referenced as long as the form is open, and if we just form it in the procedure, the scope will only be when one of the buttons are clicked.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/www.vbastring.com\/blog\/wp-content\/uploads\/2019\/02\/last_row_in_excel_vba4.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.vbastring.com\/blog\/wp-content\/uploads\/2019\/02\/last_row_in_excel_vba4.png?resize=495%2C297\" alt=\"\" width=\"495\" height=\"297\" class=\"alignleft size-full wp-image-459\" \/><\/a><\/p>\n<p><strong>The &#8220;New&#8221; button is really the jist of this post.  <\/strong><\/p>\n<p>The plan is:<br \/>\n**First find the last cell used, then find the row of the cell.<\/p>\n<p><strong>***We could move from the &#8220;top down&#8221;, or the &#8220;bottom up&#8221;.<\/strong><\/p>\n<p><strong>With the &#8220;top down&#8221; approach, we&#8217;ll find the next available cell, but the blank cell may be between 2 already used cells. <\/strong> <\/p>\n<p><strong>In my opinion, we can move to the last row on the worksheet, and then upwards to find the last used cell.  <\/strong><\/p>\n<p>This is the better option IMO.<\/p>\n<pre class=\"lang:vb decode:true \" >Private Sub btnNew_Click()\r\n    Dim lngLastRow As Long\r\n    \r\n    'Find the last row used\r\n    lngLastRow = FindLastRow(\"A\")\r\n    \r\n    lngLastRow = lngLastRow + 1\r\n    Range(\"A\" &amp; lngLastRow).Select\r\n    Me.txtName = Range(\"A\" &amp; lngLastRow)\r\nEnd Sub\r\n\r\nFunction FindLastRow(WhichColumn As String) As Long\r\n\r\n    Dim lngLastRow As Long\r\n    \r\n    'move to the last row on the worksheet and find the last used cell.\r\n    \r\n    With ActiveSheet\r\n        lngLastRow = ActiveSheet.Cells(1048576, WhichColumn).End(xlUp).Row\r\n    End With\r\n\r\n    FindLastRow = lngLastRow\r\n\r\nEnd Function<\/pre>\n<p>Now that we found the last row, we can enter new data:<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/www.vbastring.com\/blog\/wp-content\/uploads\/2019\/02\/last_row_in_excel_vba5.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.vbastring.com\/blog\/wp-content\/uploads\/2019\/02\/last_row_in_excel_vba5.png?resize=507%2C307\" alt=\"\" width=\"507\" height=\"307\" class=\"alignleft size-full wp-image-462\" \/><\/a><\/p>\n<pre class=\"lang:vb decode:true \" >Private Sub btnEnter_Click()\r\n    Range(\"A\" &amp; ActiveCell.Row) = Me.txtName\r\n    \r\nEnd Sub\r\n<\/pre>\n<p>This is pretty simple, we are just setting the cell value = to the form value.<\/p>\n<p><strong>Here is all the code:<\/strong><\/p>\n<pre class=\"lang:vb decode:true \" >\r\n\r\n'We will make a modular scope variable because we need this _\r\n    row reference as long as the form is open\r\n\r\nDim m_lngRow As Long\r\n\r\nPrivate Sub btnForward_Click()\r\n    \r\n    'increment the active row and sync the UserForm and the Activesheet\r\n    m_lngRow = ActiveCell.Row + 1\r\n    \r\n    'select the next cell and render the new data on the UserForm\r\n    Range(\"A\" & m_lngRow).Select\r\n    Me.txtName = Range(\"A\" & m_lngRow)\r\nEnd Sub\r\n\r\n\r\nPrivate Sub btnBack_Click()\r\n    \r\n    'increment the active row and sync the UserForm and the Activesheet\r\n    m_lngRow = ActiveCell.Row - 1\r\n    \r\n    'select the next cell and render the new data on the UserForm\r\n    Range(\"A\" & m_lngRow).Select\r\n    Me.txtName = Range(\"A\" & m_lngRow)\r\n    \r\nEnd Sub\r\n\r\nPrivate Sub btnEnter_Click()\r\n    Range(\"A\" & ActiveCell.Row) = Me.txtName\r\n    \r\nEnd Sub\r\n\r\n\r\n\r\n\r\nPrivate Sub btnNew_Click()\r\n    Dim lngLastRow As Long\r\n    \r\n    'Find the last row used\r\n    lngLastRow = FindLastRow(\"A\")\r\n    \r\n    lngLastRow = lngLastRow + 1\r\n    Range(\"A\" & lngLastRow).Select\r\n    Me.txtName = Range(\"A\" & lngLastRow)\r\nEnd Sub\r\n\r\n\r\n\r\n\r\nFunction FindLastRow(WhichColumn As String) As Long\r\n\r\n    Dim lngLastRow As Long\r\n    \r\n    'move to the last row on the worksheet and find the last used cell.\r\n    \r\n    With ActiveSheet\r\n        lngLastRow = ActiveSheet.Cells(1048576, WhichColumn).End(xlUp).Row\r\n    End With\r\n\r\n    FindLastRow = lngLastRow\r\n\r\nEnd Function\r\n\r\nPrivate Sub UserForm_Initialize()\r\n    Range(\"A2\").Select\r\n    Me.txtName = Range(\"A2\")\r\nEnd Sub\r\n\r\n\r\n<\/pre>\n<p>So that&#8217;s how to find the last row in Excel VBA.  <\/p>\n<p>Let me know if you have any questions.<\/p>\n<p>Use this form to send me a message:<\/p>\n<p>[simple_contact_form]<\/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><a href=\"http:\/\/www.getyourboomback.com\/#_l_2pn\"><img data-recalc-dims=\"1\" height=\"580\" width=\"580\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/leaddyno-client-images.s3.amazonaws.com\/cffa678c5db61bb2476a50e2198c69454765190c\/6bc94a38828c6e5e788052b1673c62aecb0d487b_aminoboosters-YTE-square-2bottles-580x580.png?resize=580%2C580&#038;ssl=1\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this post I am going to show you how you can find the last row in excel vba, so you can enter your new data. On the previous screen I have a list of random names I generated from https:\/\/www.generatedata.com\/ When the button &#8220;View\/Edit Records&#8221; is clicked, we&#8217;re launching a UserForm which allows us [&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-450","post","type-post","status-publish","format-standard","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How To Find The Last Row In Excel VBA - 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\/2019\/02\/06\/how-to-find-the-last-row-in-excel-vba\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Find The Last Row In Excel VBA - My Blog\" \/>\n<meta property=\"og:description\" content=\"In this post I am going to show you how you can find the last row in excel vba, so you can enter your new data. On the previous screen I have a list of random names I generated from https:\/\/www.generatedata.com\/ When the button &#8220;View\/Edit Records&#8221; is clicked, we&#8217;re launching a UserForm which allows us [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vbastring.com\/blog\/2019\/02\/06\/how-to-find-the-last-row-in-excel-vba\/\" \/>\n<meta property=\"og:site_name\" content=\"My Blog\" \/>\n<meta property=\"article:published_time\" content=\"2019-02-06T22:36:26+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-02-17T21:01:22+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.vbastring.com\/blog\/wp-content\/uploads\/2019\/02\/last_row_in_excel_vba.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\\\/2019\\\/02\\\/06\\\/how-to-find-the-last-row-in-excel-vba\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vbastring.com\\\/blog\\\/2019\\\/02\\\/06\\\/how-to-find-the-last-row-in-excel-vba\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/vbastring.com\\\/blog\\\/#\\\/schema\\\/person\\\/e1de0b30e98940381697872449c341f5\"},\"headline\":\"How To Find The Last Row In Excel VBA\",\"datePublished\":\"2019-02-06T22:36:26+00:00\",\"dateModified\":\"2019-02-17T21:01:22+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/vbastring.com\\\/blog\\\/2019\\\/02\\\/06\\\/how-to-find-the-last-row-in-excel-vba\\\/\"},\"wordCount\":306,\"image\":{\"@id\":\"https:\\\/\\\/vbastring.com\\\/blog\\\/2019\\\/02\\\/06\\\/how-to-find-the-last-row-in-excel-vba\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/www.vbastring.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/02\\\/last_row_in_excel_vba.png\",\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vbastring.com\\\/blog\\\/2019\\\/02\\\/06\\\/how-to-find-the-last-row-in-excel-vba\\\/\",\"url\":\"https:\\\/\\\/vbastring.com\\\/blog\\\/2019\\\/02\\\/06\\\/how-to-find-the-last-row-in-excel-vba\\\/\",\"name\":\"How To Find The Last Row In Excel VBA - My Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vbastring.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/vbastring.com\\\/blog\\\/2019\\\/02\\\/06\\\/how-to-find-the-last-row-in-excel-vba\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/vbastring.com\\\/blog\\\/2019\\\/02\\\/06\\\/how-to-find-the-last-row-in-excel-vba\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/www.vbastring.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/02\\\/last_row_in_excel_vba.png\",\"datePublished\":\"2019-02-06T22:36:26+00:00\",\"dateModified\":\"2019-02-17T21:01:22+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/vbastring.com\\\/blog\\\/#\\\/schema\\\/person\\\/e1de0b30e98940381697872449c341f5\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vbastring.com\\\/blog\\\/2019\\\/02\\\/06\\\/how-to-find-the-last-row-in-excel-vba\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vbastring.com\\\/blog\\\/2019\\\/02\\\/06\\\/how-to-find-the-last-row-in-excel-vba\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vbastring.com\\\/blog\\\/2019\\\/02\\\/06\\\/how-to-find-the-last-row-in-excel-vba\\\/#primaryimage\",\"url\":\"http:\\\/\\\/www.vbastring.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/02\\\/last_row_in_excel_vba.png\",\"contentUrl\":\"http:\\\/\\\/www.vbastring.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/02\\\/last_row_in_excel_vba.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vbastring.com\\\/blog\\\/2019\\\/02\\\/06\\\/how-to-find-the-last-row-in-excel-vba\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/vbastring.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Find The Last Row In Excel VBA\"}]},{\"@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 Find The Last Row In Excel VBA - 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\/2019\/02\/06\/how-to-find-the-last-row-in-excel-vba\/","og_locale":"en_US","og_type":"article","og_title":"How To Find The Last Row In Excel VBA - My Blog","og_description":"In this post I am going to show you how you can find the last row in excel vba, so you can enter your new data. On the previous screen I have a list of random names I generated from https:\/\/www.generatedata.com\/ When the button &#8220;View\/Edit Records&#8221; is clicked, we&#8217;re launching a UserForm which allows us [&hellip;]","og_url":"https:\/\/vbastring.com\/blog\/2019\/02\/06\/how-to-find-the-last-row-in-excel-vba\/","og_site_name":"My Blog","article_published_time":"2019-02-06T22:36:26+00:00","article_modified_time":"2019-02-17T21:01:22+00:00","og_image":[{"url":"http:\/\/www.vbastring.com\/blog\/wp-content\/uploads\/2019\/02\/last_row_in_excel_vba.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\/2019\/02\/06\/how-to-find-the-last-row-in-excel-vba\/#article","isPartOf":{"@id":"https:\/\/vbastring.com\/blog\/2019\/02\/06\/how-to-find-the-last-row-in-excel-vba\/"},"author":{"name":"admin","@id":"https:\/\/vbastring.com\/blog\/#\/schema\/person\/e1de0b30e98940381697872449c341f5"},"headline":"How To Find The Last Row In Excel VBA","datePublished":"2019-02-06T22:36:26+00:00","dateModified":"2019-02-17T21:01:22+00:00","mainEntityOfPage":{"@id":"https:\/\/vbastring.com\/blog\/2019\/02\/06\/how-to-find-the-last-row-in-excel-vba\/"},"wordCount":306,"image":{"@id":"https:\/\/vbastring.com\/blog\/2019\/02\/06\/how-to-find-the-last-row-in-excel-vba\/#primaryimage"},"thumbnailUrl":"http:\/\/www.vbastring.com\/blog\/wp-content\/uploads\/2019\/02\/last_row_in_excel_vba.png","inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/vbastring.com\/blog\/2019\/02\/06\/how-to-find-the-last-row-in-excel-vba\/","url":"https:\/\/vbastring.com\/blog\/2019\/02\/06\/how-to-find-the-last-row-in-excel-vba\/","name":"How To Find The Last Row In Excel VBA - My Blog","isPartOf":{"@id":"https:\/\/vbastring.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vbastring.com\/blog\/2019\/02\/06\/how-to-find-the-last-row-in-excel-vba\/#primaryimage"},"image":{"@id":"https:\/\/vbastring.com\/blog\/2019\/02\/06\/how-to-find-the-last-row-in-excel-vba\/#primaryimage"},"thumbnailUrl":"http:\/\/www.vbastring.com\/blog\/wp-content\/uploads\/2019\/02\/last_row_in_excel_vba.png","datePublished":"2019-02-06T22:36:26+00:00","dateModified":"2019-02-17T21:01:22+00:00","author":{"@id":"https:\/\/vbastring.com\/blog\/#\/schema\/person\/e1de0b30e98940381697872449c341f5"},"breadcrumb":{"@id":"https:\/\/vbastring.com\/blog\/2019\/02\/06\/how-to-find-the-last-row-in-excel-vba\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vbastring.com\/blog\/2019\/02\/06\/how-to-find-the-last-row-in-excel-vba\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vbastring.com\/blog\/2019\/02\/06\/how-to-find-the-last-row-in-excel-vba\/#primaryimage","url":"http:\/\/www.vbastring.com\/blog\/wp-content\/uploads\/2019\/02\/last_row_in_excel_vba.png","contentUrl":"http:\/\/www.vbastring.com\/blog\/wp-content\/uploads\/2019\/02\/last_row_in_excel_vba.png"},{"@type":"BreadcrumbList","@id":"https:\/\/vbastring.com\/blog\/2019\/02\/06\/how-to-find-the-last-row-in-excel-vba\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vbastring.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How To Find The Last Row In Excel VBA"}]},{"@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\/450","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=450"}],"version-history":[{"count":5,"href":"https:\/\/vbastring.com\/blog\/wp-json\/wp\/v2\/posts\/450\/revisions"}],"predecessor-version":[{"id":515,"href":"https:\/\/vbastring.com\/blog\/wp-json\/wp\/v2\/posts\/450\/revisions\/515"}],"wp:attachment":[{"href":"https:\/\/vbastring.com\/blog\/wp-json\/wp\/v2\/media?parent=450"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vbastring.com\/blog\/wp-json\/wp\/v2\/categories?post=450"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vbastring.com\/blog\/wp-json\/wp\/v2\/tags?post=450"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}