{"id":95,"date":"2015-11-30T17:02:32","date_gmt":"2015-11-30T09:02:32","guid":{"rendered":"http:\/\/www.excelmyself.com\/?p=95"},"modified":"2015-11-30T17:02:32","modified_gmt":"2015-11-30T09:02:32","slug":"excel_vba_%e5%a5%bd%e7%94%a8%e5%bf%85%e5%ad%b8%e7%9a%84%e3%80%8c%e6%89%be%e5%87%ba%e6%9c%80%e5%be%8c%e4%b8%80%e5%88%97%e3%80%8d","status":"publish","type":"post","link":"https:\/\/excelmyself.com\/?p=95","title":{"rendered":"Excel_VBA_\u597d\u7528\u5fc5\u5b78\u7684\u300c\u627e\u51fa\u6700\u5f8c\u4e00\u5217\u300d"},"content":{"rendered":"<p>\u3010\u524d\u8a00\u3011<br \/>\n\u6211\u5bebVBA\u6642\u4f7f\u7528\u5230\u9019\u500b\u529f\u80fd\u7684\u6a5f\u7387\u8d85\u904e\u4e94\u6210\uff0c\u53ef\u662f\u6bcf\u6b21\u67e5\u5b8c\u7528\u5b8c\u90fd\u9084\u662f\u8a18\u4e0d\u4f4fXD \u53ea\u597d\u81ea\u5df1\u5beb\u5728\u9019\u88e1\uff0c\u4f9b\u65e5\u5f8c\u67e5\u95b1\u3002<\/p>\n<p>\u3010\u627e\u51fa\u6700\u5f8c\u4e00\u5217\u7684X\u7a2e\u65b9\u6cd5\u3011<\/p>\n<p>lastrow = Sheet1.UsedRange.Rows.Count<br \/>\nlastrow = Sheet1.[A1].End(xlDown).Row<br \/>\nlastrow = Sheet1.[A65536].End(xlUp).Row<br \/>\nlastrow = Sheet1.Cells.SpecialCells(xlCellTypeLastCell).Row<br \/>\nlastrow = Sheet1.Range(&#8220;A1&#8243;).CurrentRegion.Rows.Count<br \/>\nlastrow = Cells.Find(What:=&#8221;*&#8221;, After:=[A1], SearchDirection:=xlPrevious).Row<\/p>\n<p>\u3010\u627e\u51fa\u6700\u5f8c\u4e00\u884c\u7684X\u7a2e\u65b9\u6cd5\u3011<br \/>\n\u4ee5\u6b64\u985e\u63a8\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3010\u524d\u8a00\u3011 \u6211\u5bebVBA\u6642\u4f7f\u7528\u5230\u9019\u500b\u529f\u80fd\u7684\u6a5f\u7387\u8d85\u904e\u4e94\u6210\uff0c\u53ef\u662f\u6bcf\u6b21\u67e5\u5b8c\u7528\u5b8c\u90fd\u9084\u662f\u8a18\u4e0d\u4f4fXD \u53ea\u597d\u81ea\u5df1\u5beb\u5728\u9019\u88e1\uff0c\u4f9b\u65e5\u5f8c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"nf_dc_page":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[7,3],"tags":[13,27,28],"class_list":["post-95","post","type-post","status-publish","format-standard","hentry","category-excel","category-knowledge","tag-excel","tag-vba","tag-28"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/excelmyself.com\/index.php?rest_route=\/wp\/v2\/posts\/95","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/excelmyself.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/excelmyself.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/excelmyself.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/excelmyself.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=95"}],"version-history":[{"count":0,"href":"https:\/\/excelmyself.com\/index.php?rest_route=\/wp\/v2\/posts\/95\/revisions"}],"wp:attachment":[{"href":"https:\/\/excelmyself.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=95"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/excelmyself.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=95"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/excelmyself.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=95"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}