{"id":11469,"date":"2025-01-15T03:23:13","date_gmt":"2025-01-15T03:23:13","guid":{"rendered":"https:\/\/blog.ezworkapp.com\/index.php\/2025\/01\/15\/cach-gui-trang-tinh-qua-outlook-tu-excel\/"},"modified":"2025-01-15T03:23:13","modified_gmt":"2025-01-15T03:23:13","slug":"cach-gui-trang-tinh-qua-outlook-tu-excel","status":"publish","type":"post","link":"https:\/\/blog.ezworkapp.com\/index.php\/2025\/01\/15\/cach-gui-trang-tinh-qua-outlook-tu-excel\/","title":{"rendered":"C\u00e1ch g\u1eedi trang t\u00ednh qua Outlook t\u1eeb Excel"},"content":{"rendered":"<div class=\"uk-panel uk-margin\" id=\"template-dQf5b79p#1\">\n<p style=\"text-align: justify\">Trong b\u00e0i vi\u1ebft n\u00e0y, H\u1ecdc Excel Online s\u1ebd h\u01b0\u1edbng d\u1eabn c\u00e1c b\u1ea1n g\u1eedi email m\u1ed9t trang t\u00ednh \u0111\u01a1n l\u1ebb trong Excel th\u00f4ng qua Outlook nh\u01b0 m\u1ed9t t\u1ec7p \u0111\u00ednh k\u00e8m, n\u1ed9i dung mail ho\u1eb7c file PDF.<\/p>\n<p style=\"text-align: justify\"><strong>C\u00e1ch g\u1eedi m\u1ed9t trang t\u00ednh nh\u01b0 n\u1ed9i dung mail b\u1eb1ng l\u1ec7nh Send To Mail Recipient.<\/strong><\/p>\n<p style=\"text-align: justify\">Excel h\u1ed7 tr\u1ee3 ch\u00fang ta g\u1eedi email m\u1ed9t trang t\u00ednh nh\u01b0 n\u1ed9i dung mail b\u1eb1ng l\u1ec7nh\u00a0<em><strong>Send to Mail Recipient<\/strong><\/em>.<\/p>\n<p style=\"text-align: justify\">N\u1ebfu b\u1ea1n s\u1eed d\u1ee5ng Excel 2007, 2010 ho\u1eb7c 2013, \u0111\u1ea7u ti\u00ean b\u1ea1n c\u1ea7n th\u00eam l\u1ec7nh <em><strong>Send to Mail Recipient<\/strong><\/em>\u00a0v\u00e0o <em><strong>Quick Access Toolbar<\/strong><\/em>.<\/p>\n<p style=\"text-align: justify\">1. Nh\u1ea5p v\u00e0o bi\u1ec3u t\u01b0\u1ee3ng <em><strong>Customize Quick Access Toolbar<\/strong><\/em>, ch\u1ecdn <em><strong>More Commands<\/strong><\/em>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/blog.ezworkapp.com\/wp-content\/uploads\/2025\/01\/doc-email-sheet1.png\" alt=\"doc-email-sheet1\" width=\"304\" height=\"372\" title=\"doc-email-sheet1\"><\/p>\n<p style=\"text-align: justify\">2. Trong h\u1ed9p tho\u1ea1i <em><strong>Excel Options<\/strong><\/em>, ch\u1ecdn <em><strong>Commands Not in the Ribbon<\/strong><\/em>\u00a0trong danh s\u00e1ch t\u00f9y ch\u1ecdn <em><strong>Choose Commands from<\/strong><\/em>, sau \u0111\u00f3 ch\u1ecdn <em><strong>Send to Mail Recipient<\/strong><\/em>,\u00a0nh\u1ea5n n\u00fat <em><strong>Add&gt;&gt;<\/strong><\/em>\u00a0\u0111\u1ec3 th\u00eam l\u1ec7nh n\u00e0y, cu\u1ed1i c\u00f9ng nh\u1ea5n OK \u0111\u1ec3 l\u01b0u c\u00e0i \u0111\u1eb7t.<\/p>\n<p style=\"text-align: justify\"><a href=\"http:\/\/blog.ezworkapp.com\/wp-content\/uploads\/2017\/06\/2-7.bmp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7469\" src=\"http:\/\/blog.ezworkapp.com\/wp-content\/uploads\/2025\/01\/2-7.bmp\" width=\"600\" height=\"428\" title=\"2-7\"><\/a><\/p>\n<div class=\"code-block code-block-2\" style=\"margin: 8px 0;clear: both\">\n<div class=\"ad-inserterpro\">\n<a href=\"https:\/\/hocexcel.online\/course\/preview\/vba101-tu-dong-hoa-excel-voi-lap-trinh-vba-cho-nguoi-moi-bat-dau\"><br \/>\n<img decoding=\"async\" src=\"http:\/\/blog.ezworkapp.com\/wp-content\/uploads\/2025\/01\/vba101_92019-nho-42.gif\" title=\"vba101_92019-nho-42\"><br \/>\n<\/a>\n<\/div>\n<\/div>\n<div class=\"code-block code-block-1\" style=\"margin: 8px 0;clear: both\">\n<div class=\"ad-inserterpro\">\n<a href=\"https:\/\/hocexcel.online\/course\/preview\/ex101-excel-tu-co-ban-den-chuyen-gia-danh-cho-nguoi-di-lam\"><br \/>\n<img decoding=\"async\" src=\"http:\/\/blog.ezworkapp.com\/wp-content\/uploads\/2025\/01\/ex101_92019-nho-297.gif\" title=\"ex101_92019-nho-297\"><br \/>\n<\/a>\n<\/div>\n<\/div>\n<p style=\"text-align: justify\">3. L\u1ec7nh <em><strong>Send to Mail Recipient<\/strong><\/em>\u00a0v\u1eeba \u0111\u01b0\u1ee3c ch\u00e8n v\u00e0o <em><strong>Quick Access Toolbar<\/strong><\/em>.<\/p>\n<p style=\"text-align: justify\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/blog.ezworkapp.com\/wp-content\/uploads\/2025\/01\/doc-email-sheet3.png\" alt=\"doc-email-sheet3\" width=\"267\" height=\"129\" title=\"doc-email-sheet3\"><\/p>\n<p style=\"text-align: justify\">4. Nh\u1ea5n bi\u1ec3u t\u01b0\u1ee3ng <em><strong>Send to Mail Recipient<\/strong><\/em>, m\u1ed9t h\u1ed9p tho\u1ea1i hi\u1ec7n l\u00ean, trong h\u1ed9p tho\u1ea1i <em><strong>E-mail<\/strong><\/em>, \u0111\u00e1nh d\u1ea5u ch\u1ecdn <em><strong>Send the current sheet as the message body<\/strong><\/em>, nh\u1ea5n OK.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/blog.ezworkapp.com\/wp-content\/uploads\/2025\/01\/doc-email-sheet4.png\" alt=\"doc-email-sheet4\" width=\"404\" height=\"155\" title=\"doc-email-sheet4\"><\/p>\n<p style=\"text-align: justify\">5. M\u1ed9t h\u1ed9p ch\u1ec9nh s\u1eeda n\u1ed9i d\u1ee5ng mail hi\u1ec3n th\u1ecb tr\u00ean d\u1eef li\u1ec7u b\u1ea3ng t\u00ednh, b\u1ea1n c\u00f3 th\u1ec3 nh\u1eadp t\u00ean ng\u01b0\u1eddi nh\u1eadn, ti\u00eau \u0111\u1ec1 v\u00e0 l\u1eddi gi\u1edbi thi\u1ec7u v\u00e0o c\u00e1c \u00f4 t\u01b0\u01a1ng \u1ee9ng.<\/p>\n<p style=\"text-align: justify\"><a href=\"http:\/\/blog.ezworkapp.com\/wp-content\/uploads\/2017\/06\/1-6.bmp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7472\" src=\"http:\/\/blog.ezworkapp.com\/wp-content\/uploads\/2025\/01\/1-6.bmp\" width=\"600\" height=\"487\" title=\"1-6\"><\/a><\/p>\n<p style=\"text-align: justify\">6. Nh\u1ea5n <em><strong>Send this Sheet<\/strong><\/em>\u00a0\u0111\u1ec3 g\u1eedi trang t\u00ednh nh\u01b0 n\u1ed9i dung mail t\u1edbi ng\u01b0\u1eddi nh\u1eadn c\u1ee5 th\u1ec3.<\/p>\n<p style=\"text-align: justify\"><strong>G\u1eedi trang t\u00ednh \u0111\u01a1n l\u1ebb nh\u01b0 t\u1ec7p \u0111\u00ednh k\u00e8m t\u1eeb Excel b\u1eb1ng VBA Code.<\/strong><\/p>\n<p style=\"text-align: justify\">1. K\u00edch ho\u1ea1t trang t\u00ednh b\u1ea1n mu\u1ed1n g\u1eedi.<\/p>\n<p style=\"text-align: justify\">2. Nh\u1ea5n gi\u1eef ph\u00edm\u00a0<em><strong>Alt + F11<\/strong><\/em>, c\u1eeda s\u1ed5 <em><strong>Microsoft Visual Basic for Applications\u00a0<\/strong><\/em>m\u1edf ra.<\/p>\n<p style=\"text-align: justify\">3. Nh\u1ea5p <em><strong>Insert &gt; Module<\/strong><\/em>, d\u00e1n \u0111o\u1ea1n m\u00e3 sau v\u00e0o <em><strong>Module Window<\/strong><\/em>.<\/p>\n<pre class=\"line number1 index0 alt2\">SubSendWorkSheetToPDF()\r\n'Update 20131209\r\nDimWb AsWorkbook\r\nDimFileName AsString\r\nDimOutlookApp AsObject\r\nDimOutlookMail AsObject\r\nOnErrorResumeNext\r\nSetWb = Application.ActiveWorkbook\r\nFileName = Wb.FullName\r\nxIndex = VBA.InStrRev(FileName, \".\")\r\nIfxIndex &gt; 1 ThenFileName = VBA.Left(FileName, xIndex - 1)\r\nFileName = FileName &amp; \"_\"+ ActiveSheet.Name &amp; \".pdf\"\r\nActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, FileName:=FileName\r\nSetOutlookApp = CreateObject(\"Outlook.Application\")\r\nSetOutlookMail = OutlookApp.CreateItem(0)\r\nWithOutlookMail\r\n\u00a0\u00a0\u00a0\u00a0.To= \"<!-- This email address is being protected from spambots. --><span class=\"cloaked_email\">skyyang@extendoffice.com<\/span>\"\r\n\u00a0\u00a0\u00a0\u00a0.CC = \"\"\r\n\u00a0\u00a0\u00a0\u00a0.BCC = \"\"\r\n\u00a0\u00a0\u00a0\u00a0.Subject = \"kte features\"\r\n\u00a0\u00a0\u00a0\u00a0.Body = \"Please check and read this document.\"\r\n\u00a0\u00a0\u00a0\u00a0.Attachments.Add FileName\r\n\u00a0\u00a0\u00a0\u00a0.Send\r\nEndWith\r\nKill FileName\r\nSetOutlookMail = Nothing\r\nSetOutlookApp = Nothing\r\nEndSub<\/pre>\n<div class=\"line number54 index53 alt1\"><\/div>\n<div class=\"line number54 index53 alt1\"><strong>Ch\u00fa \u00fd.\u00a0<\/strong>Trong \u0111o\u1ea1n m\u00e3 tr\u00ean, b\u1ea1n c\u00f3 th\u1ec3 thay \u0111\u1ed5i c\u00e1c th\u00f4ng tin sau theo \u00fd mu\u1ed1n.<\/div>\n<div class=\"line number54 index53 alt1\">\n<ul>\n<li>.To = \u201c<span class=\"cloaked_email\">skyyang@extendoffice.com<\/span>\u201c<\/li>\n<li>.CC = \u201c\u201d<\/li>\n<li>.BCC = \u201c\u201d<\/li>\n<li>.Subject = \u201ckte features\u201d<\/li>\n<li>.Body = \u201cPlease check and read this document.\u201d<\/li>\n<\/ul>\n<div class=\"line number16 index15 alt1\">4. Nh\u1ea5n\u00a0<em><strong>F5\u00a0<\/strong><\/em>\u0111\u1ec3 ch\u1ea1y m\u00e3, m\u1ed9t h\u1ed9p tho\u1ea1i hi\u1ec7n ra, ch\u1ecdn <em><strong>Allow\u00a0<\/strong><\/em>khi thanh ti\u1ebfn tr\u00ecnh ho\u00e0n t\u1ea5t, sau \u0111\u00f3 trang t\u00ednh hi\u1ec7n t\u1ea1i \u0111\u00e3 \u0111\u01b0\u1ee3c g\u1eedi t\u1edbi ng\u01b0\u1eddi nh\u1eadn nh\u01b0 t\u1ec7p \u0111\u00ednh k\u00e8m.<\/div>\n<div class=\"line number16 index15 alt1\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/blog.ezworkapp.com\/wp-content\/uploads\/2025\/01\/doc-email-sheet6.png\" alt=\"doc-email-sheet6\" width=\"375\" height=\"195\" title=\"doc-email-sheet6\"><\/div>\n<div class=\"line number16 index15 alt1\"><\/div>\n<\/div>\n<div class=\"line number16 index15 alt1\"><strong>G\u1eedi m\u1ed9t trang t\u00ednh ri\u00eang l\u1ebb nh\u01b0 t\u1ec7p PDF t\u1eeb Excel b\u1eb1ng VBA Code<\/strong><\/div>\n<div class=\"line number16 index15 alt1\">\n<p>1. M\u1edf trang t\u00ednh b\u1ea1n mu\u1ed1n g\u1eedi.<\/p>\n<p style=\"text-align: justify\">2. Nh\u1ea5n gi\u1eef ph\u00edm\u00a0<em><strong>Alt + F11<\/strong><\/em>, c\u1eeda s\u1ed5 <em><strong>Microsoft Visual Basic for Applications\u00a0<\/strong><\/em>m\u1edf ra.<\/p>\n<p style=\"text-align: justify\">3. Nh\u1ea5p <em><strong>Insert &gt; Module<\/strong><\/em>, d\u00e1n \u0111o\u1ea1n m\u00e3 sau v\u00e0o <em><strong>Module Window<\/strong><\/em>.<\/p>\n<pre style=\"text-align: justify\">SubSendWorkSheetToPDF()\r\n'Update 20131209\r\nDimWb AsWorkbook\r\nDimFileName AsString\r\nDimOutlookApp AsObject\r\nDimOutlookMail AsObject\r\nOnErrorResumeNext\r\nSetWb = Application.ActiveWorkbook\r\nFileName = Wb.FullName\r\nxIndex = VBA.InStrRev(FileName, \".\")\r\nIfxIndex &gt; 1 ThenFileName = VBA.Left(FileName, xIndex - 1)\r\nFileName = FileName &amp; \"_\"+ ActiveSheet.Name &amp; \".pdf\"\r\nActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, FileName:=FileName\r\nSetOutlookApp = CreateObject(\"Outlook.Application\")\r\nSetOutlookMail = OutlookApp.CreateItem(0)\r\nWithOutlookMail\r\n\u00a0\u00a0\u00a0\u00a0.To= \"&lt;!-- This email address is being protected from spambots. --&gt;&lt;span class=\"cloaked_email\"&gt;skyyang@extendoffice.com&lt;\/span&gt;\"\r\n\u00a0\u00a0\u00a0\u00a0.CC = \"\"\r\n\u00a0\u00a0\u00a0\u00a0.BCC = \"\"\r\n\u00a0\u00a0\u00a0\u00a0.Subject = \"kte features\"\r\n\u00a0\u00a0\u00a0\u00a0.Body = \"Please check and read this document.\"\r\n\u00a0\u00a0\u00a0\u00a0.Attachments.Add FileName\r\n\u00a0\u00a0\u00a0\u00a0.Send\r\nEndWith\r\nKill FileName\r\nSetOutlookMail = Nothing\r\nSetOutlookApp = Nothing\r\nEndSub<\/pre>\n<\/div>\n<div class=\"line number28 index27 alt1\" style=\"text-align: justify\"><strong>Ch\u00fa \u00fd.\u00a0<\/strong>Trong \u0111o\u1ea1n m\u00e3 tr\u00ean, b\u1ea1n c\u00f3 th\u1ec3 thay \u0111\u1ed5i th\u00f4ng tin sau theo \u00fd mu\u1ed1n.<\/div>\n<div class=\"line number28 index27 alt1\" style=\"text-align: justify\">\n<ul>\n<li>.To = \u201c<span class=\"cloaked_email\">skyyang@extendoffice.com<\/span>\u201c<\/li>\n<li>.CC = \u201c\u201d<\/li>\n<li>.BCC = \u201c\u201d<\/li>\n<li>.Subject = \u201ckte features\u201d<\/li>\n<li>.Body = \u201cPlease check and read this document.\u201d<\/li>\n<\/ul>\n<div class=\"line number16 index15 alt1\">4. Nh\u1ea5n\u00a0<em><strong>F5\u00a0<\/strong><\/em>\u0111\u1ec3 ch\u1ea1y m\u00e3, m\u1ed9t h\u1ed9p tho\u1ea1i hi\u1ec7n ra, ch\u1ecdn <em><strong>Allow\u00a0<\/strong><\/em>khi thanh ti\u1ebfn tr\u00ecnh ho\u00e0n t\u1ea5t, sau \u0111\u00f3 trang t\u00ednh hi\u1ec7n t\u1ea1i \u0111\u00e3 \u0111\u01b0\u1ee3c g\u1eedi t\u1edbi ng\u01b0\u1eddi nh\u1eadn nh\u01b0 t\u1ec7p PDF.<\/div>\n<\/div>\n<div class=\"line number16 index15 alt1\">\u00a0<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/blog.ezworkapp.com\/wp-content\/uploads\/2025\/01\/doc-email-sheet6.png\" alt=\"doc-email-sheet6\" width=\"375\" height=\"195\" title=\"doc-email-sheet6\"><\/div>\n<div class=\"line number16 index15 alt1\"><strong>Ch\u00fa \u00fd.<\/strong><\/div>\n<div class=\"line number16 index15 alt1\">1. C\u00e1c ph\u01b0\u01a1ng ph\u00e1p n\u00e0y ch\u1ec9 \u00e1p d\u1ee5ng \u0111\u01b0\u1ee3c khi b\u1ea1n s\u1eed d\u1ee5ng Outlook \u0111\u1ec3 g\u1eedi mail.<\/div>\n<div class=\"line number16 index15 alt1\">2. Sau khi g\u1eedi trang t\u00ednh, b\u1ea1n c\u00f3 th\u1ec3 \u0111\u1ebfn Outlook \u0111\u1ec3 \u0111\u1ea3m b\u1ea3o mail \u0111\u00e3 g\u1eedi \u0111i th\u00e0nh c\u00f4ng.<\/div>\n<\/div>\n<div class=\"uk-panel uk-margin uk-width-xlarge\">\n<p>Click \u0111\u0103ng k\u00fd h\u1ecdc t\u1ea1i:<\/p>\n<p><a href=\"http:\/\/blog.ezworkapp.com\/khoa-hoc\" target=\"_blank\" rel=\"noopener\">T\u1ea5t c\u1ea3 kho\u00e1 h\u1ecdc\u00a0<span>\ud83d\udcd6<\/span><\/a><\/p>\n<p><a href=\"http:\/\/blog.ezworkapp.com\/huong-dan-kich-hoat-khoa-hoc-tai-hoc-excel-online.html\" target=\"_blank\" rel=\"noopener\">H\u01b0\u1edbng d\u1eabn k\u00edch ho\u1ea1t<\/a><\/p>\n<p>HKD H\u1ecdc Excel Online<br \/>S\u1ed1 \u0110K: 17A80048102<\/p>\n<\/div>\n<div class=\"uk-panel uk-text-small uk-margin uk-margin-remove-bottom uk-text-center\">\n<p>\u00a9  document.currentScript.insertAdjacentHTML(&#8216;afterend&#8217;, &#8221; + new Intl.DateTimeFormat(document.documentElement.lang, {year: &#8216;numeric&#8217;}).format() + &#8221;);  H\u1ecdc Excel Online. All rights reserved.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<div class=\"ad-inserterpro\">\n<a href=\"https:\/\/hocexcel.online\/course\/preview\/vba101-tu-dong-hoa-excel-voi-lap-trinh-vba-cho-nguoi-moi-bat-dau\"><br \/>\n<img decoding=\"async\" src=\"http:\/\/blog.ezworkapp.com\/wp-content\/uploads\/2025\/01\/vba101_92019-nho-42.gif\"><br \/>\n<\/a>\n<\/div>\n","protected":false},"author":1,"featured_media":11470,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-11469","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-excel-co-ban"],"_links":{"self":[{"href":"https:\/\/blog.ezworkapp.com\/index.php\/wp-json\/wp\/v2\/posts\/11469","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ezworkapp.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ezworkapp.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ezworkapp.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ezworkapp.com\/index.php\/wp-json\/wp\/v2\/comments?post=11469"}],"version-history":[{"count":0,"href":"https:\/\/blog.ezworkapp.com\/index.php\/wp-json\/wp\/v2\/posts\/11469\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.ezworkapp.com\/index.php\/wp-json\/wp\/v2\/media\/11470"}],"wp:attachment":[{"href":"https:\/\/blog.ezworkapp.com\/index.php\/wp-json\/wp\/v2\/media?parent=11469"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ezworkapp.com\/index.php\/wp-json\/wp\/v2\/categories?post=11469"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ezworkapp.com\/index.php\/wp-json\/wp\/v2\/tags?post=11469"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}