{"id":2007,"date":"2021-10-27T09:24:05","date_gmt":"2021-10-27T09:24:05","guid":{"rendered":"https:\/\/lgildv5i97.onrocket.site\/answers\/?post_type=question&#038;p=2007"},"modified":"2021-10-27T09:24:28","modified_gmt":"2021-10-27T09:24:28","slug":"solved-i-want-to-print-an-excel-spreadsheet-using-a-print-button","status":"publish","type":"question","link":"https:\/\/computing.net\/answers\/office\/i-want-to-print-an-excel-spreadsheet-using-a-print-button\/17175.html","title":{"rendered":"Solved I Want To Print an Excel Spreadsheet Using a Print Button."},"content":{"rendered":"<p>I have two worksheets in my workbook. I want to create a &#8220;Print&#8221; button on Worksheet 1 (the worksheet that I use to enter data) that will print Worksheet 2.<\/p>\n<p>I know how to create a print &#8220;button&#8221; on my Worksheet 1, but I have no idea how to write the code to print Worksheet 2.<\/p>\n<p>I do not want the computer screen to change from Worksheet 1 upon execution of the print command.<\/p>\n<p>Also, I would want to know how to enable the macro.<\/p>\n<p>If there is someone who can help a guy who has no knowledge of VB programming, I&#8217;d appreciate it. Thank you for any help you can be.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"iawp_total_views":12},"question-category":[53],"question_tags":[],"class_list":["post-2007","question","type-question","status-publish","hentry","question-category-office"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question\/2007","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question"}],"about":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/types\/question"}],"author":[{"embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/comments?post=2007"}],"wp:attachment":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/media?parent=2007"}],"wp:term":[{"taxonomy":"question-category","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question-category?post=2007"},{"taxonomy":"question_tags","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question_tags?post=2007"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}