{"id":7273,"date":"2026-04-22T09:50:42","date_gmt":"2026-04-22T00:50:42","guid":{"rendered":"https:\/\/dandelions.co.jp\/blog\/?p=7273"},"modified":"2026-04-22T09:50:42","modified_gmt":"2026-04-22T00:50:42","slug":"engineers-blog-creating-an-excel-macro-move-to-cell-a1-and-set-zoom-level-to-100","status":"publish","type":"post","link":"https:\/\/dandelions.co.jp\/blog\/blog\/2026\/04\/22\/engineers-blog-creating-an-excel-macro-move-to-cell-a1-and-set-zoom-level-to-100\/","title":{"rendered":"Engineer&#8217;s Blog: Creating an Excel Macro (Move to Cell A1 and Set Zoom Level to 100%)"},"content":{"rendered":"\n<p>Hello! I\u2019m Hirotomaru, and I\u2019m writing this article.<br>In this post, I\u2019ll show you how to use an Excel macro to \u201cjump to cell A1 and reset the zoom level to 100%.\u201d<br>You may have experienced situations where your scroll position or zoom level gets saved incorrectly, making the file hard to read the next time you open it. This macro makes it incredibly convenient to perform this action with just one click.<\/p>\n\n\n\n<p>I will explain the steps for creating a macro shortcut button.<\/p>\n\n\n\n<h2>Show the Development tab<\/h2>\n\n\n\n<p>First, display the \u201cDeveloper\u201d tab to use macros.<\/p>\n\n\n\n<ol><li>Click \u201cFile\u201d in the upper-left corner<\/li><li>Select \u201cOther\u201d \u2192 \u201cOptions\u201d<\/li><li>Open \u201cRibbon Customization\u201d<\/li><li>Check the \u201cDevelopment\u201d box<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"584\" src=\"http:\/\/dandelions.co.jp\/blog\/wp\/wp-content\/uploads\/2026\/04\/image-2-1024x584.png\" alt=\"\" class=\"wp-image-7247\" srcset=\"https:\/\/dandelions.co.jp\/blog\/wp\/wp-content\/uploads\/2026\/04\/image-2-1024x584.png 1024w, https:\/\/dandelions.co.jp\/blog\/wp\/wp-content\/uploads\/2026\/04\/image-2-300x171.png 300w, https:\/\/dandelions.co.jp\/blog\/wp\/wp-content\/uploads\/2026\/04\/image-2-768x438.png 768w, https:\/\/dandelions.co.jp\/blog\/wp\/wp-content\/uploads\/2026\/04\/image-2-1536x876.png 1536w, https:\/\/dandelions.co.jp\/blog\/wp\/wp-content\/uploads\/2026\/04\/image-2-2048x1168.png 2048w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<h2>Create a macro<\/h2>\n\n\n\n<p>1.Click \u201cRecord Macro\u201d on the \u201cDeveloper\u201d tab<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"214\" src=\"http:\/\/dandelions.co.jp\/blog\/wp\/wp-content\/uploads\/2026\/04\/image-11-1024x214.png\" alt=\"\" class=\"wp-image-7260\" srcset=\"https:\/\/dandelions.co.jp\/blog\/wp\/wp-content\/uploads\/2026\/04\/image-11-1024x214.png 1024w, https:\/\/dandelions.co.jp\/blog\/wp\/wp-content\/uploads\/2026\/04\/image-11-300x63.png 300w, https:\/\/dandelions.co.jp\/blog\/wp\/wp-content\/uploads\/2026\/04\/image-11-768x161.png 768w, https:\/\/dandelions.co.jp\/blog\/wp\/wp-content\/uploads\/2026\/04\/image-11-1536x321.png 1536w, https:\/\/dandelions.co.jp\/blog\/wp\/wp-content\/uploads\/2026\/04\/image-11-2048x429.png 2048w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>2.Enter the macro name, select \u201cPersonal Macro Workbook\u201d under \u201cSave macro in (I)\u201d, and click \u201cOK\u201d<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"902\" height=\"781\" src=\"http:\/\/dandelions.co.jp\/blog\/wp\/wp-content\/uploads\/2026\/04\/image-5.png\" alt=\"\" class=\"wp-image-7250\" srcset=\"https:\/\/dandelions.co.jp\/blog\/wp\/wp-content\/uploads\/2026\/04\/image-5.png 902w, https:\/\/dandelions.co.jp\/blog\/wp\/wp-content\/uploads\/2026\/04\/image-5-300x260.png 300w, https:\/\/dandelions.co.jp\/blog\/wp\/wp-content\/uploads\/2026\/04\/image-5-768x665.png 768w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>3.Without doing anything, click \u201cStop Recording\u201d<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"210\" src=\"http:\/\/dandelions.co.jp\/blog\/wp\/wp-content\/uploads\/2026\/04\/image-12-1024x210.png\" alt=\"\" class=\"wp-image-7261\" srcset=\"https:\/\/dandelions.co.jp\/blog\/wp\/wp-content\/uploads\/2026\/04\/image-12-1024x210.png 1024w, https:\/\/dandelions.co.jp\/blog\/wp\/wp-content\/uploads\/2026\/04\/image-12-300x62.png 300w, https:\/\/dandelions.co.jp\/blog\/wp\/wp-content\/uploads\/2026\/04\/image-12-768x158.png 768w, https:\/\/dandelions.co.jp\/blog\/wp\/wp-content\/uploads\/2026\/04\/image-12-1536x315.png 1536w, https:\/\/dandelions.co.jp\/blog\/wp\/wp-content\/uploads\/2026\/04\/image-12-2048x420.png 2048w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<h2>Paste the code<\/h2>\n\n\n\n<p>Open the \u201cVisual Basic\u201d section in the Development tab and paste the following code into the Standard Module.<br>Delete all existing text, and replace \u201cSub MacroName()\u201d on the first line with the macro name you entered when you created it.<br>Once you&#8217;ve pasted the code, save and close the file.<\/p>\n\n\n\n<p>Sub A1 Shortcut()<\/p>\n\n\n\n<p>\u2018 Disable screen updating (to prevent screen flickering)<br>Application.ScreenUpdating = False<\/p>\n\n\n\n<p>Dim ws As Worksheet<\/p>\n\n\n\n<p>Process all sheets in order<br>For Each ws In Worksheets<\/p>\n\n\n\n<p>&#8216; Select a sheet<br>ws.Select<\/p>\n\n\n\n<p>&#8216; Move to cell A1<br>Range(\u201cA1\u201d).Select<\/p>\n\n\n\n<p>&#8216; Reset the display position to the top-left<br>ActiveWindow.ScrollColumn = 1<br>ActiveWindow.ScrollRow = 1<\/p>\n\n\n\n<p>&#8216; Set the display zoom level to 100%<br>ActiveWindow.Zoom = 100<\/p>\n\n\n\n<p>Next ws<\/p>\n\n\n\n<p>Return to the first sheet<br>Sheets(1).Select<\/p>\n\n\n\n<p>Resume screen updating<br>Application.ScreenUpdating = True<\/p>\n\n\n\n<p>\u2018 Completion message<br>MsgBox \u201cProcessing is complete\u201d<\/p>\n\n\n\n<p>End Sub<\/p>\n\n\n\n<p>In this case, I pasted the code into Module 7 of the standard modules.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"584\" src=\"http:\/\/dandelions.co.jp\/blog\/wp\/wp-content\/uploads\/2026\/04\/image-10-1024x584.png\" alt=\"\" class=\"wp-image-7259\" srcset=\"https:\/\/dandelions.co.jp\/blog\/wp\/wp-content\/uploads\/2026\/04\/image-10-1024x584.png 1024w, https:\/\/dandelions.co.jp\/blog\/wp\/wp-content\/uploads\/2026\/04\/image-10-300x171.png 300w, https:\/\/dandelions.co.jp\/blog\/wp\/wp-content\/uploads\/2026\/04\/image-10-768x438.png 768w, https:\/\/dandelions.co.jp\/blog\/wp\/wp-content\/uploads\/2026\/04\/image-10-1536x875.png 1536w, https:\/\/dandelions.co.jp\/blog\/wp\/wp-content\/uploads\/2026\/04\/image-10-2048x1167.png 2048w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<h2>Add to Favorites<\/h2>\n\n\n\n<p>Add to Shortcuts Since you can\u2019t run the macro with a single click as it is, let\u2019s add it to the Quick Access Toolbar so you can run it immediately.<\/p>\n\n\n\n<ol><li>Open the Quick Access Toolbar settings<\/li><li>Select the macro<\/li><li>Add the macro you created (A1 Shortcut) and click OK<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"743\" src=\"http:\/\/dandelions.co.jp\/blog\/wp\/wp-content\/uploads\/2026\/04\/image-9-1024x743.png\" alt=\"\" class=\"wp-image-7255\" srcset=\"https:\/\/dandelions.co.jp\/blog\/wp\/wp-content\/uploads\/2026\/04\/image-9-1024x743.png 1024w, https:\/\/dandelions.co.jp\/blog\/wp\/wp-content\/uploads\/2026\/04\/image-9-300x218.png 300w, https:\/\/dandelions.co.jp\/blog\/wp\/wp-content\/uploads\/2026\/04\/image-9-768x557.png 768w, https:\/\/dandelions.co.jp\/blog\/wp\/wp-content\/uploads\/2026\/04\/image-9-1536x1114.png 1536w, https:\/\/dandelions.co.jp\/blog\/wp\/wp-content\/uploads\/2026\/04\/image-9-2048x1486.png 2048w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>You can run it with a single click using the button in the upper-left corner.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"169\" src=\"http:\/\/dandelions.co.jp\/blog\/wp\/wp-content\/uploads\/2026\/04\/image-13-1024x169.png\" alt=\"\" class=\"wp-image-7263\" srcset=\"https:\/\/dandelions.co.jp\/blog\/wp\/wp-content\/uploads\/2026\/04\/image-13-1024x169.png 1024w, https:\/\/dandelions.co.jp\/blog\/wp\/wp-content\/uploads\/2026\/04\/image-13-300x49.png 300w, https:\/\/dandelions.co.jp\/blog\/wp\/wp-content\/uploads\/2026\/04\/image-13-768x126.png 768w, https:\/\/dandelions.co.jp\/blog\/wp\/wp-content\/uploads\/2026\/04\/image-13-1536x253.png 1536w, https:\/\/dandelions.co.jp\/blog\/wp\/wp-content\/uploads\/2026\/04\/image-13-2048x337.png 2048w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<h2>Summary<\/h2>\n\n\n\n<p>By setting up the macro we\u2019ve introduced here, you can easily reset the view position and zoom level for each sheet to their default settings. Since it can be executed with a single click, I believe it will help streamline your work. Please give it a try.<\/p>\n\n\n\n<p>Stay tuned for our next engineer blog post!!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hello! I\u2019m Hirotomaru, and I\u2019m writing this article.In this post, I\u2019ll show you how to use an Excel macro to \u201c &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/dandelions.co.jp\/blog\/blog\/2026\/04\/22\/engineers-blog-creating-an-excel-macro-move-to-cell-a1-and-set-zoom-level-to-100\/\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;Engineer&#8217;s Blog: Creating an Excel Macro (Move to Cell A1 and Set Zoom Level to 100%)&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[8],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paR9rw-1Tj","_links":{"self":[{"href":"https:\/\/dandelions.co.jp\/blog\/wp-json\/wp\/v2\/posts\/7273"}],"collection":[{"href":"https:\/\/dandelions.co.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dandelions.co.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dandelions.co.jp\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dandelions.co.jp\/blog\/wp-json\/wp\/v2\/comments?post=7273"}],"version-history":[{"count":1,"href":"https:\/\/dandelions.co.jp\/blog\/wp-json\/wp\/v2\/posts\/7273\/revisions"}],"predecessor-version":[{"id":7276,"href":"https:\/\/dandelions.co.jp\/blog\/wp-json\/wp\/v2\/posts\/7273\/revisions\/7276"}],"wp:attachment":[{"href":"https:\/\/dandelions.co.jp\/blog\/wp-json\/wp\/v2\/media?parent=7273"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dandelions.co.jp\/blog\/wp-json\/wp\/v2\/categories?post=7273"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dandelions.co.jp\/blog\/wp-json\/wp\/v2\/tags?post=7273"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}