{"id":208,"date":"2015-07-09T12:11:19","date_gmt":"2015-07-09T16:11:19","guid":{"rendered":"https:\/\/www.ccrossan.com\/?p=208"},"modified":"2016-07-07T08:03:17","modified_gmt":"2016-07-07T12:03:17","slug":"unprotect-an-excel-worksheet","status":"publish","type":"post","link":"https:\/\/crossan007.dev\/blog\/tools\/unprotect-an-excel-worksheet\/","title":{"rendered":"Unprotect an Excel Worksheet"},"content":{"rendered":"\n<div class=\"twitter-share\"><a href=\"https:\/\/twitter.com\/intent\/tweet?via=crossan007\" class=\"twitter-share-button\">Tweet<\/a><\/div>\n<p>C\/O: <a href=\"https:\/\/uknowit.uwgb.edu\/page.php?id=28850\">https:\/\/uknowit.uwgb.edu\/page.php?id=28850<\/a><\/p>\n<ol>\n<li>Press ALT+F11<\/li>\n<li>Double Click the worksheet in question<\/li>\n<li>Paste the Following Code:\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n\r\nSub PasswordBreaker()\r\n\r\n'Breaks worksheet password protection.\r\nDim i As Integer, j As Integer, k As Integer\r\nDim l As Integer, m As Integer, n As Integer\r\nDim i1 As Integer, i2 As Integer, i3 As Integer\r\nDim i4 As Integer, i5 As Integer, i6 As Integer\r\nOn Error Resume Next\r\nFor i = 65 To 66: For j = 65 To 66: For k = 65 To 66\r\nFor l = 65 To 66: For m = 65 To 66: For i1 = 65 To 66\r\nFor i2 = 65 To 66: For i3 = 65 To 66: For i4 = 65 To 66\r\nFor i5 = 65 To 66: For i6 = 65 To 66: For n = 32 To 126\r\nActiveSheet.Unprotect Chr(i) &amp;#038; Chr(j) &amp;#038; Chr(k) &amp;#038; _\r\nChr(l) &amp;#038; Chr(m) &amp;#038; Chr(i1) &amp;#038; Chr(i2) &amp;#038; Chr(i3) &amp;#038; _\r\nChr(i4) &amp;#038; Chr(i5) &amp;#038; Chr(i6) &amp;#038; Chr(n)\r\nIf ActiveSheet.ProtectContents = False Then\r\nMsgBox &quot;One usable password is &quot; &amp;#038; Chr(i) &amp;#038; Chr(j) &amp;#038; _\r\nChr(k) &amp;#038; Chr(l) &amp;#038; Chr(m) &amp;#038; Chr(i1) &amp;#038; Chr(i2) &amp;#038; _\r\nChr(i3) &amp;#038; Chr(i4) &amp;#038; Chr(i5) &amp;#038; Chr(i6) &amp;#038; Chr(n)\r\nExit Sub\r\nEnd If\r\nNext: Next: Next: Next: Next: Next\r\nNext: Next: Next: Next: Next: Next\r\nEnd Sub\r\n<\/pre>\n<\/li>\n<li>Press the Run button<\/li>\n<li>The password to unlock the form is displayed, and the sheet is no longer password protected<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>C\/O: https:\/\/uknowit.uwgb.edu\/page.php?id=28850 Press ALT+F11 Double Click the worksheet in question Paste the Following Code: Press the Run button The password to unlock the form is displayed, and the sheet is no longer password protected<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[53],"tags":[89,175,47,90,173,174],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/crossan007.dev\/blog\/tools\/unprotect-an-excel-worksheet\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Unprotect an Excel Worksheet - Charles&#039; Blog\" \/>\n<meta property=\"og:description\" content=\"C\/O: https:\/\/uknowit.uwgb.edu\/page.php?id=28850 Press ALT+F11 Double Click the worksheet in question Paste the Following Code: Press the Run button The password to unlock the form is displayed, and the sheet is no longer password protected\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crossan007.dev\/blog\/tools\/unprotect-an-excel-worksheet\/\" \/>\n<meta property=\"og:site_name\" content=\"Charles&#039; Blog\" \/>\n<meta property=\"article:published_time\" content=\"2015-07-09T16:11:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2016-07-07T12:03:17+00:00\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"crossan007\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/crossan007.dev\/blog\/#website\",\"url\":\"https:\/\/crossan007.dev\/blog\/\",\"name\":\"Charles&#039; Blog\",\"description\":\"SharePoint | PowerShell | Exchange | SCCM | Ubuntu | PHP | JavaScript | A\/V Live Production | More...\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/crossan007.dev\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/crossan007.dev\/blog\/tools\/unprotect-an-excel-worksheet\/#webpage\",\"url\":\"https:\/\/crossan007.dev\/blog\/tools\/unprotect-an-excel-worksheet\/\",\"name\":\"Unprotect an Excel Worksheet - Charles&#039; Blog\",\"isPartOf\":{\"@id\":\"https:\/\/crossan007.dev\/blog\/#website\"},\"datePublished\":\"2015-07-09T16:11:19+00:00\",\"dateModified\":\"2016-07-07T12:03:17+00:00\",\"author\":{\"@id\":\"https:\/\/crossan007.dev\/blog\/#\/schema\/person\/bd99569cd81332c8fd866d023848b979\"},\"breadcrumb\":{\"@id\":\"https:\/\/crossan007.dev\/blog\/tools\/unprotect-an-excel-worksheet\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crossan007.dev\/blog\/tools\/unprotect-an-excel-worksheet\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crossan007.dev\/blog\/tools\/unprotect-an-excel-worksheet\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/crossan007.dev\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Unprotect an Excel Worksheet\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/crossan007.dev\/blog\/#\/schema\/person\/bd99569cd81332c8fd866d023848b979\",\"name\":\"crossan007\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/crossan007.dev\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/fff72c74fb6a0da29accf0db83ad4b4b?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/fff72c74fb6a0da29accf0db83ad4b4b?s=96&d=mm&r=g\",\"caption\":\"crossan007\"},\"url\":\"https:\/\/crossan007.dev\/blog\/author\/crossan007\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"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:\/\/crossan007.dev\/blog\/tools\/unprotect-an-excel-worksheet\/","og_locale":"en_US","og_type":"article","og_title":"Unprotect an Excel Worksheet - Charles&#039; Blog","og_description":"C\/O: https:\/\/uknowit.uwgb.edu\/page.php?id=28850 Press ALT+F11 Double Click the worksheet in question Paste the Following Code: Press the Run button The password to unlock the form is displayed, and the sheet is no longer password protected","og_url":"https:\/\/crossan007.dev\/blog\/tools\/unprotect-an-excel-worksheet\/","og_site_name":"Charles&#039; Blog","article_published_time":"2015-07-09T16:11:19+00:00","article_modified_time":"2016-07-07T12:03:17+00:00","twitter_misc":{"Written by":"crossan007","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/crossan007.dev\/blog\/#website","url":"https:\/\/crossan007.dev\/blog\/","name":"Charles&#039; Blog","description":"SharePoint | PowerShell | Exchange | SCCM | Ubuntu | PHP | JavaScript | A\/V Live Production | More...","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/crossan007.dev\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/crossan007.dev\/blog\/tools\/unprotect-an-excel-worksheet\/#webpage","url":"https:\/\/crossan007.dev\/blog\/tools\/unprotect-an-excel-worksheet\/","name":"Unprotect an Excel Worksheet - Charles&#039; Blog","isPartOf":{"@id":"https:\/\/crossan007.dev\/blog\/#website"},"datePublished":"2015-07-09T16:11:19+00:00","dateModified":"2016-07-07T12:03:17+00:00","author":{"@id":"https:\/\/crossan007.dev\/blog\/#\/schema\/person\/bd99569cd81332c8fd866d023848b979"},"breadcrumb":{"@id":"https:\/\/crossan007.dev\/blog\/tools\/unprotect-an-excel-worksheet\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crossan007.dev\/blog\/tools\/unprotect-an-excel-worksheet\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crossan007.dev\/blog\/tools\/unprotect-an-excel-worksheet\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/crossan007.dev\/blog\/"},{"@type":"ListItem","position":2,"name":"Unprotect an Excel Worksheet"}]},{"@type":"Person","@id":"https:\/\/crossan007.dev\/blog\/#\/schema\/person\/bd99569cd81332c8fd866d023848b979","name":"crossan007","image":{"@type":"ImageObject","@id":"https:\/\/crossan007.dev\/blog\/#personlogo","inLanguage":"en-US","url":"https:\/\/secure.gravatar.com\/avatar\/fff72c74fb6a0da29accf0db83ad4b4b?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/fff72c74fb6a0da29accf0db83ad4b4b?s=96&d=mm&r=g","caption":"crossan007"},"url":"https:\/\/crossan007.dev\/blog\/author\/crossan007\/"}]}},"_links":{"self":[{"href":"https:\/\/crossan007.dev\/blog\/wp-json\/wp\/v2\/posts\/208"}],"collection":[{"href":"https:\/\/crossan007.dev\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/crossan007.dev\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/crossan007.dev\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/crossan007.dev\/blog\/wp-json\/wp\/v2\/comments?post=208"}],"version-history":[{"count":6,"href":"https:\/\/crossan007.dev\/blog\/wp-json\/wp\/v2\/posts\/208\/revisions"}],"predecessor-version":[{"id":214,"href":"https:\/\/crossan007.dev\/blog\/wp-json\/wp\/v2\/posts\/208\/revisions\/214"}],"wp:attachment":[{"href":"https:\/\/crossan007.dev\/blog\/wp-json\/wp\/v2\/media?parent=208"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/crossan007.dev\/blog\/wp-json\/wp\/v2\/categories?post=208"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/crossan007.dev\/blog\/wp-json\/wp\/v2\/tags?post=208"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}