{"id":108159,"date":"2022-12-05T03:36:59","date_gmt":"2022-12-05T03:36:59","guid":{"rendered":"https:\/\/assignmenttutors.net\/blog\/step-1-write-a-macro-that-can-create-one-file-for\/"},"modified":"2022-12-05T03:36:59","modified_gmt":"2022-12-05T03:36:59","slug":"step-1-write-a-macro-that-can-create-one-file-for","status":"publish","type":"post","link":"https:\/\/assignmenttutors.net\/blog\/step-1-write-a-macro-that-can-create-one-file-for\/","title":{"rendered":"Step 1: write a macro that can create one file for"},"content":{"rendered":"<div>\n<p>\u00a0\u00a0<\/p>\n<p>Step 1: write a macro that can create one file for each tab located in workbook &#8220;Budget Request Form.xls&#8221;. First file would be named &#8220;Budget Request Form &#8211; Drama.xls&#8221;, second file &#8220;Budget Request Form &#8211; English.xls&#8221; etc (I want flexibility if adding tabs or changing tab names, the macro should be able to create one file for each of the tabs located in the main workbook.Step2: after the different files are created, I would like to collect information from these files (let&#8217; say &#8220;Budget Request Form &#8211; Drama.xls&#8221; and &#8220;Budget Request Form &#8211; English.xls&#8221;) into workbook &#8220;Submissions &#8211; Final.xls&#8221;. The data collected is currently in GREEN. One line will be added for each source file in this case we have 2 here. All source files will be located in the same folder. the folder&#8217;s name is &#8220;Budget &#8211; Submissions&#8221;.\u00a0<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u00a0\u00a0 Step 1: write a macro that can create one file for each tab located in workbook &#8220;Budget Request Form.xls&#8221;. First file would be named &#8220;Budget Request Form &#8211; Drama.xls&#8221;, second file &#8220;Budget Request Form &#8211; English.xls&#8221; etc (I want flexibility if adding tabs or changing tab names, the macro should be able to create [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-108159","post","type-post","status-publish","format-standard","hentry","category-education"],"_links":{"self":[{"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/posts\/108159","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/comments?post=108159"}],"version-history":[{"count":0,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/posts\/108159\/revisions"}],"wp:attachment":[{"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/media?parent=108159"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/categories?post=108159"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/tags?post=108159"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}