Help
RSS
API
Feed
Maltego
Contact
Domain > cdn-5.access-excel.tips
×
More information on this domain is in
AlienVault OTX
Is this malicious?
Yes
No
Whois
Property
Value
Email
scammera1@yahoo.com.hk
DNS Resolutions
Date
IP Address
2019-11-26
104.27.141.209
(
ClassC
)
2026-01-21
172.67.168.241
(
ClassC
)
Port 80
HTTP/1.1 200 OKDate: Wed, 21 Jan 2026 23:37:35 GMTContent-Type: text/html; charsetUTF-8Transfer-Encoding: chunkedConnection: keep-aliveServer: cloudflareX-Powered-By: PHP/8.1.33X-DNS-Prefetch-Control: onX-UA-Compatible: IEedgeLink: https://access-excel.tips/wp-json/>; relhttps://api.w.org/X-LiteSpeed-Tag: d41_PGSRP,d41_home,d41_URL.6666cd76f96956469e7be39d750cc7d9,d41_F,d41_guest,d41_,d41_UCSS.6abdf5783ac2db2bb564b00f20190091,d41_MIN.a79f148ae0a14817adb2789406450053.css,d41_MIN.cc3ba753cdc7b1c483394c21536c4bed.jscf-cache-status: DYNAMICReport-To: {group:cf-nel,max_age:604800,endpoints:{url:https://a.nel.cloudflare.com/report/v4?sP%2FSIlQgWddjlXBVoYCuaUtgT62Fxi%2B0J2IhiFMFa%2FJuGKeNoD%2Bvu%2FpaObWx6cjDI9wqhb6fE3e1JowKwD6zQT2wsEYBzZ6vbFJFgLhcmHDdfSaZXTKKQ}}Vary: Accept-EncodingNel: {report_to:cf-nel,success_fraction:0.0,max_age:604800}CF-RAY: 9c1aa3e8bdf8c153-PDXalt-svc: h3:443; ma86400 !DOCTYPE html>html langen-US>head>script data-no-optimize1>var litespeed_docrefsessionStorage.getItem(litespeed_docref);litespeed_docref&&(Object.defineProperty(document,referrer,{get:function(){return litespeed_docref}}),sessionStorage.removeItem(litespeed_docref));/script> meta charsetUTF-8>title>Access-Excel.Tips – Provide Excel tutorials, tips and free VBA source code, including custom VBA Function, Sub Procedure/title>meta namerobots contentmax-image-preview:large />style>img:is(sizesauto i, sizes^auto, i) { contain-intrinsic-size: 3000px 1500px }/style>meta nameviewport contentwidthdevice-width, initial-scale1>link reldns-prefetch href//access-excel.tips />link data-optimized2 relstylesheet hrefhttps://access-excel.tips/wp-content/litespeed/css/a79f148ae0a14817adb2789406450053.css?ver543c0 />style idclassic-theme-styles-inline-css>/*! This file is auto-generated */.wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none}/style>style idglobal-styles-inline-css>:root{--wp--preset--aspect-ratio--square: 1;--wp--preset--aspect-ratio--4-3: 4/3;--wp--preset--aspect-ratio--3-4: 3/4;--wp--preset--aspect-ratio--3-2: 3/2;--wp--preset--aspect-ratio--2-3: 2/3;--wp--preset--aspect-ratio--16-9: 16/9;--wp--preset--aspect-ratio--9-16: 9/16;--wp--preset--color--black: #000000;--wp--preset--color--cyan-bluish-gray: #abb8c3;--wp--preset--color--white: #ffffff;--wp--preset--color--pale-pink: #f78da7;--wp--preset--color--vivid-red: #cf2e2e;--wp--preset--color--luminous-vivid-orange: #ff6900;--wp--preset--color--luminous-vivid-amber: #fcb900;--wp--preset--color--light-green-cyan: #7bdcb5;--wp--preset--color--vivid-green-cyan: #00d084;--wp--preset--color--pale-cyan-blue: #8ed1fc;--wp--preset--color--vivid-cyan-blue: #0693e3;--wp--preset--color--vivid-purple: #9b51e0;--wp--preset--color--contrast: var(--contrast);--wp--preset--color--contrast-2: var(--contrast-2);--wp--preset--color--contrast-3: var(--contrast-3);--wp--preset--color--base: var(--base);--wp--preset--color--base-2: var(--base-2);--wp--preset--color--base-3: var(--base-3);--wp--preset--color--accent: var(--accent);--wp--preset--color--blue: var(--blue);--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple: linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%);--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan: linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%);--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange: linear-gradient(135deg,rgba(252,185,0,1) 0%,rgba(255,105,0,1) 100%);--wp--preset--gradient--luminous-vivid-orange-to-vivid-red: linear-gradient(135deg,rgba(255,105,0,1) 0%,rgb(207,46,46) 100%);--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray: linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%);--wp--preset--gradient--cool-to-warm-spectrum: linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%);--wp--preset--gradient--blush-light-purple: linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%);--wp--preset--gradient--blush-bordeaux: linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%);--wp--preset--gradient--luminous-dusk: linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%);--wp--preset--gradient--pale-ocean: linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%);--wp--preset--gradient--electric-grass: linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%);--wp--preset--gradient--midnight: linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%);--wp--preset--font-size--small: 13px;--wp--preset--font-size--medium: 20px;--wp--preset--font-size--large: 36px;--wp--preset--font-size--x-large: 42px;--wp--preset--spacing--20: 0.44rem;--wp--preset--spacing--30: 0.67rem;--wp--preset--spacing--40: 1rem;--wp--preset--spacing--50: 1.5rem;--wp--preset--spacing--60: 2.25rem;--wp--preset--spacing--70: 3.38rem;--wp--preset--spacing--80: 5.06rem;--wp--preset--shadow--natural: 6px 6px 9px rgba(0, 0, 0, 0.2);--wp--preset--shadow--deep: 12px 12px 50px rgba(0, 0, 0, 0.4);--wp--preset--shadow--sharp: 6px 6px 0px rgba(0, 0, 0, 0.2);--wp--preset--shadow--outlined: 6px 6px 0px -3px rgba(255, 255, 255, 1), 6px 6px rgba(0, 0, 0, 1);--wp--preset--shadow--crisp: 6px 6px 0px rgba(0, 0, 0, 1);}:where(.is-layout-flex){gap: 0.5em;}:where(.is-layout-grid){gap: 0.5em;}body .is-layout-flex{display: flex;}.is-layout-flex{flex-wrap: wrap;align-items: center;}.is-layout-flex > :is(*, div){margin: 0;}body .is-layout-grid{display: grid;}.is-layout-grid > :is(*, div){margin: 0;}:where(.wp-block-columns.is-layout-flex){gap: 2em;}:where(.wp-block-columns.is-layout-grid){gap: 2em;}:where(.wp-block-post-template.is-layout-flex){gap: 1.25em;}:where(.wp-block-post-template.is-layout-grid){gap: 1.25em;}.has-black-color{color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-color{color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-color{color: var(--wp--preset--color--white) !important;}.has-pale-pink-color{color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-color{color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-color{color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-color{color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-color{color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-color{color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-color{color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-color{color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-color{color: var(--wp--preset--color--vivid-purple) !important;}.has-black-background-color{background-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-background-color{background-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-background-color{background-color: var(--wp--preset--color--white) !important;}.has-pale-pink-background-color{background-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-background-color{background-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-background-color{background-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-background-color{background-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-background-color{background-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-background-color{background-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-background-color{background-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-background-color{background-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-background-color{background-color: var(--wp--preset--color--vivid-purple) !important;}.has-black-border-color{border-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-border-color{border-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-border-color{border-color: var(--wp--preset--color--white) !important;}.has-pale-pink-border-color{border-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-border-color{border-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-border-color{border-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-border-color{border-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-border-color{border-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-border-color{border-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-border-color{border-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-border-color{border-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-border-color{border-color: var(--wp--preset--color--vivid-purple) !important;}.has-vivid-cyan-blue-to-vivid-purple-gradient-background{background: var(--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple) !important;}.has-light-green-cyan-to-vivid-green-cyan-gradient-background{background: var(--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan) !important;}.has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange) !important;}.has-luminous-vivid-orange-to-vivid-red-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-orange-to-vivid-red) !important;}.has-very-light-gray-to-cyan-bluish-gray-gradient-background{background: var(--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray) !important;}.has-cool-to-warm-spectrum-gradient-background{background: var(--wp--preset--gradient--cool-to-warm-spectrum) !important;}.has-blush-light-purple-gradient-background{background: var(--wp--preset--gradient--blush-light-purple) !important;}.has-blush-bordeaux-gradient-background{background: var(--wp--preset--gradient--blush-bordeaux) !important;}.has-luminous-dusk-gradient-background{background: var(--wp--preset--gradient--luminous-dusk) !important;}.has-pale-ocean-gradient-background{background: var(--wp--preset--gradient--pale-ocean) !important;}.has-electric-grass-gradient-background{background: var(--wp--preset--gradient--electric-grass) !important;}.has-midnight-gradient-background{background: var(--wp--preset--gradient--midnight) !important;}.has-small-font-size{font-size: var(--wp--preset--font-size--small) !important;}.has-medium-font-size{font-size: var(--wp--preset--font-size--medium) !important;}.has-large-font-size{font-size: var(--wp--preset--font-size--large) !important;}.has-x-large-font-size{font-size: var(--wp--preset--font-size--x-large) !important;}:where(.wp-block-post-template.is-layout-flex){gap: 1.25em;}:where(.wp-block-post-template.is-layout-grid){gap: 1.25em;}:where(.wp-block-columns.is-layout-flex){gap: 2em;}:where(.wp-block-columns.is-layout-grid){gap: 2em;}:root :where(.wp-block-pullquote){font-size: 1.5em;line-height: 1.6;}/style>style idgenerate-style-inline-css>body{background-color:var(--base-2);color:var(--contrast);}a{color:var(--accent);}a{text-decoration:underline;}.entry-title a, .site-branding a, a.button, .wp-block-button__link, .main-navigation a{text-decoration:none;}a:hover, a:focus, a:active{color:var(--contrast);}.wp-block-group__inner-container{max-width:1200px;margin-left:auto;margin-right:auto;}.site-header .header-image{width:350px;}:root{--contrast:#222222;--contrast-2:#575760;--contrast-3:#b2b2be;--base:#f0f0f0;--base-2:#f7f8f9;--base-3:#ffffff;--accent:#1e73be;--blue:#04a3ed;}:root .has-contrast-color{color:var(--contrast);}:root .has-contrast-background-color{background-color:var(--contrast);}:root .has-contrast-2-color{color:var(--contrast-2);}:root .has-contrast-2-background-color{background-color:var(--contrast-2);}:root .has-contrast-3-color{color:var(--contrast-3);}:root .has-contrast-3-background-color{background-color:var(--contrast-3);}:root .has-base-color{color:var(--base);}:root .has-base-background-color{background-color:var(--base);}:root .has-base-2-color{color:var(--base-2);}:root .has-base-2-background-color{background-color:var(--base-2);}:root .has-base-3-color{color:var(--base-3);}:root .has-base-3-background-color{background-color:var(--base-3);}:root .has-accent-color{color:var(--accent);}:root .has-accent-background-color{background-color:var(--accent);}:root .has-blue-color{color:var(--blue);}:root .has-blue-background-color{background-color:var(--blue);}.gp-modal:not(.gp-modal--open):not(.gp-modal--transition){display:none;}.gp-modal--transition:not(.gp-modal--open){pointer-events:none;}.gp-modal-overlay:not(.gp-modal-overlay--open):not(.gp-modal--transition){display:none;}.gp-modal__overlay{display:none;position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,0.2);display:flex;justify-content:center;align-items:center;z-index:10000;backdrop-filter:blur(3px);transition:opacity 500ms ease;opacity:0;}.gp-modal--open:not(.gp-modal--transition) .gp-modal__overlay{opacity:1;}.gp-modal__container{max-width:100%;max-height:100vh;transform:scale(0.9);transition:transform 500ms ease;padding:0 10px;}.gp-modal--open:not(.gp-modal--transition) .gp-modal__container{transform:scale(1);}.search-modal-fields{display:flex;}.gp-search-modal .gp-modal__overlay{align-items:flex-start;padding-top:25vh;background:var(--gp-search-modal-overlay-bg-color);}.search-modal-form{width:500px;max-width:100%;background-color:var(--gp-search-modal-bg-color);color:var(--gp-search-modal-text-color);}.search-modal-form .search-field, .search-modal-form .search-field:focus{width:100%;height:60px;background-color:transparent;border:0;appearance:none;color:currentColor;}.search-modal-fields button, .search-modal-fields button:active, .search-modal-fields button:focus, .search-modal-fields button:hover{background-color:transparent;border:0;color:currentColor;width:60px;}.main-navigation a, .main-navigation .menu-toggle, .main-navigation .menu-bar-items{font-weight:bold;}.top-bar{background-color:#636363;color:#ffffff;}.top-bar a{color:#ffffff;}.top-bar a:hover{color:#303030;}.site-header{background-color:var(--base-3);}.main-title a,.main-title a:hover{color:var(--contrast);}.site-description{color:var(--contrast-2);}.main-navigation,.main-navigation ul ul{background-color:var(--blue);}.main-navigation .main-nav ul li a, .main-navigation .menu-toggle, .main-navigation .menu-bar-items{color:var(--base-3);}.main-navigation .main-nav ul li:not(class*current-menu-):hover > a, .main-navigation .main-nav ul li:not(class*current-menu-):focus > a, .main-navigation .main-nav ul li.sfHover:not(class*current-menu-) > a, .main-navigation .menu-bar-item:hover > a, .main-navigation .menu-bar-item.sfHover > a{color:var(--base-2);}button.menu-toggle:hover,button.menu-toggle:focus{color:var(--base-3);}.main-navigation .main-nav ul liclass*current-menu- > a{color:var(--base-2);}.navigation-search inputtypesearch,.navigation-search inputtypesearch:active, .navigation-search inputtypesearch:focus, .main-navigation .main-nav ul li.search-item.active > a, .main-navigation .menu-bar-items .search-item.active > a{color:var(--base-2);}.main-navigation ul ul{background-color:var(--base-3);}.main-navigation .main-nav ul ul li a{color:var(--blue);}.main-navigation .main-nav ul ul li:not(class*current-menu-):hover > a,.main-navigation .main-nav ul ul li:not(class*current-menu-):focus > a, .main-navigation .main-nav ul ul li.sfHover:not(class*current-menu-) > a{color:var(--accent);background-color:var(--base-2);}.separate-containers .inside-article, .separate-containers .comments-area, .separate-containers .page-header, .one-container .container, .separate-containers .paging-navigation, .inside-page-header{background-color:var(--base-3);}.entry-title a{color:var(--contrast);}.entry-title a:hover{color:var(--contrast-2);}.entry-meta{color:var(--contrast-2);}.sidebar .widget{background-color:var(--base-3);}.footer-widgets{background-color:var(--base-3);}.site-info{background-color:var(--base-3);}inputtypetext,inputtypeemail,inputtypeurl,inputtypepassword,inputtypesearch,inputtypetel,inputtypenumber,textarea,select{color:var(--contrast);background-color:var(--base-2);border-color:var(--base);}inputtypetext:focus,inputtypeemail:focus,inputtypeurl:focus,inputtypepassword:focus,inputtypesearch:focus,inputtypetel:focus,inputtypenumber:focus,textarea:focus,select:focus{color:var(--contrast);background-color:var(--base-2);border-color:var(--contrast-3);}button,html inputtypebutton,inputtypereset,inputtypesubmit,a.button,a.wp-block-button__link:not(.has-background){color:#ffffff;background-color:var(--blue);}button:hover,html inputtypebutton:hover,inputtypereset:hover,inputtypesubmit:hover,a.button:hover,button:focus,html inputtypebutton:focus,inputtypereset:focus,inputtypesubmit:focus,a.button:focus,a.wp-block-button__link:not(.has-background):active,a.wp-block-button__link:not(.has-background):focus,a.wp-block-button__link:not(.has-background):hover{color:#ffffff;background-color:#3f4047;}a.generate-back-to-top{background-color:rgba( 0,0,0,0.4 );color:#ffffff;}a.generate-back-to-top:hover,a.generate-back-to-top:focus{background-color:rgba( 0,0,0,0.6 );color:#ffffff;}:root{--gp-search-modal-bg-color:var(--base-3);--gp-search-modal-text-color:var(--contrast);--gp-search-modal-overlay-bg-color:rgba(0,0,0,0.2);}@media (max-width:768px){.main-navigation .menu-bar-item:hover > a, .main-navigation .menu-bar-item.sfHover > a{background:none;color:var(--base-3);}}.inside-top-bar.grid-container{max-width:1280px;}.inside-header{padding:40px;}.inside-header.grid-container{max-width:1280px;}.site-main .wp-block-group__inner-container{padding:40px;}.separate-containers .paging-navigation{padding-top:20px;padding-bottom:20px;}.entry-content .alignwide, body:not(.no-sidebar) .entry-content .alignfull{margin-left:-40px;width:calc(100% + 80px);max-width:calc(100% + 80px);}.rtl .menu-item-has-children .dropdown-menu-toggle{padding-left:20px;}.rtl .main-navigation .main-nav ul li.menu-item-has-children > a{padding-right:20px;}.footer-widgets-container.grid-container{max-width:1280px;}.inside-site-info.grid-container{max-width:1280px;}@media (max-width:768px){.separate-containers .inside-article, .separate-containers .comments-area, .separate-containers .page-header, .separate-containers .paging-navigation, .one-container .site-content, .inside-page-header{padding:30px;}.site-main .wp-block-group__inner-container{padding:30px;}.inside-top-bar{padding-right:30px;padding-left:30px;}.inside-header{padding-right:30px;padding-left:30px;}.widget-area .widget{padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px;}.footer-widgets-container{padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px;}.inside-site-info{padding-right:30px;padding-left:30px;}.entry-content .alignwide, body:not(.no-sidebar) .entry-content .alignfull{margin-left:-30px;width:calc(100% + 60px);max-width:calc(100% + 60px);}.one-container .site-main .paging-navigation{margin-bottom:20px;}}/* End cached CSS */.is-right-sidebar{width:30%;}.is-left-sidebar{width:30%;}.site-content .content-area{width:70%;}@media (max-width:768px){.main-navigation .menu-toggle,.sidebar-nav-mobile:not(#sticky-placeholder){display:block;}.main-navigation ul,.gen-sidebar-nav,.main-navigation:not(.slideout-navigation):not(.toggled) .main-nav > ul,.has-inline-mobile-toggle #site-navigation .inside-navigation > *:not(.navigation-search):not(.main-nav){display:none;}.nav-align-right .inside-navigation,.nav-align-center .inside-navigation{justify-content:space-between;}}/style> script typelitespeed/javascript data-srchttp://access-excel.tips/wp-includes/js/jquery/jquery.min.js idjquery-core-js>/script> link relhttps://api.w.org/ hrefhttps://access-excel.tips/wp-json/ /> script typelitespeed/javascript data-src//g.ezoic.net/ezoic/ezoiclitedata.go?did98068>/script> script typelitespeed/javascript data-srchttps://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?clientca-pub-4932101200331578 crossoriginanonymous>/script> script typelitespeed/javascript data-srchttps://analytics.ahrefs.com/analytics.js data-keyn5/akxf0v/38xpBJOfs1Lg>/script>style classwpcode-css-snippet>.read-more { padding: 10px 20px; font-size: 14px;}/style>style classwpcode-css-snippet>@media (max-width: 768px) { #welcome-text, .featured-post, .event-list { width: 100%; padding: 10px; } img { max-width: 100%; height: auto; } .read-more { display: block; margin: 10px 0; text-align: center; } .testimonial-slide { flex-direction: column; align-items: center; }}/style>style classwpcode-css-snippet>body { font-size: 16px;}@media (max-width: 768px) { body { font-size: 14px; }}/style>style classwpcode-css-snippet>#top-section, #mid-section { display: flex; flex-wrap: wrap; gap: 15px;}.featured-post { flex: 1 1 calc(33.33% - 15px); /* Adjust for 3 columns */}@media (max-width: 768px) { .featured-post { flex: 1 1 100%; /* Single column for small screens */ }}/style>link relicon hrefhttps://access-excel.tips/wp-content/uploads/2016/05/cropped-pika-150x150.jpg sizes32x32 />link relicon hrefhttps://access-excel.tips/wp-content/uploads/2016/05/cropped-pika-300x300.jpg sizes192x192 />link relapple-touch-icon hrefhttps://access-excel.tips/wp-content/uploads/2016/05/cropped-pika-300x300.jpg />meta namemsapplication-TileImage contenthttps://access-excel.tips/wp-content/uploads/2016/05/cropped-pika-300x300.jpg />style idwp-custom-css>/* BLOG & ARCHIVE: FLOAT IMAGE LEFT & WRAP TEXT */.blog .inside-article .post-image,.archive .inside-article .post-image { float: left; width: 120px; margin: 40px 20px 10px 0; vertical-align: middle;}.blog .inside-article .post-image img,.archive .inside-article .post-image img { width: 100%; height: auto; display: block;}/* Make sure excerpt wraps from top line */.blog .inside-article .entry-summary,.archive .inside-article .entry-summary { overflow: hidden;}/* READ MORE BUTTON - BLACK & BRAND BLUE */.blog .inside-article .entry-summary a,.archive .inside-article .entry-summary a { display: block; width: fit-content; margin: 10px 0 0 auto; padding: 6px 12px; background: #000; /* black background */ color: #fff; /* white text */ text-decoration: none; font-size: 14px; border-radius: 3px; transition: background 0.3s; border-bottom: 4px solid #04a3ed; /* brand blue line */}.blog .inside-article .entry-summary a:hover,.archive .inside-article .entry-summary a:hover { background: #04a3ed; color: #fff;}/* MOBILE: STACK IMAGE ON TOP */@media (max-width: 768px) { .blog .inside-article .post-image, .archive .inside-article .post-image { float: none; width: 100%; margin: 15px 10px 15px 0; } .blog .inside-article .entry-summary a, .archive .inside-article .entry-summary a { margin-left: 0; margin-right: auto; }}/* SINGLE POSTS: FLOAT IMAGES LEFT IN CONTENT */.single-post .wp-block-image.alignleft img,.single-post img.alignleft,.single-post .alignleft { float: left; margin: 0 20px 10px 0; width: auto; height: auto; vertical-align: top; display: block;}.separate-containers .inside-article>.featured-image { margin-top: 0; margin-bottom: 2em; display: none;}/style>style>.table-responsive table{ border-collapse: collapse; border-spacing: 0; table-layout: auto; padding: 0; width: 100%; max-width: 100%; margin: 0 auto 20px auto; } .table-responsive { overflow-x: auto; min-height: 0.01%; margin-bottom: 20px; } .table-responsive::-webkit-scrollbar { width: 10px; height: 10px; } .table-responsive::-webkit-scrollbar-thumb { background: #dddddd; border-radius: 2px; } .table-responsive::-webkit-scrollbar-track-piece { background: #fff; } @media (max-width: 992px) { .table-responsive table{ width: auto!important; margin:0 auto 15px auto!important; } } @media screen and (max-width: 767px) { .table-responsive { width: 100%; margin-bottom: 15px; overflow-y: hidden; -ms-overflow-style: -ms-autohiding-scrollbar; } .table-responsive::-webkit-scrollbar { width: 5px; height: 5px; } }/style>/head>body classhome blog wp-custom-logo wp-embed-responsive wp-theme-generatepress right-sidebar nav-below-header separate-containers header-aligned-left dropdown-hover itemtypehttps://schema.org/Blog itemscope>a classscreen-reader-text skip-link href#content titleSkip to content>Skip to content/a>header classsite-header idmasthead aria-labelSite itemtypehttps://schema.org/WPHeader itemscope>div classinside-header grid-container>div classsite-logo>a hrefhttps://access-excel.tips/ relhome>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTUzNiIgaGVpZ2h0PSI0OTUiIHZpZXdCb3g9IjAgMCAxNTM2IDQ5NSI+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgc3R5bGU9ImZpbGw6I2NmZDRkYjtmaWxsLW9wYWNpdHk6IDAuMTsiLz48L3N2Zz4 classheader-image is-logo-image altAccess-Excel.Tips data-srchttps://access-excel.tips/wp-content/uploads/2025/07/cropped-access-logo.png width1536 height495 />/a>/div>/div>/header>nav classmain-navigation has-menu-bar-items sub-menu-right idsite-navigation aria-labelPrimary itemtypehttps://schema.org/SiteNavigationElement itemscope>div classinside-navigation grid-container>button classmenu-toggle aria-controlsprimary-menu aria-expandedfalse>span classgp-icon icon-menu-bars>svg viewBox0 0 512 512 aria-hiddentrue xmlnshttp://www.w3.org/2000/svg width1em height1em>path dM0 96c0-13.255 10.745-24 24-24h464c13.255 0 24 10.745 24 24s-10.745 24-24 24H24c-13.255 0-24-10.745-24-24zm0 160c0-13.255 10.745-24 24-24h464c13.255 0 24 10.745 24 24s-10.745 24-24 24H24c-13.255 0-24-10.745-24-24zm0 160c0-13.255 10.745-24 24-24h464c13.255 0 24 10.745 24 24s-10.745 24-24 24H24c-13.255 0-24-10.745-24-24z />/svg>svg viewBox0 0 512 512 aria-hiddentrue xmlnshttp://www.w3.org/2000/svg width1em height1em>path dM71.029 71.029c9.373-9.372 24.569-9.372 33.942 0L256 222.059l151.029-151.03c9.373-9.372 24.569-9.372 33.942 0 9.372 9.373 9.372 24.569 0 33.942L289.941 256l151.03 151.029c9.372 9.373 9.372 24.569 0 33.942-9.373 9.372-24.569 9.372-33.942 0L256 289.941l-151.029 151.03c-9.373 9.372-24.569 9.372-33.942 0-9.372-9.373-9.372-24.569 0-33.942L222.059 256 71.029 104.971c-9.372-9.373-9.372-24.569 0-33.942z />/svg>/span>span classmobile-menu>Menu/span> /button>div idprimary-menu classmain-nav>ul classmenu sf-menu>li classpage_item page-item-42 menu-item-has-children>a hrefhttps://access-excel.tips/access/>Accessspan rolepresentation classdropdown-menu-toggle>span classgp-icon icon-arrow>svg viewBox0 0 330 512 aria-hiddentrue xmlnshttp://www.w3.org/2000/svg width1em height1em>path dM305.913 197.085c0 2.266-1.133 4.815-2.833 6.514L171.087 335.593c-1.7 1.7-4.249 2.832-6.515 2.832s-4.815-1.133-6.515-2.832L26.064 203.599c-1.7-1.7-2.832-4.248-2.832-6.514s1.132-4.816 2.832-6.515l14.162-14.163c1.7-1.699 3.966-2.832 6.515-2.832 2.266 0 4.815 1.133 6.515 2.832l111.316 111.317 111.316-111.317c1.7-1.699 4.249-2.832 6.515-2.832s4.815 1.133 6.515 2.832l14.162 14.163c1.7 1.7 2.833 4.249 2.833 6.515z />/svg>/span>/span>/a>ul classchildren>li classpage_item page-item-2031 menu-item-has-children>a hrefhttps://access-excel.tips/access/access-library/>Access Libraryspan rolepresentation classdropdown-menu-toggle>span classgp-icon icon-arrow>svg viewBox0 0 330 512 aria-hiddentrue xmlnshttp://www.w3.org/2000/svg width1em height1em>path dM305.913 197.085c0 2.266-1.133 4.815-2.833 6.514L171.087 335.593c-1.7 1.7-4.249 2.832-6.515 2.832s-4.815-1.133-6.515-2.832L26.064 203.599c-1.7-1.7-2.832-4.248-2.832-6.514s1.132-4.816 2.832-6.515l14.162-14.163c1.7-1.699 3.966-2.832 6.515-2.832 2.266 0 4.815 1.133 6.515 2.832l111.316 111.317 111.316-111.317c1.7-1.699 4.249-2.832 6.515-2.832s4.815 1.133 6.515 2.832l14.162 14.163c1.7 1.7 2.833 4.249 2.833 6.515z />/svg>/span>/span>/a>ul classchildren>li classpage_item page-item-1488>a hrefhttps://access-excel.tips/access/access-library/access-function-list/>Access Function List/a>/li>li classpage_item page-item-1748>a hrefhttps://access-excel.tips/access/access-library/access-function-list-vba/>Access Function List (VBA)/a>/li>li classpage_item page-item-1462>a hrefhttps://access-excel.tips/access/access-library/access-method-list-vba/>Access Method List (VBA)/a>/li>li classpage_item page-item-2028>a hrefhttps://access-excel.tips/access/access-library/access-object-property-list-vba/>Access Object Property List (VBA)/a>/li>/ul>/li>/ul>/li>li classpage_item page-item-1830 menu-item-has-children>a hrefhttps://access-excel.tips/excel/>Excelspan rolepresentation classdropdown-menu-toggle>span classgp-icon icon-arrow>svg viewBox0 0 330 512 aria-hiddentrue xmlnshttp://www.w3.org/2000/svg width1em height1em>path dM305.913 197.085c0 2.266-1.133 4.815-2.833 6.514L171.087 335.593c-1.7 1.7-4.249 2.832-6.515 2.832s-4.815-1.133-6.515-2.832L26.064 203.599c-1.7-1.7-2.832-4.248-2.832-6.514s1.132-4.816 2.832-6.515l14.162-14.163c1.7-1.699 3.966-2.832 6.515-2.832 2.266 0 4.815 1.133 6.515 2.832l111.316 111.317 111.316-111.317c1.7-1.699 4.249-2.832 6.515-2.832s4.815 1.133 6.515 2.832l14.162 14.163c1.7 1.7 2.833 4.249 2.833 6.515z />/svg>/span>/span>/a>ul classchildren>li classpage_item page-item-550 menu-item-has-children>a hrefhttps://access-excel.tips/excel/excel-menu/>Excel Libraryspan rolepresentation classdropdown-menu-toggle>span classgp-icon icon-arrow>svg viewBox0 0 330 512 aria-hiddentrue xmlnshttp://www.w3.org/2000/svg width1em height1em>path dM305.913 197.085c0 2.266-1.133 4.815-2.833 6.514L171.087 335.593c-1.7 1.7-4.249 2.832-6.515 2.832s-4.815-1.133-6.515-2.832L26.064 203.599c-1.7-1.7-2.832-4.248-2.832-6.514s1.132-4.816 2.832-6.515l14.162-14.163c1.7-1.699 3.966-2.832 6.515-2.832 2.266 0 4.815 1.133 6.515 2.832l111.316 111.317 111.316-111.317c1.7-1.699 4.249-2.832 6.515-2.832s4.815 1.133 6.515 2.832l14.162 14.163c1.7 1.7 2.833 4.249 2.833 6.515z />/svg>/span>/span>/a>ul classchildren>li classpage_item page-item-554>a hrefhttps://access-excel.tips/excel/excel-menu/excel-worksheet-function-menu/>Excel Function List (Worksheet)/a>/li>li classpage_item page-item-565>a hrefhttps://access-excel.tips/excel/excel-menu/excel-vba-function-list/>Excel Function List (VBA)/a>/li>li classpage_item page-item-851>a hrefhttps://access-excel.tips/excel/excel-menu/excel-method-list-vba/>Excel Method List (VBA)/a>/li>li classpage_item page-item-582>a hrefhttps://access-excel.tips/excel/excel-menu/excel-object-property/>Excel Object Property List (VBA)/a>/li>li classpage_item page-item-876>a hrefhttps://access-excel.tips/excel/excel-menu/excel-event-list-vba/>Excel Event List (VBA)/a>/li>/ul>/li>li classpage_item page-item-1124>a hrefhttps://access-excel.tips/excel/excel-tips-vba/>Excel Tips by topic/a>/li>/ul>/li>li classpage_item page-item-5498>a hrefhttps://access-excel.tips/privacy-policy/>Privacy Policy/a>/li>li classpage_item page-item-5503>a hrefhttps://access-excel.tips/about/>About/a>/li>li classpage_item page-item-5>a hrefhttps://access-excel.tips/about-us/>About Me/a>/li>/ul>/div>div classmenu-bar-items> span classmenu-bar-item>a href# rolebutton aria-labelOpen search aria-haspopupdialog aria-controlsgp-search data-gpmodal-triggergp-search>span classgp-icon icon-search>svg viewBox0 0 512 512 aria-hiddentrue xmlnshttp://www.w3.org/2000/svg width1em height1em>path fill-ruleevenodd clip-ruleevenodd dM208 48c-88.366 0-160 71.634-160 160s71.634 160 160 160 160-71.634 160-160S296.366 48 208 48zM0 208C0 93.125 93.125 0 208 0s208 93.125 208 208c0 48.741-16.765 93.566-44.843 129.024l133.826 134.018c9.366 9.379 9.355 24.575-.025 33.941-9.379 9.366-24.575 9.355-33.941-.025L337.238 370.987C301.747 399.167 256.839 416 208 416 93.125 416 0 322.875 0 208z />/svg>svg viewBox0 0 512 512 aria-hiddentrue xmlnshttp://www.w3.org/2000/svg width1em height1em>path dM71.029 71.029c9.373-9.372 24.569-9.372 33.942 0L256 222.059l151.029-151.03c9.373-9.372 24.569-9.372 33.942 0 9.372 9.373 9.372 24.569 0 33.942L289.941 256l151.03 151.029c9.372 9.373 9.372 24.569 0 33.942-9.373 9.372-24.569 9.372-33.942 0L256 289.941l-151.029 151.03c-9.373 9.372-24.569 9.372-33.942 0-9.372-9.373-9.372-24.569 0-33.942L222.059 256 71.029 104.971c-9.372-9.373-9.372-24.569 0-33.942z />/svg>/span>/a>/span>/div>/div>/nav>div classsite grid-container container hfeed idpage>div classsite-content idcontent>div classcontent-area idprimary>main classsite-main idmain>article idpost-5647 classpost-5647 post type-post status-publish format-standard has-post-thumbnail hentry category-pivot-table itemtypehttps://schema.org/CreativeWork itemscope>div classinside-article>header classentry-header>h2 classentry-title itempropheadline>a hrefhttps://access-excel.tips/excel-pivot-table-distinct-count-unique/ relbookmark>Excel Pivot Table Distinct Count to count unique value/a>/h2>div classentry-meta>span classposted-on>time classupdated datetime2025-07-16T11:37:14+08:00 itempropdateModified>July 16, 2025/time>time classentry-date published datetime2019-05-12T04:23:46+08:00 itempropdatePublished>May 12, 2019/time>/span> span classbyline>by span classauthor vcard itempropauthor itemtypehttps://schema.org/Person itemscope>a classurl fn n hrefhttps://access-excel.tips/author/scammera1/ titleView all posts by Wyman W relauthor itempropurl>span classauthor-name itempropname>Wyman W/span>/a>/span>/span>/div>/header>div classpost-image>a hrefhttps://access-excel.tips/excel-pivot-table-distinct-count-unique/>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgdmlld0JveD0iMCAwIDIwMCAyMDAiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ width200 height200 data-srchttps://access-excel.tips/wp-content/uploads/2014/12/feature_excel-e1496498521642.png classattachment-full size-full wp-post-image alt itempropimage decodingasync data-srcsethttps://access-excel.tips/wp-content/uploads/2014/12/feature_excel-e1496498521642.png 200w, https://access-excel.tips/wp-content/uploads/2014/12/feature_excel-e1496498521642-150x150.png 150w data-sizes(max-width: 200px) 100vw, 200px />/a>/div>div classentry-content itemproptext>div classwprt-container>p>This Excel tutorial explains how to use distinct count in Pivot Table to count number of unique value in a column grouped by other fields./p>p>In Excel 2013, there is a new aggregate function in Pivot Table called strong>Distinct Count/strong>, which counts number of unique value in a column. For example, if a column contains employee names, you can use the distinct count function to count number of unique employee names in the column such as below./p>h2 classwp-block-heading>figure>a hrefhttps://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-09.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNzc5IiBoZWlnaHQ9IjM3OSIgdmlld0JveD0iMCAwIDc3OSAzNzkiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ fetchpriorityhigh decodingasync classalignnone size-full wp-image-5658 data-srchttps://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-09.jpg alt width779 height379 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-09.jpg 779w, https://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-09-300x146.jpg 300w, https://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-09-768x374.jpg 768w data-sizes(max-width: 779px) 100vw, 779px />/a>/figure>/h2>p>In this tutorial, I am going to demonstrate how to do distinct count./p>h2 classwp-block-heading>span stylecolor: #0000ff;>Example – distinct count number of unique employee names by departmentbr>/span>/h2>p>Suppose we have a staff list below. We want to see how many unique employee names are in the same department./p>figure classwp-block-image>a hrefhttps://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-01.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNTkyIiBoZWlnaHQ9IjM3MiIgdmlld0JveD0iMCAwIDU5MiAzNzIiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ decodingasync width592 height372 data-srchttps://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-01.jpg alt classwp-image-5650 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-01.jpg 592w, https://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-01-300x189.jpg 300w data-sizes(max-width: 592px) 100vw, 592px />/a>/figure>p>/p>p> /p>p>Select the concerned data, navigate to strong>Insert/strong> > strong>Pivot Table/strong>, then in the strong>Create PivotTable/strong> dialog, check the box strong>span stylecolor: #0000ff;>Add this data to the Data Model /span>/strong>span stylecolor: #000000;>> OK/span>/p>p>This option is very important as span stylecolor: #ff0000;>Distinct Count function will not be available if you don’t check this box/span>./p>figure classwp-block-image>a hrefhttps://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-02.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTAzMiIgaGVpZ2h0PSI0MjYiIHZpZXdCb3g9IjAgMCAxMDMyIDQyNiI+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgc3R5bGU9ImZpbGw6I2NmZDRkYjtmaWxsLW9wYWNpdHk6IDAuMTsiLz48L3N2Zz4 loadinglazy decodingasync width1032 height426 data-srchttps://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-02.jpg alt classwp-image-5651 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-02.jpg 1032w, https://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-02-300x124.jpg 300w, https://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-02-1024x423.jpg 1024w, https://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-02-768x317.jpg 768w data-sizesauto, (max-width: 1032px) 100vw, 1032px />/a>/figure>p>/p>p> /p>p>In the Pivot Table, drag Department and Employee Name to the strong>Rows/strong>, drag Employee Name to the strong>Values. /strong>By default, the aggregate function on the value is strong>Count/strong>.strong>br>/strong>/p>figure classwp-block-image>a hrefhttps://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-06.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzk3IiBoZWlnaHQ9IjU3MCIgdmlld0JveD0iMCAwIDM5NyA1NzAiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync width397 height570 data-srchttps://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-06.jpg alt classwp-image-5655 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-06.jpg 397w, https://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-06-209x300.jpg 209w data-sizesauto, (max-width: 397px) 100vw, 397px />/a>/figure>p>/p>p> /p>p>Click on the arrow next to strong>Count of Employee Name/strong>, select strong>Value Field Settings/strong>/p>p>In the strong>Value Field Settings/strong>, select strong>Distinct Count/strong> > OK/p>figure classwp-block-image>a hrefhttps://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-07.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNzc3IiBoZWlnaHQ9IjUwMyIgdmlld0JveD0iMCAwIDc3NyA1MDMiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync width777 height503 data-srchttps://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-07.jpg alt classwp-image-5656 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-07.jpg 777w, https://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-07-300x194.jpg 300w, https://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-07-768x497.jpg 768w data-sizesauto, (max-width: 777px) 100vw, 777px />/a>/figure>p>/p>p> /p>p>Now the Pivot Table displays the distinct count of employee name by department and display each all the names under each department./p>p>Overall, there are a total of 17 staff, as there are two Cathy and two Icy, the distinct count of employee name in the whole company is 15./p>figure classwp-block-image>a hrefhttps://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-08.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNDQ2IiBoZWlnaHQ9IjUwNSIgdmlld0JveD0iMCAwIDQ0NiA1MDUiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync width446 height505 data-srchttps://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-08.jpg alt classwp-image-5657 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-08.jpg 446w, https://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-08-265x300.jpg 265w data-sizesauto, (max-width: 446px) 100vw, 446px />/a>/figure>p>/p>p> /p>p>Alternatively, display the distinct count without displaying the employee name./p>figure classwp-block-image>a hrefhttps://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-10.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNDE0IiBoZWlnaHQ9IjE5MiIgdmlld0JveD0iMCAwIDQxNCAxOTIiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync width414 height192 data-srchttps://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-10.jpg alt classwp-image-5659 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-10.jpg 414w, https://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-10-300x139.jpg 300w data-sizesauto, (max-width: 414px) 100vw, 414px />/a>/figure>p>/p>p> /p>h2 classwp-block-heading>span stylecolor: #0000ff;>Outbound References/span>/h2>figure classwp-block-embed>div classwp-block-embed__wrapper>https://support.office.com/en-us/article/count-unique-values-among-duplicates-8d9a69b3-b867-490e-82e0-a929fbc1e273/div>/figure>/div>/div>footer classentry-meta aria-labelEntry meta>span classcat-links>span classgp-icon icon-categories>svg viewBox0 0 512 512 aria-hiddentrue xmlnshttp://www.w3.org/2000/svg width1em height1em>path dM0 112c0-26.51 21.49-48 48-48h110.014a48 48 0 0143.592 27.907l12.349 26.791A16 16 0 00228.486 128H464c26.51 0 48 21.49 48 48v224c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V112z />/svg>/span>span classscreen-reader-text>Categories /span>a hrefhttps://access-excel.tips/category/excel/pivot-table/ relcategory tag>Chapter 5 - Pivot Table/a>/span>/footer>/div>/article>article idpost-5626 classpost-5626 post type-post status-publish format-standard has-post-thumbnail hentry category-uncategorized category-unit-6-excel-vba-methods category-unit-9-excel-custom-sub itemtypehttps://schema.org/CreativeWork itemscope>div classinside-article>header classentry-header>h2 classentry-title itempropheadline>a hrefhttps://access-excel.tips/import-csv-into-excel-workbooks-opentext-method/ relbookmark>Excel VBA Import CSV into Excel using Workbooks.OpenText Method/a>/h2>div classentry-meta>span classposted-on>time classentry-date published datetime2019-05-06T00:14:52+08:00 itempropdatePublished>May 6, 2019/time>/span> span classbyline>by span classauthor vcard itempropauthor itemtypehttps://schema.org/Person itemscope>a classurl fn n hrefhttps://access-excel.tips/author/scammera1/ titleView all posts by Wyman W relauthor itempropurl>span classauthor-name itempropname>Wyman W/span>/a>/span>/span>/div>/header>div classpost-image>a hrefhttps://access-excel.tips/import-csv-into-excel-workbooks-opentext-method/>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjYzIiBoZWlnaHQ9IjI2NCIgdmlld0JveD0iMCAwIDI2MyAyNjQiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ width263 height264 data-srchttps://access-excel.tips/wp-content/uploads/2014/12/feature_excel_vba.jpg classattachment-full size-full wp-post-image alt itempropimage decodingasync loadinglazy data-srcsethttps://access-excel.tips/wp-content/uploads/2014/12/feature_excel_vba.jpg 263w, https://access-excel.tips/wp-content/uploads/2014/12/feature_excel_vba-150x150.jpg 150w data-sizesauto, (max-width: 263px) 100vw, 263px />/a>/div>div classentry-content itemproptext>div classwprt-container>This Excel VBA tutorial explains how to import CSV into Excel automatically using Workbooks.OpenText Method. You may select different delimiters such as Tab, semicolon, comma, space./p>p>You may also want to read:/p>p classentry-title>a hrefhttps://access-excel.tips/import-chinese-csv-to-excel/>Import Chinese CSV to Excel/a>/p>p>a hrefhttps://access-excel.tips/vba-convert-csv-to-excel/>Excel VBA convert CSV to Excel/a>/p>h2>span stylecolor: #0000ff;>Excel VBA Import CSV into Excel using Workbooks.OpenText Method/span>/h2>p>In Excel workbook, you can manually import a CSV file into Excel (Data > From Text / CSV). However, you have to select some options in advance such as delimiter. In order to import CSV into Excel automatically, you may use strong>Workbooks.Open Text Method/strong>./p>h2>span stylecolor: #0000ff;>Syntax of Workbooks.Open Text Method/span>/h2>pre>span stylefont-family: Arial, Helvetica, sans-serif;>code>Workbooks.OpenText(FileName, Origin , StartRow , DataType , TextQualifier , ConsecutiveDelimiter , Tab , Semicolon , Comma , Space , Other , OtherChar , FieldInfo , TextVisualLayout , DecimalSeparator , ThousandsSeparator , TrailingMinusNumbers , Local)/code>/span>/pre>table styleheight: 1909px; width1311>tbody>tr>td width161>Name/td>td width139>Required/Optional/td>td width101>Data type/td>td width350>Description/td>/tr>tr>td width161>FileName/td>td width139>Required/td>td width101>String/td>td width350>Specifies the file name of the text file to be opened and parsed./td>/tr>tr>td width161>Origin/td>td width139>Optional/td>td width101>Variant/td>td width350>Specifies the origin of the text file. Can be one of the following xlPlatform constants: xlMacintosh, xlWindows, or xlMSDOS. Additionally, this could be an integer representing the code page number of the desired code page. For example, “1256” would specify that the encoding of the source text file is Arabic (Windows). If this argument is omitted, the method uses the current setting of the File Origin option in the Text Import Wizard./td>/tr>tr>td width161>StartRow/td>td width139>Optional/td>td width101>Variant/td>td width350>The row number at which to start parsing text. The default value is 1./td>/tr>tr>td width161>DataType/td>td width139>Optional/td>td width101>Variant/td>td width350>Specifies the column format of the data in the file. Can be one of the following XlTextParsingType constants: xlDelimited or xlFixedWidth. If this argument is not specified, Microsoft Excel attempts to determine the column format when it opens the file./p>table width558>tbody>tr>td width186>Name/td>td width186>Value/td>td width186>Description/td>/tr>tr>td width186>xlDelimited/td>td width186>1/td>td width186>Default. Indicates that the file is delimited by delimiter characters./td>/tr>tr>td width186>xlFixedWidth/td>td width186>2/td>td width186>Indicates that the data in the file is arranged in columns of fixed widths./td>/tr>/tbody>/table>/td>/tr>tr>td width161>TextQualifier/td>td width139>Optional/td>td width101>Variant/td>td width350>table width415>tbody>tr>td width190>Name/td>td width46>Value/td>td width179>Description/td>/tr>tr>td width190>xlTextQualifierDoubleQuote/td>td width46>1/td>td width179>Double quotation mark (“)./td>/tr>tr>td width190>xlTextQualifierNone/td>td width46>-4142/td>td width179>No delimiter./td>/tr>tr>td width190>xlTextQualifierSingleQuote/td>td width46>2/td>td width179>Single quotation mark (‘)./td>/tr>/tbody>/table>/td>/tr>tr>td width161>ConsecutiveDelimiter/td>td width139>Optional/td>td width101>Variant/td>td width350>True to have consecutive delimiters considered one delimiter. The default is False./td>/tr>tr>td width161>Tab/td>td width139>Optional/td>td width101>Variant/td>td width350>True to have the tab character be the delimiter (DataType must be xlDelimited). The default value is False./td>/tr>tr>td width161>Semicolon/td>td width139>Optional/td>td width101>Variant/td>td width350>True to have the semicolon character be the delimiter (DataType must be xlDelimited). The default value is False./td>/tr>tr>td width161>Comma/td>td width139>Optional/td>td width101>Variant/td>td width350>True to have the comma character be the delimiter (DataType must be xlDelimited). The default value is False./td>/tr>tr>td width161>Space/td>td width139>Optional/td>td width101>Variant/td>td width350>True to have the space character be the delimiter (DataType must be xlDelimited). The default value is False./td>/tr>tr>td width161>Other/td>td width139>Optional/td>td width101>Variant/td>td width350>True to have the character specified by the OtherChar argument be the delimiter (DataType must be xlDelimited). The default value is False./td>/tr>tr>td width161>OtherChar/td>td width139>Optional/td>td width101>Variant/td>td width350>(required if Other is True). Specifies the delimiter character when Other is True. If more than one character is specified, only the first character of the string is used; the remaining characters are ignored./td>/tr>tr>td width161>FieldInfo/td>td width139>Optional/td>td width101>Variant/td>td width350>An array containing parse information for individual columns of data. The interpretation depends on the value of DataType. When the data is delimited, this argument is an array of two-element arrays, with each two-element array specifying the conversion options for a particular column. The first element is the column number (1-based), and the second element is one of the XlColumnDataType constants specifying how the column is parsed./p>table width415>tbody>tr>td width190>Name/td>td width46>Value/td>td width179>Description/td>/tr>tr>td width190>xlDMYFormat/td>td width46>4/td>td width179>DMY date format./td>/tr>tr>td width190>xlDYMFormat/td>td width46>7/td>td width179>DYM date format./td>/tr>tr>td width190>xlEMDFormat/td>td width46>10/td>td width179>EMD date format./td>/tr>tr>td width190>xlGeneralFormat/td>td width46>1/td>td width179>General./td>/tr>tr>td width190>xlMDYFormat/td>td width46>3/td>td width179>MDY date format./td>/tr>tr>td width190>xlMYDFormat/td>td width46>6/td>td width179>MYD date format./td>/tr>tr>td width190>xlSkipColumn/td>td width46>9/td>td width179>Column is not parsed./td>/tr>tr>td width190>xlTextFormat/td>td width46>2/td>td width179>Text./td>/tr>tr>td width190>xlYDMFormat/td>td width46>8/td>td width179>YDM date format./td>/tr>tr>td width190>xlYMDFormat/td>td width46>5/td>td width179>YMD date format./td>/tr>/tbody>/table>/td>/tr>tr>td width161>TextVisualLayout/td>td width139>Optional/td>td width101>Variant/td>td width350>The visual layout of the text./td>/tr>tr>td width161>DecimalSeparator/td>td width139>Optional/td>td width101>Variant/td>td width350>The decimal separator that Microsoft Excel uses when recognizing numbers. The default setting is the system setting./td>/tr>tr>td width161>ThousandsSeparator/td>td width139>Optional/td>td width101>Variant/td>td width350>The thousands separator that Excel uses when recognizing numbers. The default setting is the system setting./td>/tr>tr>td width161>TrailingMinusNumbers/td>td width139>Optional/td>td width101>Variant/td>td width350>Specify True if numbers with a minus character at the end should be treated as negative numbers. If False or omitted, numbers with a minus character at the end are treated as text./td>/tr>tr>td width161>Local/td>td width139>Optional/td>td width101>Variant/td>td width350>Specify True if regional settings of the machine should be used for separators, numbers and data formatting./td>/tr>/tbody>/table>p> /p>h2>span stylecolor: #0000ff;>Example – Import CSV into Excel using Workbooks.OpenText Method/span>/h2>p>Suppose we have a staff list as below in csv file, in which the delimiter is comma with double quotation around text that contains comma (job title). Uur goal is import CSV into Excel and delimit the data automatically./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2019/05/Import-CSV-into-Excel-using-Workbooks.OpenText-Method-01.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNTU1IiBoZWlnaHQ9IjM4NSIgdmlld0JveD0iMCAwIDU1NSAzODUiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone size-full wp-image-5633 data-srchttps://access-excel.tips/wp-content/uploads/2019/05/Import-CSV-into-Excel-using-Workbooks.OpenText-Method-01.jpg alt width555 height385 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/05/Import-CSV-into-Excel-using-Workbooks.OpenText-Method-01.jpg 555w, https://access-excel.tips/wp-content/uploads/2019/05/Import-CSV-into-Excel-using-Workbooks.OpenText-Method-01-300x208.jpg 300w data-sizesauto, (max-width: 555px) 100vw, 555px />/a>/p>p>In the VBA code, for the case of a mix of double quotation and no double quotation, we can skip the strong>TextQualifier/strong> argument. We only have to identify the file path and delimiter as below./p>pre>Public Sub OpenCsvFile() .OpenText Filename:C:\Users\WYMAN\Desktop\staff list.csv, DataType:xlDelimited, comma:True End Sub/pre>p>Create a new workbook, press ALT+F11 to insert the above procedure and then execute the procedure. The CSV file will open in Excel and the data is delimited properly./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2019/05/Import-CSV-into-Excel-using-Workbooks.OpenText-Method-02.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNjU5IiBoZWlnaHQ9IjY3MCIgdmlld0JveD0iMCAwIDY1OSA2NzAiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone size-full wp-image-5634 data-srchttps://access-excel.tips/wp-content/uploads/2019/05/Import-CSV-into-Excel-using-Workbooks.OpenText-Method-02.jpg alt width659 height670 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/05/Import-CSV-into-Excel-using-Workbooks.OpenText-Method-02.jpg 659w, https://access-excel.tips/wp-content/uploads/2019/05/Import-CSV-into-Excel-using-Workbooks.OpenText-Method-02-295x300.jpg 295w data-sizesauto, (max-width: 659px) 100vw, 659px />/a>/p>p> /p>p>Note that OpenText Method only opens the CSV in Excel but it is not importing the data into the current workbook./p>p>To do so, we can add some codes to copy the worksheet over to the current workboook ./p>pre>Public Sub OpenCsvFile() Application.ScreenUpdating False Workbooks.OpenText Filename:C:\Users\WYMAN\Desktop\staff list.csv, DataType:xlDelimited, comma:True With ActiveWorkbook span stylecolor: #ff0000;>.ActiveSheet.Copy After:ThisWorkbook.Sheets(Sheets.Count)/span> .Close End With Cells.Select Cells.EntireColumn.AutoFit Range(A1).Select Application.ScreenUpdating TrueEnd Sub/pre>p> /p>p>Execute the above procedure, now the delimited csv is added to the current workbook in a new worksheet./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2019/05/Import-CSV-into-Excel-using-Workbooks.OpenText-Method-03.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNzQyIiBoZWlnaHQ9IjY3OCIgdmlld0JveD0iMCAwIDc0MiA2NzgiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone size-full wp-image-5635 data-srchttps://access-excel.tips/wp-content/uploads/2019/05/Import-CSV-into-Excel-using-Workbooks.OpenText-Method-03.jpg alt width742 height678 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/05/Import-CSV-into-Excel-using-Workbooks.OpenText-Method-03.jpg 742w, https://access-excel.tips/wp-content/uploads/2019/05/Import-CSV-into-Excel-using-Workbooks.OpenText-Method-03-300x274.jpg 300w data-sizesauto, (max-width: 742px) 100vw, 742px />/a>/p>p> /p>h2>span stylecolor: #0000ff;>Outbound References/span>/h2>p>a hrefhttps://docs.microsoft.com/zh-tw/office/vba/api/Excel.Workbooks.OpenText>https://docs.microsoft.com/zh-tw/office/vba/api/Excel.Workbooks.OpenText/a>/div>/div>footer classentry-meta aria-labelEntry meta>span classcat-links>span classgp-icon icon-categories>svg viewBox0 0 512 512 aria-hiddentrue xmlnshttp://www.w3.org/2000/svg width1em height1em>path dM0 112c0-26.51 21.49-48 48-48h110.014a48 48 0 0143.592 27.907l12.349 26.791A16 16 0 00228.486 128H464c26.51 0 48 21.49 48 48v224c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V112z />/svg>/span>span classscreen-reader-text>Categories /span>a hrefhttps://access-excel.tips/category/uncategorized/ relcategory tag>Uncategorized/a>, a hrefhttps://access-excel.tips/category/excel/excel-vba/unit-6-excel-vba-methods/ relcategory tag>Unit 6 - Excel VBA Methods/a>, a hrefhttps://access-excel.tips/category/excel/excel-vba/unit-9-excel-custom-sub/ relcategory tag>Unit 9 - Excel Custom Sub Procedure/a>/span>/footer>/div>/article>article idpost-5611 classpost-5611 post type-post status-publish format-standard has-post-thumbnail hentry category-unit-9-excel-custom-sub itemtypehttps://schema.org/CreativeWork itemscope>div classinside-article>header classentry-header>h2 classentry-title itempropheadline>a hrefhttps://access-excel.tips/excel-vba-convert-text-in-columns-and-rows-into-matrix-table/ relbookmark>Excel VBA Convert Text in Columns and Rows into Matrix Table/a>/h2>div classentry-meta>span classposted-on>time classentry-date published datetime2019-05-01T17:27:18+08:00 itempropdatePublished>May 1, 2019/time>/span> span classbyline>by span classauthor vcard itempropauthor itemtypehttps://schema.org/Person itemscope>a classurl fn n hrefhttps://access-excel.tips/author/scammera1/ titleView all posts by Wyman W relauthor itempropurl>span classauthor-name itempropname>Wyman W/span>/a>/span>/span>/div>/header>div classpost-image>a hrefhttps://access-excel.tips/excel-vba-convert-text-in-columns-and-rows-into-matrix-table/>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjYzIiBoZWlnaHQ9IjI2NCIgdmlld0JveD0iMCAwIDI2MyAyNjQiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ width263 height264 data-srchttps://access-excel.tips/wp-content/uploads/2014/12/feature_excel_vba.jpg classattachment-full size-full wp-post-image alt itempropimage decodingasync loadinglazy data-srcsethttps://access-excel.tips/wp-content/uploads/2014/12/feature_excel_vba.jpg 263w, https://access-excel.tips/wp-content/uploads/2014/12/feature_excel_vba-150x150.jpg 150w data-sizesauto, (max-width: 263px) 100vw, 263px />/a>/div>div classentry-content itemproptext>div classwprt-container>This Excel VBA tutorial explains how to convert text in columns and rows into Matrix Table. The Matrix table will display text instead of aggregated numbers./p>p>You may also want to read:/p>p>a hrefhttps://access-excel.tips/access-crosstab-query/>Access Crosstab Query/a>/p>h2>span stylecolor: #0000ff;>Excel VBA Convert Text in Columns and Rows into Matrix Table/span>/h2>p>Using Excel Pivot Table, it is easy convert data into a Matrix Table with the help of Aggregate Functions such as Count, Sum, standard deviation. The information in the Matrix Table is displayed in aggregated numbers. Below is an example of a Matrix Table using aggregated function./p>p>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iODY5IiBoZWlnaHQ9IjkwIiB2aWV3Qm94PSIwIDAgODY5IDkwIj48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBzdHlsZT0iZmlsbDojY2ZkNGRiO2ZpbGwtb3BhY2l0eTogMC4xOyIvPjwvc3ZnPg loadinglazy decodingasync classalignnone size-full wp-image-4628 data-srchttps://access-excel.tips/wp-content/uploads/2016/12/Access-Crosstab-Query-04.jpg data-sizesauto, (max-width: 869px) 100vw, 869px data-srcsethttps://access-excel.tips/wp-content/uploads/2016/12/Access-Crosstab-Query-04.jpg 869w, https://access-excel.tips/wp-content/uploads/2016/12/Access-Crosstab-Query-04-300x31.jpg 300w, https://access-excel.tips/wp-content/uploads/2016/12/Access-Crosstab-Query-04-768x80.jpg 768w, https://access-excel.tips/wp-content/uploads/2016/12/Access-Crosstab-Query-04-600x62.jpg 600w alt width869 height90 />/p>p>However if you want to create a Matrix Table in which you want to display nominal data (text) instead of aggregated numbers, Pivot Table is not technically possible./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2019/05/Excel-VBA-Convert-Columns-and-Rows-into-Matrix-Table-03.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTM0MSIgaGVpZ2h0PSI3NzYiIHZpZXdCb3g9IjAgMCAxMzQxIDc3NiI+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgc3R5bGU9ImZpbGw6I2NmZDRkYjtmaWxsLW9wYWNpdHk6IDAuMTsiLz48L3N2Zz4 loadinglazy decodingasync classalignnone size-full wp-image-5617 data-srchttps://access-excel.tips/wp-content/uploads/2019/05/Excel-VBA-Convert-Columns-and-Rows-into-Matrix-Table-03.jpg alt width1341 height776 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/05/Excel-VBA-Convert-Columns-and-Rows-into-Matrix-Table-03.jpg 1341w, https://access-excel.tips/wp-content/uploads/2019/05/Excel-VBA-Convert-Columns-and-Rows-into-Matrix-Table-03-300x174.jpg 300w, https://access-excel.tips/wp-content/uploads/2019/05/Excel-VBA-Convert-Columns-and-Rows-into-Matrix-Table-03-1024x593.jpg 1024w, https://access-excel.tips/wp-content/uploads/2019/05/Excel-VBA-Convert-Columns-and-Rows-into-Matrix-Table-03-768x444.jpg 768w data-sizesauto, (max-width: 1341px) 100vw, 1341px />/a>/p>p>In this tutorial, I am going demonstrate how to convert text in columns and rows into Matrix Table to display nominal data using Excel VBA./p>h2>span stylecolor: #0000ff;>VBA Code – Convert Columns and Rows into Matrix Table/span>/h2>p>Press ALT+F11 and insert the below VBA Procedure into a Module. Note that the you probably need to customize your own code in order to fit your needs, the below Procedure is just an example to show you how it can be done./p>pre>Public Sub convertMatrix()span stylecolor: #0000ff;> assume data worksheet contains employee info, while matrix worksheet is the end result/span> For r 2 To Worksheets(data).Range(A & Rows.Count).End(xlUp).Row Name Worksheets(data).Range(A & r) dept Worksheets(data).Range(B & r) Title Worksheets(data).Range(C & r) salary Worksheets(data).Range(D & r) grade Worksheets(data).Range(E & r) span stylecolor: #0000ff;> search for department column number in the matrix table/span> For c 1 To Worksheets(matrix).Range(IV & 1).End(xlToLeft).Column If Worksheets(matrix).Cells(1, c).Value dept Then matrixCol c Exit For End If Next c span stylecolor: #0000ff;> search for grade row in the matrix table/span> For g 2 To Worksheets(matrix).Range(A & Rows.Count).End(xlUp).Row If Worksheets(matrix).Cells(g, 1) grade Then matrixRow g Exit For End If Next g span stylecolor: #0000ff;> Convert columns and rows into matrix table/span> If Worksheets(matrix).Cells(g, c).Value <> Then Worksheets(matrix).Cells(g, c).Value Worksheets(matrix).Cells(g, c).Value & vbCrLf & vbCrLf & Name & vbCrLf & Title & vbCrLf & salary Else Worksheets(matrix).Cells(g, c).Value Name & vbCrLf & Title & vbCrLf & salary End If Next rEnd Sub/pre>h2>span stylecolor: #0000ff;>Example – Convert Columns and Rows into Matrix Table/span>/h2>p>Suppose strong>data/strong> worksheet contains the employee data that you want to convert into matrix table./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2019/05/Excel-VBA-Convert-Columns-and-Rows-into-Matrix-Table-01.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNzE2IiBoZWlnaHQ9IjM0NyIgdmlld0JveD0iMCAwIDcxNiAzNDciPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone size-full wp-image-5615 data-srchttps://access-excel.tips/wp-content/uploads/2019/05/Excel-VBA-Convert-Columns-and-Rows-into-Matrix-Table-01.jpg alt width716 height347 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/05/Excel-VBA-Convert-Columns-and-Rows-into-Matrix-Table-01.jpg 716w, https://access-excel.tips/wp-content/uploads/2019/05/Excel-VBA-Convert-Columns-and-Rows-into-Matrix-Table-01-300x145.jpg 300w data-sizesauto, (max-width: 716px) 100vw, 716px />/a>/p>p>The employees highlighted in yellow are in the same department and of the same grade, I will demonstrate how it will display in the matrix table./p>p> /p>p>strong>matrix/strong> worksheet contains the layout of the matrix, where we want to put the employee data into a matrix of Department and Grade./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2019/05/Excel-VBA-Convert-Columns-and-Rows-into-Matrix-Table-02.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNjIyIiBoZWlnaHQ9IjQ5NCIgdmlld0JveD0iMCAwIDYyMiA0OTQiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone size-full wp-image-5616 data-srchttps://access-excel.tips/wp-content/uploads/2019/05/Excel-VBA-Convert-Columns-and-Rows-into-Matrix-Table-02.jpg alt width622 height494 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/05/Excel-VBA-Convert-Columns-and-Rows-into-Matrix-Table-02.jpg 622w, https://access-excel.tips/wp-content/uploads/2019/05/Excel-VBA-Convert-Columns-and-Rows-into-Matrix-Table-02-300x238.jpg 300w data-sizesauto, (max-width: 622px) 100vw, 622px />/a>/p>p> /p>p>Now execute the Procedure, employees and their info are put into the matrix table./p>p>For employee Cat and Cathy, since they are in the same department and they are of the same grade, both their info are put into Cell B4, separated by a blank row./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2019/05/Excel-VBA-Convert-Columns-and-Rows-into-Matrix-Table-03.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTM0MSIgaGVpZ2h0PSI3NzYiIHZpZXdCb3g9IjAgMCAxMzQxIDc3NiI+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgc3R5bGU9ImZpbGw6I2NmZDRkYjtmaWxsLW9wYWNpdHk6IDAuMTsiLz48L3N2Zz4 loadinglazy decodingasync classalignnone size-full wp-image-5617 data-srchttps://access-excel.tips/wp-content/uploads/2019/05/Excel-VBA-Convert-Columns-and-Rows-into-Matrix-Table-03.jpg alt width1341 height776 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/05/Excel-VBA-Convert-Columns-and-Rows-into-Matrix-Table-03.jpg 1341w, https://access-excel.tips/wp-content/uploads/2019/05/Excel-VBA-Convert-Columns-and-Rows-into-Matrix-Table-03-300x174.jpg 300w, https://access-excel.tips/wp-content/uploads/2019/05/Excel-VBA-Convert-Columns-and-Rows-into-Matrix-Table-03-1024x593.jpg 1024w, https://access-excel.tips/wp-content/uploads/2019/05/Excel-VBA-Convert-Columns-and-Rows-into-Matrix-Table-03-768x444.jpg 768w data-sizesauto, (max-width: 1341px) 100vw, 1341px />/a>/p>h2>/h2>h2>span stylecolor: #0000ff;>Outbound References/span>/h2>p>a hrefhttps://support.office.com/en-us/article/Transpose-rotate-data-from-rows-to-columns-or-vice-versa-3419F2E3-BEAB-4318-AAE5-D0F862209744>https://support.office.com/en-us/article/Transpose-rotate-data-from-rows-to-columns-or-vice-versa-3419F2E3-BEAB-4318-AAE5-D0F862209744/a>/p>p> /p>/div>/div>footer classentry-meta aria-labelEntry meta>span classcat-links>span classgp-icon icon-categories>svg viewBox0 0 512 512 aria-hiddentrue xmlnshttp://www.w3.org/2000/svg width1em height1em>path dM0 112c0-26.51 21.49-48 48-48h110.014a48 48 0 0143.592 27.907l12.349 26.791A16 16 0 00228.486 128H464c26.51 0 48 21.49 48 48v224c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V112z />/svg>/span>span classscreen-reader-text>Categories /span>a hrefhttps://access-excel.tips/category/excel/excel-vba/unit-9-excel-custom-sub/ relcategory tag>Unit 9 - Excel Custom Sub Procedure/a>/span>/footer>/div>/article>article idpost-5577 classpost-5577 post type-post status-publish format-standard has-post-thumbnail hentry category-unit-9-excel-custom-sub itemtypehttps://schema.org/CreativeWork itemscope>div classinside-article>header classentry-header>h2 classentry-title itempropheadline>a hrefhttps://access-excel.tips/search-text-in-multiple-workbooks/ relbookmark>Excel VBA search text in multiple Workbooks in folder/a>/h2>div classentry-meta>span classposted-on>time classentry-date published datetime2019-04-28T23:34:12+08:00 itempropdatePublished>April 28, 2019/time>/span> span classbyline>by span classauthor vcard itempropauthor itemtypehttps://schema.org/Person itemscope>a classurl fn n hrefhttps://access-excel.tips/author/scammera1/ titleView all posts by Wyman W relauthor itempropurl>span classauthor-name itempropname>Wyman W/span>/a>/span>/span>/div>/header>div classpost-image>a hrefhttps://access-excel.tips/search-text-in-multiple-workbooks/>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjYzIiBoZWlnaHQ9IjI2NCIgdmlld0JveD0iMCAwIDI2MyAyNjQiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ width263 height264 data-srchttps://access-excel.tips/wp-content/uploads/2014/12/feature_excel_vba.jpg classattachment-full size-full wp-post-image alt itempropimage decodingasync loadinglazy data-srcsethttps://access-excel.tips/wp-content/uploads/2014/12/feature_excel_vba.jpg 263w, https://access-excel.tips/wp-content/uploads/2014/12/feature_excel_vba-150x150.jpg 150w data-sizesauto, (max-width: 263px) 100vw, 263px />/a>/div>div classentry-content itemproptext>div classwprt-container>This Excel VBA tutorial explains how to search text in multiple Workbooks in a folder and subfolders, and display the result in a summary page, including which workbook, which worksheet, and which Cell contains the text./p>p>You may also want to read:/p>p>a hrefhttps://access-excel.tips/excel-instr-function-vba/>Excel VBA INSTR Function/a>/p>p>a hrefhttps://access-excel.tips/excel-loop-workbooks-folder-subfolder/>Excel loop workbooks in folders and subfolders with FSO/a>/p>h2>span stylecolor: #0000ff;>Excel VBA search text in multiple Workbooks in folderbr />/span>/h2>p>Suppose you have multiple workbooks in a folder, and you want to know if any workbook contains a text you want to look for. The easiest way to do this is to press Ctrl + F in the folder you want to search for the text, then the search result will display./p>p>However this method does not always work for different reasons. If it doesn’t work, then you need to look for an alternate approach. In this post, I will demonstrate how to use Excel VBA to search text in multiple workbooks in a folder and subfolders, and display the result in a summary page, including which workbook, which worksheet, and which Cell contains the text./p>h2>span stylecolor: #0000ff;>VBA Code – search text in multiple Workbooks in folderbr />/span>/h2>p>Create a new workbook, press ALT+F11 and insert the below code in a Module. Do not save this workbook in the folder which you want to search the text./p>pre>Public Sub searchText() Dim FSO As Object Dim folder As Object, subfolder As Object Dim wb As Object Dim ws As Worksheet searchList Arrayspan stylecolor: #ff0000;>(orange, apple, pear)/span> span stylecolor: #0000ff;>define the list of text you want to search, case insensitive/span> Set FSO CreateObject(Scripting.FileSystemObject) folderPath span stylecolor: #ff0000;>C:\test/span> span stylecolor: #0000ff;>define the path of the folder that contains the workbooks/span> Set folder FSO.GetFolder(folderPath) Dim thisWbWs, newWS As Worksheet span stylecolor: #0000ff;> Create summary worksheet if not exist/span> For Each thisWbWs In ActiveWorkbook.Worksheets If wsExists(summary) Then counter 1 End If Next thisWbWs If counter 0 Then Set newWS ThisWorkbook.Worksheets.Add(After:Worksheets(Worksheets.Count)) With newWS .Name summary .Range(A1).Value Target Keyword .Range(B1).Value Workbook .Range(C1).Value Worksheet .Range(D1).Value Address .Range(E1).Value Cell Value End With End If With Application .DisplayAlerts False .ScreenUpdating False .EnableEvents False .AskToUpdateLinks False End With span stylecolor: #0000ff;> Check each workbook in main folder/span> For Each wb In folder.Files If Right(wb.Name, 3) xls Or Right(wb.Name, 4) xlsx Or Right(wb.Name, 4) xlsm Then Set masterWB Workbooks.Open(wb) For Each ws In masterWB.Worksheets For Each Rng In ws.UsedRange For Each i In searchList If InStr(1, Rng.Value, i, vbTextCompare) > 0 Then span stylecolor: #0000ff;>vbTextCompare means case insensitive./span> nextRow ThisWorkbook.Sheets(summary).Range(A & Rows.Count).End(xlUp).Row + 1 With ThisWorkbook.Sheets(summary) .Range(A & nextRow).Value i .Range(B & nextRow).Value Application.ActiveWorkbook.FullName .Range(C & nextRow).Value ws.Name .Range(D & nextRow).Value Rng.Address .Range(E & nextRow).Value Rng.Value End With End If Next i Next Rng Next ws ActiveWorkbook.Close True End If Next span stylecolor: #0000ff;> Check each workbook in sub folders/span> For Each subfolder In folder.SubFolders For Each wb In subfolder.Files If Right(wb.Name, 3) xls Or Right(wb.Name, 4) xlsx Or Right(wb.Name, 4) xlsm Then Set masterWB Workbooks.Open(wb) For Each ws In masterWB.Worksheets For Each Rng In ws.UsedRange For Each i In searchList If InStr(1, Rng.Value, i, vbTextCompare) > 0 Then nextRow ThisWorkbook.Sheets(summary).Range(A & Rows.Count).End(xlUp).Row + 1 With ThisWorkbook.Sheets(summary) .Range(A & nextRow).Value i .Range(B & nextRow).Value Application.ActiveWorkbook.FullName .Range(C & nextRow).Value ws.Name .Range(D & nextRow).Value Rng.Address .Range(E & nextRow).Value Rng.Value End With End If Next i Next Rng Next ws ActiveWorkbook.Close True End If Next Next With Application .DisplayAlerts True .ScreenUpdating True .EnableEvents True .AskToUpdateLinks True End With ThisWorkbook.Sheets(summary).Cells.Select ThisWorkbook.Sheets(summary).Cells.EntireColumn.AutoFit ThisWorkbook.Sheets(summary).Range(A1).Select End SubFunction wsExists(wksName As String) As Boolean On Error Resume Next wsExists CBool(Len(Worksheets(wksName).Name) > 0) On Error GoTo 0End Function/pre>h2>span stylecolor: #0000ff;>Enable Microsoft Scripting Runtimebr />/span>/h2>p>a hrefhttps://docs.microsoft.com/en-us/office/vba/language/reference/user-interface-help/filesystemobject-object>FileSystemObject (FSO/a>) provides an API to access the Windows filesystem such as accessing Drive, TextStram, Folder, File./p>p>You should be able to run FSO in Excel 2013. If you fail to run FSO Object, open VBE (ALT+F11) > Tools > References > Check the box strong>Microsoft Scripting Runtine/strong>/p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2015/05/loop_through_workbook.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNDU5IiBoZWlnaHQ9IjM3MCIgdmlld0JveD0iMCAwIDQ1OSAzNzAiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone size-full wp-image-2351 data-srchttps://access-excel.tips/wp-content/uploads/2015/05/loop_through_workbook.jpg data-sizesauto, (max-width: 459px) 100vw, 459px data-srcsethttps://access-excel.tips/wp-content/uploads/2015/05/loop_through_workbook.jpg 459w, https://access-excel.tips/wp-content/uploads/2015/05/loop_through_workbook-300x242.jpg 300w altloop_through_workbook width459 height370 />/a>/p>h2>span stylecolor: #0000ff;>Example – search text in multiple Workbooks in folderbr />/span>/h2>p>Suppose I want to search text “orange”, “apple”, “pear” in all workbooks under c:\test\, plus workbooks in span stylecolor: #ff0000;>one level down/span> span stylecolor: #ff0000;>subfolders/span> under c:\test\/p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2019/04/Excel-VBA-search-text-in-multiple-Workbooks-01.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNTQyIiBoZWlnaHQ9IjM2NiIgdmlld0JveD0iMCAwIDU0MiAzNjYiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone size-full wp-image-5604 data-srchttps://access-excel.tips/wp-content/uploads/2019/04/Excel-VBA-search-text-in-multiple-Workbooks-01.jpg alt width542 height366 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/04/Excel-VBA-search-text-in-multiple-Workbooks-01.jpg 542w, https://access-excel.tips/wp-content/uploads/2019/04/Excel-VBA-search-text-in-multiple-Workbooks-01-300x203.jpg 300w data-sizesauto, (max-width: 542px) 100vw, 542px />/a>/p>p>I want to return search result even though the search text is a partial text in a Cell./p>p>For example, if Cell A1 value of a workbook is “Orange Juice”, I still want to return the result because it contains “orange”./p>p>Then create a new workbook that contains the VBA code, change the parameters that highlighted in red. Run the Procedure./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2019/04/Excel-VBA-search-text-in-multiple-Workbooks-02.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iODI4IiBoZWlnaHQ9IjUyMSIgdmlld0JveD0iMCAwIDgyOCA1MjEiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone size-full wp-image-5605 data-srchttps://access-excel.tips/wp-content/uploads/2019/04/Excel-VBA-search-text-in-multiple-Workbooks-02.jpg alt width828 height521 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/04/Excel-VBA-search-text-in-multiple-Workbooks-02.jpg 828w, https://access-excel.tips/wp-content/uploads/2019/04/Excel-VBA-search-text-in-multiple-Workbooks-02-300x189.jpg 300w, https://access-excel.tips/wp-content/uploads/2019/04/Excel-VBA-search-text-in-multiple-Workbooks-02-768x483.jpg 768w data-sizesauto, (max-width: 828px) 100vw, 828px />/a>/p>p>A summary worksheet is created, all the workbooks that contains “apple”, “orange” and “pear” will appear in the summary./p>p> /p>/div>/div>footer classentry-meta aria-labelEntry meta>span classcat-links>span classgp-icon icon-categories>svg viewBox0 0 512 512 aria-hiddentrue xmlnshttp://www.w3.org/2000/svg width1em height1em>path dM0 112c0-26.51 21.49-48 48-48h110.014a48 48 0 0143.592 27.907l12.349 26.791A16 16 0 00228.486 128H464c26.51 0 48 21.49 48 48v224c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V112z />/svg>/span>span classscreen-reader-text>Categories /span>a hrefhttps://access-excel.tips/category/excel/excel-vba/unit-9-excel-custom-sub/ relcategory tag>Unit 9 - Excel Custom Sub Procedure/a>/span>/footer>/div>/article>article idpost-5579 classpost-5579 post type-post status-publish format-standard has-post-thumbnail hentry category-access-query itemtypehttps://schema.org/CreativeWork itemscope>div classinside-article>header classentry-header>h2 classentry-title itempropheadline>a hrefhttps://access-excel.tips/select-the-first-record-each-group-using-first-function/ relbookmark>MS Access select the first record of each group using First Function/a>/h2>div classentry-meta>span classposted-on>time classentry-date published datetime2019-04-06T03:15:34+08:00 itempropdatePublished>April 6, 2019/time>/span> span classbyline>by span classauthor vcard itempropauthor itemtypehttps://schema.org/Person itemscope>a classurl fn n hrefhttps://access-excel.tips/author/scammera1/ titleView all posts by Wyman W relauthor itempropurl>span classauthor-name itempropname>Wyman W/span>/a>/span>/span>/div>/header>div classpost-image>a hrefhttps://access-excel.tips/select-the-first-record-each-group-using-first-function/>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjU2IiBoZWlnaHQ9IjI1NiIgdmlld0JveD0iMCAwIDI1NiAyNTYiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ width256 height256 data-srchttps://access-excel.tips/wp-content/uploads/2014/12/frature_access.jpg classattachment-full size-full wp-post-image alt itempropimage decodingasync loadinglazy data-srcsethttps://access-excel.tips/wp-content/uploads/2014/12/frature_access.jpg 256w, https://access-excel.tips/wp-content/uploads/2014/12/frature_access-150x150.jpg 150w data-sizesauto, (max-width: 256px) 100vw, 256px />/a>/div>div classentry-content itemproptext>div classwprt-container>This MS Access tutorial explains how to select the first record of each group using First Function./p>h2>span stylecolor: #0000ff;>MS Access select the first record of each group/span>/h2>p>When I create human resources report, I have always come across a situation where one employee has more than one records. For example, I want to create a staff list where one employee only has one row of record. If I add emergency contact field to the report and if an employee has more than one emergency contacts, then the Query will return one employees with multi-rows of record as below./p>table border1 cellspacing0 bgcolor#ffffff>thead>tr>th bgcolor#c0c0c0>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>Student ID/span>/th>th bgcolor#c0c0c0>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>Name/span>/th>th bgcolor#c0c0c0>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>Emergency Contact/span>/th>/tr>/thead>tbody>tr valignTOP>td alignRIGHT>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>1/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>Apple/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>Mary/span>/td>/tr>tr valignTOP>td alignRIGHT>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>1/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>Apple/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>John/span>/td>/tr>tr valignTOP>td alignRIGHT>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>2/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>Banana/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>Patrick/span>/td>/tr>tr valignTOP>td alignRIGHT>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>2/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>Banana/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>Queenie/span>/td>/tr>tr valignTOP>td alignRIGHT>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>3/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>Cat/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>Anthony/span>/td>/tr>/tbody>tfoot>/tfoot>/table>p> /p>p>In order to avoid multiple records of each EE, we have to extract the first record of Emergency Contact for each employee as shown below./p>table border1 cellspacing0 bgcolor#ffffff>thead>tr>th bgcolor#c0c0c0>Student ID/th>th bgcolor#c0c0c0>Name/th>th bgcolor#c0c0c0>Emergency Contact/th>/tr>/thead>tbody>tr valignTOP>td alignRIGHT>1/td>td>Apple/td>td>Mary/td>/tr>tr valignTOP>td alignRIGHT>2/td>td>Banana/td>td>Patrick/td>/tr>tr valignTOP>td alignRIGHT>3/td>td>Cat/td>td>Anthony/td>/tr>/tbody>tfoot>/tfoot>/table>p>Although it is not ideal as the other Emergency Contact is lost in the staff list, it is still the best workaround we can have./p>p>In this post, I will demonstrate how to do it in MS Access./p>h2>span stylecolor: #0000ff;>MS Access select the first record of each group – span stylecolor: #ff0000;>using First Function/span>br />/span>/h2>p>First of all, Group by Student ID and Name (Home > totals icon), then in the Emergency Contact, select aggregate functiona hrefhttps://support.office.com/en-ie/article/first-last-functions-acd76019-c37f-432d-9807-4fc63cac1db5> strong>First/strong>/a>, it means after the data is grouped by Student ID, Name, the first record of each group is returned./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2019/04/MS-Access-select-the-first-record-of-each-group-using-First-Function-01.png>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzMwIiBoZWlnaHQ9IjQ0NSIgdmlld0JveD0iMCAwIDMzMCA0NDUiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone size-full wp-image-5581 data-srchttps://access-excel.tips/wp-content/uploads/2019/04/MS-Access-select-the-first-record-of-each-group-using-First-Function-01.png alt width330 height445 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/04/MS-Access-select-the-first-record-of-each-group-using-First-Function-01.png 330w, https://access-excel.tips/wp-content/uploads/2019/04/MS-Access-select-the-first-record-of-each-group-using-First-Function-01-222x300.png 222w data-sizesauto, (max-width: 330px) 100vw, 330px />/a>/p>p> /p>p>Then we get the below result./p>table border1 cellspacing0 bgcolor#ffffff>thead>tr>th bgcolor#c0c0c0>Student ID/th>th bgcolor#c0c0c0>Name/th>th bgcolor#c0c0c0>Emergency Contact/th>/tr>/thead>tbody>tr valignTOP>td alignRIGHT>1/td>td>Apple/td>td>Mary/td>/tr>tr valignTOP>td alignRIGHT>2/td>td>Banana/td>td>Patrick/td>/tr>tr valignTOP>td alignRIGHT>3/td>td>Cat/td>td>Anthony/td>/tr>/tbody>/table>p>If you want to apply sorting before selecting the first record, you should create another Query in advance to sort Student ID and Emergency Contact, then the first Emergency Contact changed./p>p> /p>p>There is also another Function called Last, which select the last record of each group./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2019/04/MS-Access-select-the-first-record-of-each-group-using-First-Function-02.png>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzE4IiBoZWlnaHQ9IjQ0NiIgdmlld0JveD0iMCAwIDMxOCA0NDYiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone size-full wp-image-5582 data-srchttps://access-excel.tips/wp-content/uploads/2019/04/MS-Access-select-the-first-record-of-each-group-using-First-Function-02.png alt width318 height446 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/04/MS-Access-select-the-first-record-of-each-group-using-First-Function-02.png 318w, https://access-excel.tips/wp-content/uploads/2019/04/MS-Access-select-the-first-record-of-each-group-using-First-Function-02-214x300.png 214w data-sizesauto, (max-width: 318px) 100vw, 318px />/a>/p>p> /p>p>Result/p>table border1 cellspacing0 bgcolor#ffffff>thead>tr>th bgcolor#c0c0c0>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>Student ID/span>/th>th bgcolor#c0c0c0>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>Name/span>/th>th bgcolor#c0c0c0>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>Emergency ContactOfLast/span>/th>/tr>/thead>tbody>tr valignTOP>td alignRIGHT>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>1/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>Apple/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>John/span>/td>/tr>tr valignTOP>td alignRIGHT>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>2/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>Banana/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>Queenie/span>/td>/tr>tr valignTOP>td alignRIGHT>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>3/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>Cat/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>Anthony/span>/td>/tr>/tbody>tfoot>/tfoot>/table>p>Instead of applying First and Last, you may also consider Min and Max Function. When applying Min and Max, the texts are compared in the same way as sorting text in Excel./p>h2>span stylecolor: #0000ff;>Outbound strong>References/strong>/span>/h2>p>a hrefhttps://support.office.com/en-ie/article/first-last-functions-acd76019-c37f-432d-9807-4fc63cac1db5>https://support.office.com/en-ie/article/first-last-functions-acd76019-c37f-432d-9807-4fc63cac1db5/a>/div>/div>footer classentry-meta aria-labelEntry meta>span classcat-links>span classgp-icon icon-categories>svg viewBox0 0 512 512 aria-hiddentrue xmlnshttp://www.w3.org/2000/svg width1em height1em>path dM0 112c0-26.51 21.49-48 48-48h110.014a48 48 0 0143.592 27.907l12.349 26.791A16 16 0 00228.486 128H464c26.51 0 48 21.49 48 48v224c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V112z />/svg>/span>span classscreen-reader-text>Categories /span>a hrefhttps://access-excel.tips/category/access/access-query/ relcategory tag>Chapter 5 - Access Query/a>/span>/footer>/div>/article>article idpost-5559 classpost-5559 post type-post status-publish format-standard has-post-thumbnail hentry category-excel-basics category-date itemtypehttps://schema.org/CreativeWork itemscope>div classinside-article>header classentry-header>h2 classentry-title itempropheadline>a hrefhttps://access-excel.tips/how-to-change-default-excel-date-format/ relbookmark>How to Change Default Excel Date Format (such as MMDD to DDMM)/a>/h2>div classentry-meta>span classposted-on>time classentry-date published datetime2019-04-02T01:23:44+08:00 itempropdatePublished>April 2, 2019/time>/span> span classbyline>by span classauthor vcard itempropauthor itemtypehttps://schema.org/Person itemscope>a classurl fn n hrefhttps://access-excel.tips/author/scammera1/ titleView all posts by Wyman W relauthor itempropurl>span classauthor-name itempropname>Wyman W/span>/a>/span>/span>/div>/header>div classpost-image>a hrefhttps://access-excel.tips/how-to-change-default-excel-date-format/>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgdmlld0JveD0iMCAwIDIwMCAyMDAiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ width200 height200 data-srchttps://access-excel.tips/wp-content/uploads/2014/12/feature_excel-e1496498521642.png classattachment-full size-full wp-post-image alt itempropimage decodingasync loadinglazy data-srcsethttps://access-excel.tips/wp-content/uploads/2014/12/feature_excel-e1496498521642.png 200w, https://access-excel.tips/wp-content/uploads/2014/12/feature_excel-e1496498521642-150x150.png 150w data-sizesauto, (max-width: 200px) 100vw, 200px />/a>/div>div classentry-content itemproptext>div classwprt-container>This Excel tutorial explains how to change default Excel Date Format from strong>Change Date and Time Format/strong> in Control Panel./p>h2>span stylecolor: #0000ff;>How to Change Default Excel Date Format/span>/h2>p>In the country I live, we normally use date format dd/mm/yyyy. However whenever I work for the US company, the system defaults to mm/dd/yyyy. This is annoying and it causes Excel error. For example, if I mistakenly type UK format 31/12/2019, the date will be recognized as a text because there is no such month as 31. It is even risky if you don’t see this error as you are not aware that you have mistakenly input a wrong date. Although you can simply use a hrefhttps://support.office.com/en-gb/article/text-function-20d5ac4d-7b94-49fd-bb38-93d29371225c>Text Function /a>to change the date format, it is just a one time solution and it does not address the issue every time you create a new Workbook./p>p>This tutorial will explain how to change default Excel date format from Windows setting. The change does not just apply to Excel but all the related Windows environment. Note that if you are not a Windows administrator, you may not be able to make this change./p>h2>span stylecolor: #0000ff;>Example – Change Default Excel Date Format in Control Panelbr />/span>/h2>p>Suppose we want to change default Excel date format from strong>dd/mm/yyyy/strong> to strong>mm/dd/yyyy/strong>./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2019/04/How-to-Change-Default-Excel-Date-Format-01.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjg1IiBoZWlnaHQ9IjE5NyIgdmlld0JveD0iMCAwIDI4NSAxOTciPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone size-full wp-image-5564 data-srchttps://access-excel.tips/wp-content/uploads/2019/04/How-to-Change-Default-Excel-Date-Format-01.jpg alt width285 height197 />/a>/p>p> /p>p>In Windows 10, navigate to strong>Control Panel/strong> > strong>Date and Time/strong> > strong>Change Date and Time Format/strong>/p>p>Even if you are using older versions of Windows, the navigation maybe a little bit different, you can still find this option./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2019/04/How-to-Change-Default-Excel-Date-Format-05.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNjA1IiBoZWlnaHQ9IjQwNiIgdmlld0JveD0iMCAwIDYwNSA0MDYiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone wp-image-5569 data-srchttps://access-excel.tips/wp-content/uploads/2019/04/How-to-Change-Default-Excel-Date-Format-05.jpg alt width605 height406 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/04/How-to-Change-Default-Excel-Date-Format-05.jpg 1066w, https://access-excel.tips/wp-content/uploads/2019/04/How-to-Change-Default-Excel-Date-Format-05-300x202.jpg 300w, https://access-excel.tips/wp-content/uploads/2019/04/How-to-Change-Default-Excel-Date-Format-05-1024x688.jpg 1024w, https://access-excel.tips/wp-content/uploads/2019/04/How-to-Change-Default-Excel-Date-Format-05-768x516.jpg 768w data-sizesauto, (max-width: 605px) 100vw, 605px />/a>/p>p> /p>p>The strong>Short Date format/strong> is currently displaying dd/MM/YYYY, now change to MM/dd/yyyy./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2019/04/How-to-Change-Default-Excel-Date-Format-06.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzMzIiBoZWlnaHQ9IjM3MyIgdmlld0JveD0iMCAwIDMzMyAzNzMiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone wp-image-5570 data-srchttps://access-excel.tips/wp-content/uploads/2019/04/How-to-Change-Default-Excel-Date-Format-06.jpg alt width333 height373 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/04/How-to-Change-Default-Excel-Date-Format-06.jpg 488w, https://access-excel.tips/wp-content/uploads/2019/04/How-to-Change-Default-Excel-Date-Format-06-268x300.jpg 268w data-sizesauto, (max-width: 333px) 100vw, 333px />/a>/p>p> /p>p>Go back to Excel spreadsheet, the value in column A automatically changed./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2019/04/How-to-Change-Default-Excel-Date-Format-04.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjUzIiBoZWlnaHQ9IjE5NiIgdmlld0JveD0iMCAwIDI1MyAxOTYiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone size-full wp-image-5567 data-srchttps://access-excel.tips/wp-content/uploads/2019/04/How-to-Change-Default-Excel-Date-Format-04.jpg alt width253 height196 />/a>/p>p>This makes complete sense because if the date format doesn’t change, all your existing workbooks will be messed up./p>h2>span stylecolor: #0000ff;>Outbound References/span>/h2>p>a hrefhttps://support.office.com/en-gb/article/text-function-20d5ac4d-7b94-49fd-bb38-93d29371225c>https://support.office.com/en-gb/article/text-function-20d5ac4d-7b94-49fd-bb38-93d29371225c/a>/div>/div>footer classentry-meta aria-labelEntry meta>span classcat-links>span classgp-icon icon-categories>svg viewBox0 0 512 512 aria-hiddentrue xmlnshttp://www.w3.org/2000/svg width1em height1em>path dM0 112c0-26.51 21.49-48 48-48h110.014a48 48 0 0143.592 27.907l12.349 26.791A16 16 0 00228.486 128H464c26.51 0 48 21.49 48 48v224c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V112z />/svg>/span>span classscreen-reader-text>Categories /span>a hrefhttps://access-excel.tips/category/excel/excel-basics/ relcategory tag>Chapter 2 - Excel Basics/a>, a hrefhttps://access-excel.tips/category/excel/by-excel-topic/date/ relcategory tag>Date / Time/a>/span>/footer>/div>/article>article idpost-5538 classpost-5538 post type-post status-publish format-standard has-post-thumbnail hentry category-pivot-table itemtypehttps://schema.org/CreativeWork itemscope>div classinside-article>header classentry-header>h2 classentry-title itempropheadline>a hrefhttps://access-excel.tips/group-dates-ungroup-month-excel-pivot-table/ relbookmark>Group Date and Ungroup Month in Excel Pivot Table/a>/h2>div classentry-meta>span classposted-on>time classentry-date published datetime2019-03-31T23:45:35+08:00 itempropdatePublished>March 31, 2019/time>/span> span classbyline>by span classauthor vcard itempropauthor itemtypehttps://schema.org/Person itemscope>a classurl fn n hrefhttps://access-excel.tips/author/scammera1/ titleView all posts by Wyman W relauthor itempropurl>span classauthor-name itempropname>Wyman W/span>/a>/span>/span>/div>/header>div classpost-image>a hrefhttps://access-excel.tips/group-dates-ungroup-month-excel-pivot-table/>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgdmlld0JveD0iMCAwIDIwMCAyMDAiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ width200 height200 data-srchttps://access-excel.tips/wp-content/uploads/2014/12/feature_excel-e1496498521642.png classattachment-full size-full wp-post-image alt itempropimage decodingasync loadinglazy data-srcsethttps://access-excel.tips/wp-content/uploads/2014/12/feature_excel-e1496498521642.png 200w, https://access-excel.tips/wp-content/uploads/2014/12/feature_excel-e1496498521642-150x150.png 150w data-sizesauto, (max-width: 200px) 100vw, 200px />/a>/div>div classentry-content itemproptext>div classwprt-container>This Excel tutorial explains how to group dates and ungroup month in Excel Pivot Table to prevent auto grouping of Pivot Table in Excel 2016./p>h2>span stylecolor: #0000ff;>Group Date and Ungroup Month in Excel Pivot Table/span>/h2>p>Since Excel 2016, when you drag a date field to a Pivot Table Pivot Table Row, the dates are automatically grouped by months instead of showing each date. This is extremely annoying because it is tricky to ungroup the months if it is the first time you encounter this issue./p>p>In this post I am going to explain how to ungroup month in Excel Pivot Table and how to group dates by year or month./p>p>Note that there is an Excel Option called strong>Group dates in the AutoFilter Menu /strong>in Excel option, it does not work for Pivot Table Row Grouping. This option is for normal Auto Filter, not Pivot Table, so don’t get confused./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-01.png>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNTUwIiBoZWlnaHQ9IjMxNSIgdmlld0JveD0iMCAwIDU1MCAzMTUiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone size-full wp-image-5551 data-srchttps://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-01.png alt width550 height315 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-01.png 550w, https://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-01-300x172.png 300w data-sizesauto, (max-width: 550px) 100vw, 550px />/a>/p>h2>span stylecolor: #0000ff;>Ungroup Month in Excel Pivot Table/span>/h2>p>Suppose we have a data source which are dates from 2019 to 2021./p>p> /p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-03.png>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTAyIiBoZWlnaHQ9IjMyOCIgdmlld0JveD0iMCAwIDEwMiAzMjgiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone size-full wp-image-5556 data-srchttps://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-03.png alt width102 height328 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-03.png 102w, https://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-03-93x300.png 93w data-sizesauto, (max-width: 102px) 100vw, 102px />/a>/p>p>Insert a Pivot Table, and then drag the date field to Rows,the dates are automatically grouped by Year, Quarter and Month by default./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-02.png>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTg2IiBoZWlnaHQ9IjMwMCIgdmlld0JveD0iMCAwIDE4NiAzMDAiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone size-full wp-image-5557 data-srchttps://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-02.png alt width186 height300 />/a>/p>p>In order to display the original dates without grouping, right click on the data, select Group./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-04.png>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjU0IiBoZWlnaHQ9IjMxNyIgdmlld0JveD0iMCAwIDI1NCAzMTciPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone size-full wp-image-5555 data-srchttps://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-04.png alt width254 height317 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-04.png 254w, https://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-04-240x300.png 240w data-sizesauto, (max-width: 254px) 100vw, 254px />/a>/p>p>In the dates Grouping options, you can redefine how you want to group the dates. To display the original dates on each row, highlight Days then OK./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-05.png>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjMzIiBoZWlnaHQ9IjMwNSIgdmlld0JveD0iMCAwIDIzMyAzMDUiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone size-full wp-image-5554 data-srchttps://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-05.png alt width233 height305 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-05.png 233w, https://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-05-229x300.png 229w data-sizesauto, (max-width: 233px) 100vw, 233px />/a>/p>p>Now the months are ungrouped and are displayed on each row./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-06.png>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTMxIiBoZWlnaHQ9IjM4NCIgdmlld0JveD0iMCAwIDEzMSAzODQiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone size-full wp-image-5553 data-srchttps://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-06.png alt width131 height384 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-06.png 131w, https://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-06-102x300.png 102w data-sizesauto, (max-width: 131px) 100vw, 131px />/a>/p>p>Alternatively, you can simply right click on the date, then select Ungroup. this will ungroup every grouping./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-07.png>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjY3IiBoZWlnaHQ9IjM0NyIgdmlld0JveD0iMCAwIDI2NyAzNDciPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone size-full wp-image-5552 data-srchttps://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-07.png alt width267 height347 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-07.png 267w, https://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-07-231x300.png 231w data-sizesauto, (max-width: 267px) 100vw, 267px />/a>/p>h2>span stylecolor: #0000ff;>Outbound References/span>/h2>p>a hrefhttps://t.umblr.com/redirect?zhttps%3A%2F%2Fsupport.office.com%2Fen-gb%2Farticle%2Fgroup-or-ungroup-data-in-a-pivottable-c9d1ddd0-6580-47d1-82bc-c84a5a340725&tMzA2YzhiYjhlNmM3OThmZjNlMDY2NjBjY2IxM2U0YmEzZWQ5ZjI0NyxrTlh3SzBEeg%3D%3D&bt%3A1jsF_tEpeVPlDIPf6PLJVw&phttps%3A%2F%2Faccess-excel-tip.tumblr.com%2Fpost%2F183654864100%2Fnew-post-has-been-published-on-access-exceltips&m1>https://support.office.com/en-gb/article/group-or-ungroup-data-in-a-pivottable-c9d1ddd0-6580-47d1-82bc-c84a5a340725/a>/div>/div>footer classentry-meta aria-labelEntry meta>span classcat-links>span classgp-icon icon-categories>svg viewBox0 0 512 512 aria-hiddentrue xmlnshttp://www.w3.org/2000/svg width1em height1em>path dM0 112c0-26.51 21.49-48 48-48h110.014a48 48 0 0143.592 27.907l12.349 26.791A16 16 0 00228.486 128H464c26.51 0 48 21.49 48 48v224c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V112z />/svg>/span>span classscreen-reader-text>Categories /span>a hrefhttps://access-excel.tips/category/excel/pivot-table/ relcategory tag>Chapter 5 - Pivot Table/a>/span>/footer>/div>/article>article idpost-5541 classpost-5541 post type-post status-publish format-standard has-post-thumbnail hentry category-excel-basics itemtypehttps://schema.org/CreativeWork itemscope>div classinside-article>header classentry-header>h2 classentry-title itempropheadline>a hrefhttps://access-excel.tips/how-to-convert-excel-to-pdf/ relbookmark>How to convert Excel to PDF/a>/h2>div classentry-meta>span classposted-on>time classupdated datetime2019-04-01T22:13:47+08:00 itempropdateModified>April 1, 2019/time>time classentry-date published datetime2019-03-31T21:32:13+08:00 itempropdatePublished>March 31, 2019/time>/span> span classbyline>by span classauthor vcard itempropauthor itemtypehttps://schema.org/Person itemscope>a classurl fn n hrefhttps://access-excel.tips/author/scammera1/ titleView all posts by Wyman W relauthor itempropurl>span classauthor-name itempropname>Wyman W/span>/a>/span>/span>/div>/header>div classpost-image>a hrefhttps://access-excel.tips/how-to-convert-excel-to-pdf/>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgdmlld0JveD0iMCAwIDIwMCAyMDAiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ width200 height200 data-srchttps://access-excel.tips/wp-content/uploads/2014/12/feature_excel-e1496498521642.png classattachment-full size-full wp-post-image alt itempropimage decodingasync loadinglazy data-srcsethttps://access-excel.tips/wp-content/uploads/2014/12/feature_excel-e1496498521642.png 200w, https://access-excel.tips/wp-content/uploads/2014/12/feature_excel-e1496498521642-150x150.png 150w data-sizesauto, (max-width: 200px) 100vw, 200px />/a>/div>div classentry-content itemproptext>div classwprt-container>This Excel tutorial explains how to export Excel to PDF in Microsoft Excel and convert Excel to PDF using different online tools./p>h2>span stylecolor: #0000ff;>How to convert Excel to PDF/span>/h2>p>Excel spreadsheets are widely being used in today’s world in order to manage data. The ability to organize data effectively has contributed a lot towards the popularity of the Excel files. However, the Excel files are not portable and it is not the best method available for you to send out a document. That’s because there is a possibility for the recipient to edit the Excel file. The formatting that you have on the Excel file can also get changed when you are sending it to someone. That’s where you will come across the requirement to convert Excel to PDF./p>p>When you want to convert Excel to PDF, you are provided with a variety of options to consider. It is up to you to go through these options and select the best one out of them. Then you will be able to get an enhanced experience at the end of the day. In fact, you can easily overcome the hassle and pain that is linked with getting the Excel files converted to PDF./p>p>Here is a list of 3 of the best tools, which are available for you to convert Excel to PDF. You can take a look at these tools and settle down with the best option out of them./p>h2>span stylecolor: #0000ff;>Onlineconvertfree.com/span>/h2>p>a hrefhttps://onlineconvertfree.com/convert-format/xls-to-pdf/>Onlineconvertfree.com/a> can be considered as one of the most impressive and innovative tools available for you to convert Excel to PDF. You will be able to get an enhanced experience out of this tool. However, you need to understand that the primary functionality of this tool is not to help you convert Excel to PDF. Instead, it can be considered as a versatile and an all-around converter. You will be able to convert any kind of a file to a supported file format with the assistance that you are getting from a hrefhttps://onlineconvertfree.com/convert-format/xls-to-pdf/>onlineconvertfree.com/a>./p>p>The simplicity of a hrefhttps://onlineconvertfree.com/convert-format/xls-to-pdf/>onlineconvertfree.com/a>, which you can experience at the time of converting Excel files to PDF files is impressive. You will love the overall conversion process and how it will be able to deliver quick results to you. a hrefhttps://onlineconvertfree.com/convert-format/xls-to-pdf/>Onlineconvertfree.com/a> has got a simple and easy to use interface. You can easily upload the raw files that you have into this file converter. Then you will be able to select the output file format. For example, if you upload an Excel file, you can select the output file format as PDF. Then you will be able to get the file converted with minimum hassle. The Excel to PDF conversion process is instant as well and you will be able to end up with outstanding results at the end of the day./p>h2>span stylecolor: #0000ff;>Nova PDF/span>/h2>p>Nova PDF can be considered as an addon, which you can download to Excel. You can easily integrate this add-on with Excel and then proceed with the file conversion. It is compatible with all the applications that come under Microsoft Office package, including Microsoft Excel and Microsoft PowerPoint. On the other hand, users are provided with the opportunity to create PDF files directly from the Microsoft Excel interface. This can provide a smooth experience./p>p>Once you have configured Nova PDF with Microsoft Excel, which you have installed on your computer, you will be able to see that as a new menu item. You can visit the menu and then click on the option named as “Save As PDF”. Then you will be able to initiate the PDF conversion. The Excel workbook will immediately be converted into a PDF as well and you will be able to experience a smooth conversion. Hence, it is a great option that you can consider./p>h2>span stylecolor: #0000ff;>Export Excel to PDF in Microsoft Excelbr />/span>/h2>p>Without downloading and configuring any other tool with Microsoft Excel, you are able to get the PDF conversions done as well./p>p>In Excel, navigate to File > Save As, in the strong>Save As Type/strong>, you can save a file as different file types. Below are the available types in Excel 2013./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2015/06/excel_export_to_pdf.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNDg4IiBoZWlnaHQ9IjUyNiIgdmlld0JveD0iMCAwIDQ4OCA1MjYiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone size-full wp-image-2571 data-srchttps://access-excel.tips/wp-content/uploads/2015/06/excel_export_to_pdf.jpg data-sizesauto, (max-width: 488px) 100vw, 488px data-srcsethttps://access-excel.tips/wp-content/uploads/2015/06/excel_export_to_pdf.jpg 488w, https://access-excel.tips/wp-content/uploads/2015/06/excel_export_to_pdf-278x300.jpg 278w, https://access-excel.tips/wp-content/uploads/2015/06/excel_export_to_pdf-300x323.jpg 300w altexcel_export_to_pdf width488 height526 />/a>/p>p> /p>p>Select PDF, then click on the button strong>Options/strong>/p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2015/06/excel_export_to_pdf_02.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNjI1IiBoZWlnaHQ9IjY1MyIgdmlld0JveD0iMCAwIDYyNSA2NTMiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone size-full wp-image-2572 data-srchttps://access-excel.tips/wp-content/uploads/2015/06/excel_export_to_pdf_02.jpg data-sizesauto, (max-width: 625px) 100vw, 625px data-srcsethttps://access-excel.tips/wp-content/uploads/2015/06/excel_export_to_pdf_02.jpg 625w, https://access-excel.tips/wp-content/uploads/2015/06/excel_export_to_pdf_02-287x300.jpg 287w, https://access-excel.tips/wp-content/uploads/2015/06/excel_export_to_pdf_02-600x627.jpg 600w, https://access-excel.tips/wp-content/uploads/2015/06/excel_export_to_pdf_02-300x313.jpg 300w altexcel_export_to_pdf_02 width625 height653 />/a>/p>p> /p>p>In strong>Options/strong>, you can select whether to export Entire workbook to PDF or just Active worksheet(s)./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2015/06/excel_export_to_pdf_03.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjkxIiBoZWlnaHQ9IjMzMSIgdmlld0JveD0iMCAwIDI5MSAzMzEiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone size-full wp-image-2573 data-srchttps://access-excel.tips/wp-content/uploads/2015/06/excel_export_to_pdf_03.jpg data-sizesauto, (max-width: 291px) 100vw, 291px data-srcsethttps://access-excel.tips/wp-content/uploads/2015/06/excel_export_to_pdf_03.jpg 291w, https://access-excel.tips/wp-content/uploads/2015/06/excel_export_to_pdf_03-264x300.jpg 264w altexcel_export_to_pdf_03 width291 height331 />/a>/p>p>Note that strong>Entire workbook/strong> means all worksheets are exported to one PDF./p>p>strong>Active sheet(s)/strong> means to export the selected sheets to one PDF. Normally Active sheet means the worksheet you are currently viewing before you press strong>Save As/strong>, but you can hold down Ctrl to select multiple worksheets in order to export specific worksheets to one PDF. Unfortunately there is no built-in option to save each worksheet as separate PDF, but you can refer to a hrefhttps://access-excel.tips/excel-export-excel-to-pdf-with-and-without-vba/>my previous post/a> to do it with Excel VBA./p>p>The items in Options are self-explanatory, except there are a few items that require clarification./p>table width748>tbody>tr>td width368>Ignore print areas/td>td width380>Print the selection / entire worksheet and ignore print area/td>/tr>tr>td>Document properties/td>td width380>Include title, subject, author, and similar information./td>/tr>tr>td>Document structure tags for accessibility/td>td width380>Include additional data that help disabled users/td>/tr>tr>td>ISO 19005-1 compliant (PDF/A)/td>td width380>A standard of PDF, a hrefhttps://en.wikipedia.org/wiki/PDF/A target_blank relnoopener>click here/a> to see details/td>/tr>/tbody>/table>h2>span stylecolor: #0000ff;>Outbound Reference/span>/h2>p>a hrefhttps://support.office.com/en-za/article/Publish-as-PDF-or-XPS-d3b9469c-59ba-49f9-9adf-5707db2451fa?uien-US&rsen-ZA&adZA>https://support.office.com/en-za/article/Publish-as-PDF-or-XPS-d3b9469c-59ba-49f9-9adf-5707db2451fa?uien-US&rsen-ZA&adZA/a>/p>p> /p>/div>/div>footer classentry-meta aria-labelEntry meta>span classcat-links>span classgp-icon icon-categories>svg viewBox0 0 512 512 aria-hiddentrue xmlnshttp://www.w3.org/2000/svg width1em height1em>path dM0 112c0-26.51 21.49-48 48-48h110.014a48 48 0 0143.592 27.907l12.349 26.791A16 16 0 00228.486 128H464c26.51 0 48 21.49 48 48v224c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V112z />/svg>/span>span classscreen-reader-text>Categories /span>a hrefhttps://access-excel.tips/category/excel/excel-basics/ relcategory tag>Chapter 2 - Excel Basics/a>/span>/footer>/div>/article>article idpost-5152 classpost-5152 post type-post status-publish format-standard has-post-thumbnail hentry category-unit-3-access-vba-method category-unit-5-access-sub itemtypehttps://schema.org/CreativeWork itemscope>div classinside-article>header classentry-header>h2 classentry-title itempropheadline>a hrefhttps://access-excel.tips/access-vba-delete-table-records-sql/ relbookmark>Access VBA delete Table records with SQL using DoCMD.RunSQL Method/a>/h2>div classentry-meta>span classposted-on>time classentry-date published datetime2019-03-20T00:30:10+08:00 itempropdatePublished>March 20, 2019/time>/span> span classbyline>by span classauthor vcard itempropauthor itemtypehttps://schema.org/Person itemscope>a classurl fn n hrefhttps://access-excel.tips/author/scammera1/ titleView all posts by Wyman W relauthor itempropurl>span classauthor-name itempropname>Wyman W/span>/a>/span>/span>/div>/header>div classpost-image>a hrefhttps://access-excel.tips/access-vba-delete-table-records-sql/>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTg5IiBoZWlnaHQ9IjIwMCIgdmlld0JveD0iMCAwIDE4OSAyMDAiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ width189 height200 data-srchttps://access-excel.tips/wp-content/uploads/2014/12/feature_access_vba-e1503849948340.jpg classattachment-full size-full wp-post-image alt itempropimage decodingasync loadinglazy />/a>/div>div classentry-content itemproptext>div classwprt-container>This Access VBA tutorial explains how to use VBA delete Table records with SQL without alert using a hrefhttps://access-excel.tips/access-docmd-runsql-error-2342/>DoCMD.RunSQL Method/a>./p>p>You may also want to read:/p>p classentry-title>a hrefhttps://access-excel.tips/access-vba-run-action-query/>Access VBA run Query or run Action Query/a>/p>h2>span stylecolor: #0000ff;>Access delete Table records/span>/h2>p>In my previous post, I have explained how to a hrefhttps://access-excel.tips/access-delete-table-records/>delete Table records without using VBA/a>, below is a quick recap./p>p>Suppose we have created a table called strong>student/strong> in Access, which contains 5 student records./p>table border1 cellspacing0 bgcolor#ffffff>caption>b>student/b>/caption>thead>tr>th bgcolor#c0c0c0>Student ID/th>th bgcolor#c0c0c0>Student Name/th>/tr>/thead>tbody>tr valignTOP>td>001/td>td>Apple/td>/tr>tr valignTOP>td>002/td>td>Betty/td>/tr>tr valignTOP>td>003/td>td>Cathy/td>/tr>tr valignTOP>td>004/td>td>David/td>/tr>tr valignTOP>td>005/td>td>Elyse/td>/tr>/tbody>tfoot>/tfoot>/table>p>In order to delete the record (the whole row) of Apple, create a new Query, add strong>student/strong> table./p>p>Under Design tab, click on strong>Delete/strong> button. This will create a Delete Query./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2016/11/Access-delete-table-data-01.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNDkwIiBoZWlnaHQ9IjI5NyIgdmlld0JveD0iMCAwIDQ5MCAyOTciPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone wp-image-4497 data-srchttps://access-excel.tips/wp-content/uploads/2016/11/Access-delete-table-data-01.jpg data-sizesauto, (max-width: 490px) 100vw, 490px data-srcsethttps://access-excel.tips/wp-content/uploads/2016/11/Access-delete-table-data-01.jpg 556w, https://access-excel.tips/wp-content/uploads/2016/11/Access-delete-table-data-01-300x182.jpg 300w altaccess-delete-table-records-01 width490 height297 />/a>/p>p> /p>p>Add strong>Student ID/strong> to the field, then type “001” in criteria, which is the student ID of Apple./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2016/11/Access-delete-table-data-02.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNDQzIiBoZWlnaHQ9IjQxNiIgdmlld0JveD0iMCAwIDQ0MyA0MTYiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone wp-image-4498 data-srchttps://access-excel.tips/wp-content/uploads/2016/11/Access-delete-table-data-02.jpg data-sizesauto, (max-width: 443px) 100vw, 443px data-srcsethttps://access-excel.tips/wp-content/uploads/2016/11/Access-delete-table-data-02.jpg 528w, https://access-excel.tips/wp-content/uploads/2016/11/Access-delete-table-data-02-300x282.jpg 300w altaccess-delete-table-records-02 width443 height416 />/a>/p>p> /p>p>To preview the result of Delete Query (which records will be deleted), click on the strong>View/strong> button under Design./p>p>To execute the Query (actually delete the records), click on strong>Run/strong> button, then click on Yes to confirm delete row./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2016/11/Access-delete-table-data-03.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNTUyIiBoZWlnaHQ9IjM4MCIgdmlld0JveD0iMCAwIDU1MiAzODAiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone wp-image-4499 data-srchttps://access-excel.tips/wp-content/uploads/2016/11/Access-delete-table-data-03.jpg data-sizesauto, (max-width: 552px) 100vw, 552px data-srcsethttps://access-excel.tips/wp-content/uploads/2016/11/Access-delete-table-data-03.jpg 684w, https://access-excel.tips/wp-content/uploads/2016/11/Access-delete-table-data-03-300x207.jpg 300w, https://access-excel.tips/wp-content/uploads/2016/11/Access-delete-table-data-03-600x413.jpg 600w altaccess-delete-table-records-03 width552 height380 />/a>/p>p> /p>h2>span stylecolor: #0000ff;>Access VBA delete Table records/span>/h2>p>Similar to executing Delete Query in Access UI, you can delete Access Table records in VBA. First write a standard Delete SQL statement, then use a hrefhttps://access-excel.tips/access-docmd-runsql-error-2342/>DoCMD.RunSQL Method/a> to execute the SQL./p>p>For example, we have a student Table as below./p>table border1 cellspacing0 bgcolor#ffffff>caption>b>student/b>/caption>thead>tr>th bgcolor#c0c0c0>span stylefont-size: 11pt; color: #000000; font-family: 新細明體;>Student ID/span>/th>th bgcolor#c0c0c0>span stylefont-size: 11pt; color: #000000; font-family: 新細明體;>Student Name/span>/th>/tr>/thead>tbody>tr valignTOP>td>span stylefont-size: 11pt; color: #000000; font-family: 新細明體;>001/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: 新細明體;>Apple/span>/td>/tr>tr valignTOP>td>span stylefont-size: 11pt; color: #000000; font-family: 新細明體;>002/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: 新細明體;>Betty/span>/td>/tr>tr valignTOP>td>span stylefont-size: 11pt; color: #000000; font-family: 新細明體;>003/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: 新細明體;>Cathy/span>/td>/tr>tr valignTOP>td>span stylefont-size: 11pt; color: #000000; font-family: 新細明體;>004/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: 新細明體;>David/span>/td>/tr>tr valignTOP>td>span stylefont-size: 11pt; color: #000000; font-family: 新細明體;>005/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: 新細明體;>Elyse/span>/td>/tr>/tbody>tfoot>/tfoot>/table>p> /p>p>Press ALT+F11 and insert the below code in Module./p>pre>Public Sub deleteRecord() DoCmd.SetWarnings False strSQL Delete * From student WHERE Student ID002 DoCmd.RunSQL strSQL DoCmd.SetWarnings TrueEnd Sub/pre>p>Writing strong>DoCmd.SetWarings False/strong> is because we want to avoid Access generating the below Alert so that the subsequent statements can be executed smoothly./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2019/03/Access-VBA-delete-Table-records.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNDc1IiBoZWlnaHQ9IjE4MiIgdmlld0JveD0iMCAwIDQ3NSAxODIiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone size-full wp-image-5529 data-srchttps://access-excel.tips/wp-content/uploads/2019/03/Access-VBA-delete-Table-records.jpg alt width475 height182 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/03/Access-VBA-delete-Table-records.jpg 475w, https://access-excel.tips/wp-content/uploads/2019/03/Access-VBA-delete-Table-records-300x115.jpg 300w data-sizesauto, (max-width: 475px) 100vw, 475px />/a>/p>p> /p>p>Run the Sub, then you will see the below result where Student ID 002 is deleted./p>table border1 cellspacing0 bgcolor#ffffff>caption>b>student/b>/caption>thead>tr>th bgcolor#c0c0c0>span stylefont-size: 11pt; color: #000000; font-family: 新細明體;>Student ID/span>/th>th bgcolor#c0c0c0>span stylefont-size: 11pt; color: #000000; font-family: 新細明體;>Student Name/span>/th>/tr>/thead>tbody>tr valignTOP>td>span stylefont-size: 11pt; color: #000000; font-family: 新細明體;>001/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: 新細明體;>Apple/span>/td>/tr>tr valignTOP>td>span stylefont-size: 11pt; color: #000000; font-family: 新細明體;>003/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: 新細明體;>Cathy/span>/td>/tr>tr valignTOP>td>span stylefont-size: 11pt; color: #000000; font-family: 新細明體;>004/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: 新細明體;>David/span>/td>/tr>tr valignTOP>td>span stylefont-size: 11pt; color: #000000; font-family: 新細明體;>005/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: 新細明體;>Elyse/span>/td>/tr>/tbody>tfoot>/tfoot>/table>p> /p>h2>span stylecolor: #0000ff;>Outbound References/span>/h2>p>a hrefhttps://docs.microsoft.com/en-us/office/vba/api/access.docmd.runsql>https://docs.microsoft.com/en-us/office/vba/api/access.docmd.runsql/a>/div>/div>footer classentry-meta aria-labelEntry meta>span classcat-links>span classgp-icon icon-categories>svg viewBox0 0 512 512 aria-hiddentrue xmlnshttp://www.w3.org/2000/svg width1em height1em>path dM0 112c0-26.51 21.49-48 48-48h110.014a48 48 0 0143.592 27.907l12.349 26.791A16 16 0 00228.486 128H464c26.51 0 48 21.49 48 48v224c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V112z />/svg>/span>span classscreen-reader-text>Categories /span>a hrefhttps://access-excel.tips/category/access/1access-vba/unit-3-access-vba-method/ relcategory tag>Unit 4 - Access VBA Method/a>, a hrefhttps://access-excel.tips/category/access/1access-vba/unit-5-access-sub/ relcategory tag>Unit 7 - Access Custom Sub Procedure/a>/span>/footer>/div>/article>article idpost-5355 classpost-5355 post type-post status-publish format-standard has-post-thumbnail hentry category-access-custom-function category-excel-custom-function itemtypehttps://schema.org/CreativeWork itemscope>div classinside-article>header classentry-header>h2 classentry-title itempropheadline>a hrefhttps://access-excel.tips/access-roundup-rounddown-function/ relbookmark>VBA Excel Access roundup rounddown Function/a>/h2>div classentry-meta>span classposted-on>time classentry-date published datetime2019-03-17T21:48:07+08:00 itempropdatePublished>March 17, 2019/time>/span> span classbyline>by span classauthor vcard itempropauthor itemtypehttps://schema.org/Person itemscope>a classurl fn n hrefhttps://access-excel.tips/author/scammera1/ titleView all posts by Wyman W relauthor itempropurl>span classauthor-name itempropname>Wyman W/span>/a>/span>/span>/div>/header>div classpost-image>a hrefhttps://access-excel.tips/access-roundup-rounddown-function/>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTg5IiBoZWlnaHQ9IjIwMCIgdmlld0JveD0iMCAwIDE4OSAyMDAiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ width189 height200 data-srchttps://access-excel.tips/wp-content/uploads/2014/12/feature_access_vba-e1503849948340.jpg classattachment-full size-full wp-post-image alt itempropimage decodingasync loadinglazy />/a>/div>div classentry-content itemproptext>div classwprt-container>This Excel Access tutorial explains how to use VBA to write an Access roundup (round up) and Access rounddown (round down) Function to simulate that in Excel. These roundup and rounddown Functions can also be used in Access and Excel VBA./p>h2>span stylecolor: #0000ff;>Excel Access roundup rounddown Function/span>/h2>p>In Excel Worksheet Function, there are round, roundup, rounddown, mround Functions./p>p>In Excel VBA, there is only round Function but no roundup, rounddown, mround Functions. The round Function is not the same as that in Excel Worksheet Function, the round logic that is being used is called a hrefhttps://access-excel.tips/access-round-function-round-even-logic/>Round-To-Even/a> logic. However, you can still access Worksheet Functions in Excel VBA with strong>WorksheetFunction/strong> Method as below./p>div classhighlight>code classlanguage-visualbasic data-langvisualbasic>span classn>span classblast mmt-sentence aria-hiddentrue>Application/span>/span>span classp>span classblast mmt-sentence aria-hiddentrue>./span>/span>span classn>span classblast mmt-sentence aria-hiddentrue>WorksheetFunction/span>/span>span classp>span classblast mmt-sentence aria-hiddentrue>./span>/span>span classn>span classblast mmt-sentence aria-hiddentrue>RoundUp/span>/span>span classp>span classblast mmt-sentence aria-hiddentrue>(/span>/span>span classmf>span classblast mmt-sentence aria-hiddentrue>1.23/span>/span>span classp>span classblast mmt-sentence aria-hiddentrue>,/span>/span> span classmi>span classblast mmt-sentence aria-hiddentrue>1/span>/span>span classp>span classblast mmt-sentence aria-hiddentrue>)/span>/span>/code>/div>div>/div>div>In Microsoft Access (VBA / application) there is only round function that uses a hrefhttps://access-excel.tips/access-round-function-round-even-logic/>Round-To-Even/a> logic. Therefore, there is a need to recreate round, roundup, rounddown, mround Functions in VBA, no matter in Access or Excel VBA. In my previous posts, I have written VBA Function to simulate Excel a hrefhttps://access-excel.tips/excel-access-mround-custom/>mround /a>and a hrefhttps://access-excel.tips/access-round-function-round-even-logic/>round /a>Functions. In this post, I will write roundup and rounddown Functions./div>h2>span stylecolor: #0000ff;>VBA Code – Excel Access roundup Function/span>/h2>pre>Public Function wRoundUp(pValue, digit) As Double ExpandedValue Abs(pValue) * (10 ^ digit) span stylecolor: #ff0000;>Retrieve integer part of the number/span> wRoundUp Sgn(pValue) * Int(ExpandedValue + 0.99999999) / 10 ^ digitEnd Function/pre>p>span stylecolor: #ff0000;>Explanation/span>/p>p>This Excel Access roundup Function performs two major actions. First, the target number is expanded to the decimal places which you want to round up, and then add 0.9999999 to the number, so that it goes up to the next integer. Finally use INT Function to extract the integer part. The sign of the number is ignored during round up and down to simulate the behavior in Excel, then it is added back after rounding./p>p>For example, we have a number 14.56 and we want to round up to 1 decimal places. 14.56 is first expanded to 145.6, and then add 0.9999999, so that it becomes something like 146.6. Finally extract the integer part (146), divided by 100 to become 14.6./p>h2>span stylecolor: #0000ff;>VBA Code – Excel Access rounddown Function/span>/h2>pre>Public Function wRoundDown(pValue, digit) As Double ExpandedValue Abs(pValue) * (10 ^ digit) span stylecolor: #ff0000;>Retrieve integer part of the number/span> wRoundDown Sgn(pValue) * Int(ExpandedValue) / 10 ^ digitEnd Function/pre>p>span stylecolor: #ff0000;>Explanation/span>/p>p>This Excel Access rounddown Function performs two major actions. First, the target number is expanded to the decimal places which you want to round up, then we use INT Function to extract the integer part. The sign of the number is ignored during round up and down to simulate the behavior in Excel, then it is added back after rounding./p>p>For example, we have a number 14.56 and we want to round down to 1 decimal places. 14.56 is first expanded to 145.6, and then we extract only 145. Finally divided by 10 to become 14.5./p>h2>span stylecolor: #0000ff;>Example – roundup and rounddown/span>/h2>table width372>tbody>tr>td width186>Formula/td>td width186>Result/td>/tr>tr>td>wROUNDUP(1.113,2)/td>td>1.12/td>/tr>tr>td>wROUNDDOWN(1.112,1)/td>td>1.1/td>/tr>tr>td>wROUNDUP(1.094,2)/td>td>1.1/td>/tr>tr>td>wROUNDDOWN(1.093,1)/td>td>1/td>/tr>tr>td>wROUNDUP(-1.113,2)/td>td>-1.12/td>/tr>tr>td>wROUNDDOWN(-1.112,1)/td>td>-1.1/td>/tr>tr>td>wROUNDUP(-1.094,2)/td>td>-1.1/td>/tr>tr>td>wROUNDDOWN(-1.093,1)/td>td>-1/td>/tr>/tbody>/table>p> /p>/div>/div>footer classentry-meta aria-labelEntry meta>span classcat-links>span classgp-icon icon-categories>svg viewBox0 0 512 512 aria-hiddentrue xmlnshttp://www.w3.org/2000/svg width1em height1em>path dM0 112c0-26.51 21.49-48 48-48h110.014a48 48 0 0143.592 27.907l12.349 26.791A16 16 0 00228.486 128H464c26.51 0 48 21.49 48 48v224c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V112z />/svg>/span>span classscreen-reader-text>Categories /span>a hrefhttps://access-excel.tips/category/access/1access-vba/access-custom-function/ relcategory tag>Unit 6 - Access Custom Function (UDF)/a>, a hrefhttps://access-excel.tips/category/excel/excel-vba/excel-custom-function/ relcategory tag>Unit 8 - Excel Custom Function (UDF)/a>/span>/footer>/div>/article>nav idnav-below classpaging-navigation aria-labelArchive Page>div classnav-previous>span classgp-icon icon-arrow>svg viewBox0 0 330 512 aria-hiddentrue xmlnshttp://www.w3.org/2000/svg width1em height1em>path dM305.913 197.085c0 2.266-1.133 4.815-2.833 6.514L171.087 335.593c-1.7 1.7-4.249 2.832-6.515 2.832s-4.815-1.133-6.515-2.832L26.064 203.599c-1.7-1.7-2.832-4.248-2.832-6.514s1.132-4.816 2.832-6.515l14.162-14.163c1.7-1.699 3.966-2.832 6.515-2.832 2.266 0 4.815 1.133 6.515 2.832l111.316 111.317 111.316-111.317c1.7-1.699 4.249-2.832 6.515-2.832s4.815 1.133 6.515 2.832l14.162 14.163c1.7 1.7 2.833 4.249 2.833 6.515z />/svg>/span> span classprev titlePrevious>a hrefhttps://access-excel.tips/page/2/ >Older posts/a>/span>/div>div classnav-links>span aria-currentpage classpage-numbers current>span classscreen-reader-text>Page/span>1/span>a classpage-numbers hrefhttps://access-excel.tips/page/2/>span classscreen-reader-text>Page/span>2/a>span classpage-numbers dots>…/span>a classpage-numbers hrefhttps://access-excel.tips/page/39/>span classscreen-reader-text>Page/span>39/a>a classnext page-numbers hrefhttps://access-excel.tips/page/2/>Next span aria-hiddentrue>→/span>/a>/div>/nav>/main>/div>div classwidget-area sidebar is-right-sidebar idright-sidebar>div classinside-right-sidebar>aside idcategories-14 classwidget inner-padding widget_categories>h2 classwidget-title>Categories/h2>form actionhttps://access-excel.tips methodget>label classscreen-reader-text forcat>Categories/label>select namecat idcat classpostform>option value-1>Select Category/option>option classlevel-0 value241>Book 3 – Microsoft Word/option>option classlevel-0 value242>Book 4 – Microsoft Project/option>option classlevel-0 value247>Book 5 – Microsoft Outlook/option>option classlevel-0 value240>Book 6 – IBM SPSS Statistics/option>option classlevel-0 value221>Book 7 – Human Resources/option>option classlevel-0 value6>Chapter 1 – Access Basics/option>option classlevel-0 value248>Chapter 1 – Excel Settings/option>option classlevel-0 value249>Chapter 10 – Access Error/option>option classlevel-0 value231>Chapter 2 – Access Table/option>option classlevel-0 value12>Chapter 2 – Excel Basics/option>option classlevel-0 value11>Chapter 3 – Access Built-in Function/option>option classlevel-0 value13>Chapter 3 – Excel Built -in Function/option>option classlevel-0 value230>Chapter 4 – Access Expression/option>option classlevel-0 value15>Chapter 4 – Excel Graphs/option>option classlevel-0 value7>Chapter 5 – Access Query/option>option classlevel-0 value251>Chapter 5 – Pivot Table/option>option classlevel-0 value235>Chapter 6 – Access SQL/option>option classlevel-0 value245>Chapter 6 – Excel PowerPivot/option>option classlevel-0 value8>Chapter 7 – Access Report/option>option classlevel-0 value250>Chapter 7 – Excel Query/option>option classlevel-0 value9>Chapter 8 – Access Form/option>option classlevel-0 value244>Data Conversion/option>option classlevel-0 value234>Data Validation/option>option classlevel-0 value196>Date / Time/option>option classlevel-0 value246>Error/option>option classlevel-0 value133>Excel Certificate/option>option classlevel-0 value23>Excel Graph Q&A/option>option classlevel-0 value243>Excel template/option>option classlevel-0 value22>Excel VBA Q&A/option>option classlevel-0 value237>HK Ordinance/option>option classlevel-0 value236>Peoplesoft HCM/option>option classlevel-0 value238>References/option>option classlevel-0 value233>Statistics/option>option classlevel-0 value14>Tricks/option>option classlevel-0 value1>Uncategorized/option>option classlevel-0 value153>Unit 0 – Excel VBA Tricks/option>option classlevel-0 value16>Unit 1 – Access VB Enviornment/option>option classlevel-0 value17>Unit 1 – Excel VBA Environment/option>option classlevel-0 value229>Unit 2 – Access VBA Basics/option>option classlevel-0 value20>Unit 2 – Excel VBA Programming Basics/option>option classlevel-0 value19>Unit 3 – Access VBA Built-in Function/option>option classlevel-0 value18>Unit 3 – Excel VBA Built-in Function/option>option classlevel-0 value206>Unit 4 – Access VBA Method/option>option classlevel-0 value24>Unit 4 – Excel VBA Object Property/option>option classlevel-0 value232>Unit 5 – Access VBA Object Property/option>option classlevel-0 value77>Unit 5 – Excel VBA Events/option>option classlevel-0 value58>Unit 6 – Access Custom Function (UDF)/option>option classlevel-0 value157>Unit 6 – Excel VBA Methods/option>option classlevel-0 value228>Unit 7 – Access Custom Sub Procedure/option>option classlevel-0 value100>Unit 7 – Pivot Table VBA/option>option classlevel-0 value59>Unit 8 – Excel Custom Function (UDF)/option>option classlevel-0 value194>Unit 9 – Excel Custom Sub Procedure/option>option classlevel-0 value239>Workday HCM/option>/select>/form>script typelitespeed/javascript>(function(){var dropdowndocument.getElementById(cat);function onCatChange(){if(dropdown.optionsdropdown.selectedIndex.value>0){dropdown.parentNode.submit()}}dropdown.onchangeonCatChange})()/script> /aside>aside idblock-5 classwidget inner-padding widget_block widget_archive>div classwp-block-archives-dropdown wp-block-archives>label forwp-block-archives-1 classwp-block-archives__label>Archives/label>select idwp-block-archives-1 namearchive-dropdown onchangedocument.location.hrefthis.optionsthis.selectedIndex.value;>option value>Select Month/option>option valuehttps://access-excel.tips/2019/05/> May 2019/option>option valuehttps://access-excel.tips/2019/04/> April 2019/option>option valuehttps://access-excel.tips/2019/03/> March 2019/option>option valuehttps://access-excel.tips/2018/08/> August 2018/option>option valuehttps://access-excel.tips/2018/06/> June 2018/option>option valuehttps://access-excel.tips/2018/05/> May 2018/option>option valuehttps://access-excel.tips/2017/09/> September 2017/option>option valuehttps://access-excel.tips/2017/08/> August 2017/option>option valuehttps://access-excel.tips/2017/07/> July 2017/option>option valuehttps://access-excel.tips/2017/06/> June 2017/option>option valuehttps://access-excel.tips/2017/05/> May 2017/option>option valuehttps://access-excel.tips/2017/03/> March 2017/option>option valuehttps://access-excel.tips/2017/02/> February 2017/option>option valuehttps://access-excel.tips/2017/01/> January 2017/option>option valuehttps://access-excel.tips/2016/12/> December 2016/option>option valuehttps://access-excel.tips/2016/11/> November 2016/option>option valuehttps://access-excel.tips/2016/10/> October 2016/option>option valuehttps://access-excel.tips/2016/09/> September 2016/option>option valuehttps://access-excel.tips/2016/08/> August 2016/option>option valuehttps://access-excel.tips/2016/07/> July 2016/option>option valuehttps://access-excel.tips/2016/06/> June 2016/option>option valuehttps://access-excel.tips/2016/05/> May 2016/option>option valuehttps://access-excel.tips/2016/04/> April 2016/option>option valuehttps://access-excel.tips/2016/03/> March 2016/option>option valuehttps://access-excel.tips/2016/02/> February 2016/option>option valuehttps://access-excel.tips/2016/01/> January 2016/option>option valuehttps://access-excel.tips/2015/12/> December 2015/option>option valuehttps://access-excel.tips/2015/11/> November 2015/option>option valuehttps://access-excel.tips/2015/10/> October 2015/option>option valuehttps://access-excel.tips/2015/09/> September 2015/option>option valuehttps://access-excel.tips/2015/08/> August 2015/option>option valuehttps://access-excel.tips/2015/07/> July 2015/option>option valuehttps://access-excel.tips/2015/06/> June 2015/option>option valuehttps://access-excel.tips/2015/05/> May 2015/option>option valuehttps://access-excel.tips/2015/04/> April 2015/option>option valuehttps://access-excel.tips/2015/03/> March 2015/option>option valuehttps://access-excel.tips/2015/02/> February 2015/option>option valuehttps://access-excel.tips/2015/01/> January 2015/option>option valuehttps://access-excel.tips/2014/12/> December 2014/option>/select>/div>/aside>aside idblock-6 classwidget inner-padding widget_block widget_recent_entries>ul classwp-block-latest-posts__list wp-block-latest-posts>li>a classwp-block-latest-posts__post-title hrefhttps://access-excel.tips/excel-pivot-table-distinct-count-unique/>Excel Pivot Table Distinct Count to count unique value/a>/li>li>a classwp-block-latest-posts__post-title hrefhttps://access-excel.tips/import-csv-into-excel-workbooks-opentext-method/>Excel VBA Import CSV into Excel using Workbooks.OpenText Method/a>/li>li>a classwp-block-latest-posts__post-title hrefhttps://access-excel.tips/excel-vba-convert-text-in-columns-and-rows-into-matrix-table/>Excel VBA Convert Text in Columns and Rows into Matrix Table/a>/li>li>a classwp-block-latest-posts__post-title hrefhttps://access-excel.tips/search-text-in-multiple-workbooks/>Excel VBA search text in multiple Workbooks in folder/a>/li>li>a classwp-block-latest-posts__post-title hrefhttps://access-excel.tips/select-the-first-record-each-group-using-first-function/>MS Access select the first record of each group using First Function/a>/li>li>a classwp-block-latest-posts__post-title hrefhttps://access-excel.tips/how-to-change-default-excel-date-format/>How to Change Default Excel Date Format (such as MMDD to DDMM)/a>/li>li>a classwp-block-latest-posts__post-title hrefhttps://access-excel.tips/group-dates-ungroup-month-excel-pivot-table/>Group Date and Ungroup Month in Excel Pivot Table/a>/li>li>a classwp-block-latest-posts__post-title hrefhttps://access-excel.tips/how-to-convert-excel-to-pdf/>How to convert Excel to PDF/a>/li>li>a classwp-block-latest-posts__post-title hrefhttps://access-excel.tips/access-vba-delete-table-records-sql/>Access VBA delete Table records with SQL using DoCMD.RunSQL Method/a>/li>li>a classwp-block-latest-posts__post-title hrefhttps://access-excel.tips/access-roundup-rounddown-function/>VBA Excel Access roundup rounddown Function/a>/li>li>a classwp-block-latest-posts__post-title hrefhttps://access-excel.tips/excel-vba-generate-random-password/>Access Excel VBA generate random password or random characters/a>/li>li>a classwp-block-latest-posts__post-title hrefhttps://access-excel.tips/select-specific-columns-custom-views-query/>Excel automatically select specific columns using Custom Views and Query/a>/li>li>a classwp-block-latest-posts__post-title hrefhttps://access-excel.tips/excel-percentile-percentrank-exc/>Excel find the percentile of a number using PERCENTRANK.EXC function/a>/li>li>a classwp-block-latest-posts__post-title hrefhttps://access-excel.tips/copy-contents-of-protected-worksheet/>Excel VBA copy contents of protected worksheet/a>/li>li>a classwp-block-latest-posts__post-title hrefhttps://access-excel.tips/excel-vba-convert-date-period-to-date-row/>Excel VBA convert date period to date row/a>/li>/ul>/aside>aside idcategories-11 classwidget inner-padding widget_categories>h2 classwidget-title>Categories/h2>form actionhttps://access-excel.tips methodget>label classscreen-reader-text forcategories-dropdown-11>Categories/label>select namecat idcategories-dropdown-11 classpostform>option value-1>Select Category/option>option classlevel-0 value4>Book 1 – Microsoft Excel/option>option classlevel-1 value248> Chapter 1 – Excel Settings/option>option classlevel-1 value12> Chapter 2 – Excel Basics/option>option classlevel-1 value13> Chapter 3 – Excel Built -in Function/option>option classlevel-1 value15> Chapter 4 – Excel Graphs/option>option classlevel-1 value251> Chapter 5 – Pivot Table/option>option classlevel-1 value245> Chapter 6 – Excel PowerPivot/option>option classlevel-1 value250> Chapter 7 – Excel Query/option>option classlevel-1 value195> Chapter 8 – By Excel Topic/option>option classlevel-2 value244> Data Conversion/option>option classlevel-2 value234> Data Validation/option>option classlevel-2 value196> Date / Time/option>option classlevel-2 value246> Error/option>option classlevel-2 value133> Excel Certificate/option>option classlevel-2 value243> Excel template/option>option classlevel-2 value238> References/option>option classlevel-2 value233> Statistics/option>option classlevel-2 value14> Tricks/option>option classlevel-1 value5> Chapter 9 – Excel VBA/option>option classlevel-2 value153> Unit 0 – Excel VBA Tricks/option>option classlevel-2 value17> Unit 1 – Excel VBA Environment/option>option classlevel-2 value20> Unit 2 – Excel VBA Programming Basics/option>option classlevel-2 value18> Unit 3 – Excel VBA Built-in Function/option>option classlevel-2 value24> Unit 4 – Excel VBA Object Property/option>option classlevel-2 value77> Unit 5 – Excel VBA Events/option>option classlevel-2 value157> Unit 6 – Excel VBA Methods/option>option classlevel-2 value100> Unit 7 – Pivot Table VBA/option>option classlevel-2 value59> Unit 8 – Excel Custom Function (UDF)/option>option classlevel-2 value194> Unit 9 – Excel Custom Sub Procedure/option>option classlevel-1 value23> Excel Graph Q&A/option>option classlevel-1 value22> Excel VBA Q&A/option>option classlevel-0 value3>Book 2 – Microsoft Access/option>option classlevel-1 value6> Chapter 1 – Access Basics/option>option classlevel-1 value249> Chapter 10 – Access Error/option>option classlevel-1 value231> Chapter 2 – Access Table/option>option classlevel-1 value11> Chapter 3 – Access Built-in Function/option>option classlevel-1 value230> Chapter 4 – Access Expression/option>option classlevel-1 value7> Chapter 5 – Access Query/option>option classlevel-1 value235> Chapter 6 – Access SQL/option>option classlevel-1 value8> Chapter 7 – Access Report/option>option classlevel-1 value9> Chapter 8 – Access Form/option>option classlevel-1 value10> Chapter 9 – Access VBA/option>option classlevel-2 value16> Unit 1 – Access VB Enviornment/option>option classlevel-2 value229> Unit 2 – Access VBA Basics/option>option classlevel-2 value19> Unit 3 – Access VBA Built-in Function/option>option classlevel-2 value206> Unit 4 – Access VBA Method/option>option classlevel-2 value232> Unit 5 – Access VBA Object Property/option>option classlevel-2 value58> Unit 6 – Access Custom Function (UDF)/option>option classlevel-2 value228> Unit 7 – Access Custom Sub Procedure/option>option classlevel-0 value241>Book 3 – Microsoft Word/option>option classlevel-0 value242>Book 4 – Microsoft Project/option>option classlevel-0 value247>Book 5 – Microsoft Outlook/option>option classlevel-0 value240>Book 6 – IBM SPSS Statistics/option>option classlevel-0 value221>Book 7 – Human Resources/option>option classlevel-1 value237> HK Ordinance/option>option classlevel-1 value236> Peoplesoft HCM/option>option classlevel-1 value239> Workday HCM/option>option classlevel-0 value1>Uncategorized/option>/select>/form>script typelitespeed/javascript>(function(){var dropdowndocument.getElementById(categories-dropdown-11);function onCatChange(){if(dropdown.optionsdropdown.selectedIndex.value>0){dropdown.parentNode.submit()}}dropdown.onchangeonCatChange})()/script> /aside>aside idarchives-20 classwidget inner-padding widget_archive>h2 classwidget-title>Archives/h2> label classscreen-reader-text forarchives-dropdown-20>Archives/label>select idarchives-dropdown-20 namearchive-dropdown>option value>Select Month/option>option valuehttps://access-excel.tips/2019/05/> May 2019 (3)/option>option valuehttps://access-excel.tips/2019/04/> April 2019 (3)/option>option valuehttps://access-excel.tips/2019/03/> March 2019 (7)/option>option valuehttps://access-excel.tips/2018/08/> August 2018 (2)/option>option valuehttps://access-excel.tips/2018/06/> June 2018 (1)/option>option valuehttps://access-excel.tips/2018/05/> May 2018 (2)/option>option valuehttps://access-excel.tips/2017/09/> September 2017 (6)/option>option valuehttps://access-excel.tips/2017/08/> August 2017 (3)/option>option valuehttps://access-excel.tips/2017/07/> July 2017 (1)/option>option valuehttps://access-excel.tips/2017/06/> June 2017 (6)/option>option valuehttps://access-excel.tips/2017/05/> May 2017 (1)/option>option valuehttps://access-excel.tips/2017/03/> March 2017 (4)/option>option valuehttps://access-excel.tips/2017/02/> February 2017 (10)/option>option valuehttps://access-excel.tips/2017/01/> January 2017 (14)/option>option valuehttps://access-excel.tips/2016/12/> December 2016 (10)/option>option valuehttps://access-excel.tips/2016/11/> November 2016 (1)/option>option valuehttps://access-excel.tips/2016/10/> October 2016 (5)/option>option valuehttps://access-excel.tips/2016/09/> September 2016 (2)/option>option valuehttps://access-excel.tips/2016/08/> August 2016 (3)/option>option valuehttps://access-excel.tips/2016/07/> July 2016 (2)/option>option valuehttps://access-excel.tips/2016/06/> June 2016 (2)/option>option valuehttps://access-excel.tips/2016/05/> May 2016 (12)/option>option valuehttps://access-excel.tips/2016/04/> April 2016 (11)/option>option valuehttps://access-excel.tips/2016/03/> March 2016 (12)/option>option valuehttps://access-excel.tips/2016/02/> February 2016 (2)/option>option valuehttps://access-excel.tips/2016/01/> January 2016 (14)/option>option valuehttps://access-excel.tips/2015/12/> December 2015 (15)/option>option valuehttps://access-excel.tips/2015/11/> November 2015 (3)/option>option valuehttps://access-excel.tips/2015/10/> October 2015 (7)/option>option valuehttps://access-excel.tips/2015/09/> September 2015 (8)/option>option valuehttps://access-excel.tips/2015/08/> August 2015 (5)/option>option valuehttps://access-excel.tips/2015/07/> July 2015 (13)/option>option valuehttps://access-excel.tips/2015/06/> June 2015 (11)/option>option valuehttps://access-excel.tips/2015/05/> May 2015 (11)/option>option valuehttps://access-excel.tips/2015/04/> April 2015 (29)/option>option valuehttps://access-excel.tips/2015/03/> March 2015 (43)/option>option valuehttps://access-excel.tips/2015/02/> February 2015 (39)/option>option valuehttps://access-excel.tips/2015/01/> January 2015 (40)/option>option valuehttps://access-excel.tips/2014/12/> December 2014 (24)/option>/select> script typelitespeed/javascript>(function(){var dropdowndocument.getElementById(archives-dropdown-20);function onSelectChange(){if(dropdown.optionsdropdown.selectedIndex.value!){document.location.hrefthis.optionsthis.selectedIndex.value}}dropdown.onchangeonSelectChange})()/script> /aside>aside idrecent-posts-11 classwidget inner-padding widget_recent_entries>h2 classwidget-title>Recent Posts/h2>ul>li>a hrefhttps://access-excel.tips/excel-pivot-table-distinct-count-unique/>Excel Pivot Table Distinct Count to count unique value/a>/li>li>a hrefhttps://access-excel.tips/import-csv-into-excel-workbooks-opentext-method/>Excel VBA Import CSV into Excel using Workbooks.OpenText Method/a>/li>li>a hrefhttps://access-excel.tips/excel-vba-convert-text-in-columns-and-rows-into-matrix-table/>Excel VBA Convert Text in Columns and Rows into Matrix Table/a>/li>li>a hrefhttps://access-excel.tips/search-text-in-multiple-workbooks/>Excel VBA search text in multiple Workbooks in folder/a>/li>li>a hrefhttps://access-excel.tips/select-the-first-record-each-group-using-first-function/>MS Access select the first record of each group using First Function/a>/li>li>a hrefhttps://access-excel.tips/how-to-change-default-excel-date-format/>How to Change Default Excel Date Format (such as MMDD to DDMM)/a>/li>li>a hrefhttps://access-excel.tips/group-dates-ungroup-month-excel-pivot-table/>Group Date and Ungroup Month in Excel Pivot Table/a>/li>li>a hrefhttps://access-excel.tips/how-to-convert-excel-to-pdf/>How to convert Excel to PDF/a>/li>li>a hrefhttps://access-excel.tips/access-vba-delete-table-records-sql/>Access VBA delete Table records with SQL using DoCMD.RunSQL Method/a>/li>li>a hrefhttps://access-excel.tips/access-roundup-rounddown-function/>VBA Excel Access roundup rounddown Function/a>/li>li>a hrefhttps://access-excel.tips/excel-vba-generate-random-password/>Access Excel VBA generate random password or random characters/a>/li>li>a hrefhttps://access-excel.tips/select-specific-columns-custom-views-query/>Excel automatically select specific columns using Custom Views and Query/a>/li>li>a hrefhttps://access-excel.tips/excel-percentile-percentrank-exc/>Excel find the percentile of a number using PERCENTRANK.EXC function/a>/li>li>a hrefhttps://access-excel.tips/copy-contents-of-protected-worksheet/>Excel VBA copy contents of protected worksheet/a>/li>li>a hrefhttps://access-excel.tips/excel-vba-convert-date-period-to-date-row/>Excel VBA convert date period to date row/a>/li>li>a hrefhttps://access-excel.tips/excel-vba-filter-value-then-copy-data-to-new-worksheet/>Excel VBA filter value then copy filtered data to new worksheet/a>/li>li>a hrefhttps://access-excel.tips/access-excel-vba-sort-array-items/>Access Excel VBA sort Array items/a>/li>li>a hrefhttps://access-excel.tips/excel-check-duplicate-values/>Excel check duplicate values using Conditional Formatting/a>/li>li>a hrefhttps://access-excel.tips/excel-convert-data-from-column-to-row/>Excel convert data from column to row/a>/li>li>a hrefhttps://access-excel.tips/add-sorting-in-access-table-field/>Add sorting in Access Table field/a>/li>/ul>/aside>/div>/div>/div>/div>div classsite-footer>footer classsite-info aria-labelSite itemtypehttps://schema.org/WPFooter itemscope>div classinside-site-info grid-container>div classcopyright-bar>span classcopyright>© 2026 Access-Excel.Tips/span> • Built with a hrefhttps://generatepress.com itempropurl>GeneratePress/a>/div>/div>/footer>/div> script typespeculationrules>{prefetch:{source:document,where:{and:{href_matches:\/*},{not:{href_matches:\/wp-*.php,\/wp-admin\/*,\/wp-content\/uploads\/*,\/wp-content\/*,\/wp-content\/plugins\/*,\/wp-content\/themes\/generatepress\/*,\/*\\?(.+)}},{not:{selector_matches:arel~\nofollow\}},{not:{selector_matches:.no-prefetch, .no-prefetch a}}},eagerness:conservative}}/script> script idgenerate-a11y typelitespeed/javascript>!function(){use strict;if(querySelectorin document&&addEventListenerin window){var edocument.body;e.addEventListener(pointerdown,(function(){e.classList.add(using-mouse)}),{passive:!0}),e.addEventListener(keydown,(function(){e.classList.remove(using-mouse)}),{passive:!0})}}()/script> div classgp-modal gp-search-modal idgp-search roledialog aria-modaltrue aria-labelSearch>div classgp-modal__overlay tabindex-1 data-gpmodal-close>div classgp-modal__container>form rolesearch methodget classsearch-modal-form actionhttps://access-excel.tips/>label forsearch-modal-input classscreen-reader-text>Search for:/label>div classsearch-modal-fields>input idsearch-modal-input typesearch classsearch-field placeholderSearch … value names />button aria-labelSearch>span classgp-icon icon-search>svg viewBox0 0 512 512 aria-hiddentrue xmlnshttp://www.w3.org/2000/svg width1em height1em>path fill-ruleevenodd clip-ruleevenodd dM208 48c-88.366 0-160 71.634-160 160s71.634 160 160 160 160-71.634 160-160S296.366 48 208 48zM0 208C0 93.125 93.125 0 208 0s208 93.125 208 208c0 48.741-16.765 93.566-44.843 129.024l133.826 134.018c9.366 9.379 9.355 24.575-.025 33.941-9.379 9.366-24.575 9.355-33.941-.025L337.238 370.987C301.747 399.167 256.839 416 208 416 93.125 416 0 322.875 0 208z />/svg>/span>/button>/div>/form>/div>/div>/div>!--if lte IE 11> script srchttp://access-excel.tips/wp-content/themes/generatepress/assets/js/classList.min.js idgenerate-classlist-js>/script> !endif--> script idgenerate-menu-js-before typelitespeed/javascript>var generatepressMenu{toggleOpenedSubMenus:!0,openSubMenuLabel:Open Sub-Menu,closeSubMenuLabel:Close Sub-Menu}/script> script data-no-optimize1>window.lazyLoadOptionsObject.assign({},{threshold:300},window.lazyLoadOptions||{});!function(t,e){objecttypeof exports&&undefined!typeof module?module.exportse():functiontypeof define&&define.amd?define(e):(tundefined!typeof globalThis?globalThis:t||self).LazyLoade()}(this,function(){use strict;function e(){return(eObject.assign||function(t){for(var e1;earguments.length;e++){var n,aargumentse;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(tnan)}return t}).apply(this,arguments)}function o(t){return e({},at,t)}function l(t,e){return t.getAttribute(gt+e)}function c(t){return l(t,vt)}function s(t,e){return function(t,e,n){egt+e;null!n?t.setAttribute(e,n):t.removeAttribute(e)}(t,vt,e)}function i(t){return s(t,null),0}function r(t){return nullc(t)}function u(t){return c(t)_t}function d(t,e,n,a){t&&(void 0a?void 0n?t(e):t(e,n):t(e,n,a))}function f(t,e){et?t.classList.add(e):t.className+(t.className? :)+e}function _(t,e){et?t.classList.remove(e):t.classNamet.className.replace(new RegExp((^|\\s+)+e+(\\s+|$)), ).replace(/^\s+/,).replace(/\s+$/,)}function g(t){return t.llTempImage}function v(t,e){!e||(ee._observer)&&e.unobserve(t)}function b(t,e){t&&(t.loadingCount+e)}function p(t,e){t&&(t.toLoadCounte)}function n(t){for(var e,n,a0;et.childrena;a+1)SOURCEe.tagName&&n.push(e);return n}function h(t,e){(tt.parentNode)&&PICTUREt.tagName&&n(t).forEach(e)}function a(t,e){n(t).forEach(e)}function m(t){return!!tlt}function E(t){return tlt}function I(t){return delete tlt}function y(e,t){var n;m(e)||(n{},t.forEach(function(t){nte.getAttribute(t)}),eltn)}function L(a,t){var o;m(a)&&(oE(a),t.forEach(function(t){var e,n;ea,(tont)?e.setAttribute(n,t):e.removeAttribute(n)}))}function k(t,e,n){f(t,e.class_loading),s(t,st),n&&(b(n,1),d(e.callback_loading,t,n))}function A(t,e,n){n&&t.setAttribute(e,n)}function O(t,e){A(t,rt,l(t,e.data_sizes)),A(t,it,l(t,e.data_srcset)),A(t,ot,l(t,e.data_src))}function w(t,e,n){var al(t,e.data_bg_multi),ol(t,e.data_bg_multi_hidpi);(ant&&o?o:a)&&(t.style.backgroundImagea,nn,f(tt,(ee).class_applied),s(t,dt),n&&(e.unobserve_completed&&v(t,e),d(e.callback_applied,t,n)))}function x(t,e){!e||0e.loadingCount||0e.toLoadCount||d(t.callback_finish,e)}function M(t,e,n){t.addEventListener(e,n),t.llEvLisnrsen}function N(t){return!!t.llEvLisnrs}function z(t){if(N(t)){var e,n,at.llEvLisnrs;for(e in a){var oae;ne,oo,t.removeEventListener(n,o)}delete t.llEvLisnrs}}function C(t,e,n){var a;delete t.llTempImage,b(n,-1),(an)&&--a.toLoadCount,_(t,e.class_loading),e.unobserve_completed&&v(t,n)}function R(i,r,c){var lg(i)||i;N(l)||function(t,e,n){N(t)||(t.llEvLisnrs{});var aVIDEOt.tagName?loadeddata:load;M(t,a,e),M(t,error,n)}(l,function(t){var e,n,a,o;nr,ac,ou(ei),C(e,n,a),f(e,n.class_loaded),s(e,ut),d(n.callback_loaded,e,a),o||x(n,a),z(l)},function(t){var e,n,a,o;nr,ac,ou(ei),C(e,n,a),f(e,n.class_error),s(e,ft),d(n.callback_error,e,a),o||x(n,a),z(l)})}function T(t,e,n){var a,o,i,r,c;t.llTempImagedocument.createElement(IMG),R(t,e,n),m(ct)||(clt{backgroundImage:c.style.backgroundImage}),in,rl(at,(oe).data_bg),cl(a,o.data_bg_hidpi),(rnt&&c?c:r)&&(a.style.backgroundImageurl(.concat(r,)),g(a).setAttribute(ot,r),k(a,o,i)),w(t,e,n)}function G(t,e,n){var a;R(t,e,n),ae,en,(tEt(nt).tagName)&&(t(n,a),k(n,a,e))}function D(t,e,n){var a;at,(-1It.indexOf(a.tagName)?G:T)(t,e,n)}function S(t,e,n){var a;t.setAttribute(loading,lazy),R(t,e,n),ae,(eEt(nt).tagName)&&e(n,a),s(t,_t)}function V(t){t.removeAttribute(ot),t.removeAttribute(it),t.removeAttribute(rt)}function j(t){h(t,function(t){L(t,mt)}),L(t,mt)}function F(t){var e;(eytt.tagName)?e(t):m(et)&&(tE(e),e.style.backgroundImaget.backgroundImage)}function P(t,e){var n;F(t),ne,r(et)||u(e)||(_(e,n.class_entered),_(e,n.class_exited),_(e,n.class_applied),_(e,n.class_loading),_(e,n.class_loaded),_(e,n.class_error)),i(t),I(t)}function U(t,e,n,a){var o;n.cancel_on_exit&&(c(t)!st||IMGt.tagName&&(z(t),h(ot,function(t){V(t)}),V(o),j(t),_(t,n.class_loading),b(a,-1),i(t),d(n.callback_cancel,t,e,a)))}function $(t,e,n,a){var o,i,r(it,0bt.indexOf(c(i)));s(t,entered),f(t,n.class_entered),_(t,n.class_exited),ot,ia,n.unobserve_entered&&v(o,i),d(n.callback_enter,t,e,a),r||D(t,n,a)}function q(t){return t.use_native&&loadingin HTMLImageElement.prototype}function H(t,o,i){t.forEach(function(t){return(at).isIntersecting||0a.intersectionRatio?$(t.target,t,o,i):(et.target,nt,ao,ti,void(r(e)||(f(e,a.class_exited),U(e,n,a,t),d(a.callback_exit,e,n,t))));var e,n,a})}function B(e,n){var t;tt&&!q(e)&&(n._observernew IntersectionObserver(function(t){H(t,e,n)},{root:(te).containerdocument?null:t.container,rootMargin:t.thresholds||t.threshold+px}))}function J(t){return Array.prototype.slice.call(t)}function K(t){return t.container.querySelectorAll(t.elements_selector)}function Q(t){return c(t)ft}function W(t,e){return et||K(e),J(e).filter(r)}function X(e,t){var n;(nK(e),J(n).filter(Q)).forEach(function(t){_(t,e.class_error),i(t)}),t.update()}function t(t,e){var n,a,to(t);this._settingst,this.loadingCount0,B(t,this),nt,athis,Y&&window.addEventListener(online,function(){X(n,a)}),this.update(e)}var Yundefined!typeof window,ZY&&!(onscrollin window)||undefined!typeof navigator&&/(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent),ttY&&IntersectionObserverin window,etY&&classListin document.createElement(p),ntY&&1window.devicePixelRatio,at{elements_selector:.lazy,container:Z||Y?document:null,threshold:300,thresholds:null,data_src:src,data_srcset:srcset,data_sizes:sizes,data_bg:bg,data_bg_hidpi:bg-hidpi,data_bg_multi:bg-multi,data_bg_multi_hidpi:bg-multi-hidpi,data_poster:poster,class_applied:applied,class_loading:litespeed-loading,class_loaded:litespeed-loaded,class_error:error,class_entered:entered,class_exited:exited,unobserve_completed:!0,unobserve_entered:!1,cancel_on_exit:!0,callback_enter:null,callback_exit:null,callback_applied:null,callback_loading:null,callback_loaded:null,callback_error:null,callback_finish:null,callback_cancel:null,use_native:!1},otsrc,itsrcset,rtsizes,ctposter,ltllOriginalAttrs,stloading,utloaded,dtapplied,fterror,_tnative,gtdata-,vtll-status,btst,ut,dt,ft,ptot,htot,ct,mtot,it,rt,Et{IMG:function(t,e){h(t,function(t){y(t,mt),O(t,e)}),y(t,mt),O(t,e)},IFRAME:function(t,e){y(t,pt),A(t,ot,l(t,e.data_src))},VIDEO:function(t,e){a(t,function(t){y(t,pt),A(t,ot,l(t,e.data_src))}),y(t,ht),A(t,ct,l(t,e.data_poster)),A(t,ot,l(t,e.data_src)),t.load()}},ItIMG,IFRAME,VIDEO,yt{IMG:j,IFRAME:function(t){L(t,pt)},VIDEO:function(t){a(t,function(t){L(t,pt)}),L(t,ht),t.load()}},LtIMG,IFRAME,VIDEO;return t.prototype{update:function(t){var e,n,a,othis._settings,iW(t,o);{if(p(this,i.length),!Z&&tt)return q(o)?(eo,nthis,i.forEach(function(t){-1!Lt.indexOf(t.tagName)&&S(t,e,n)}),void p(n,0)):(tthis._observer,oi,t.disconnect(),at,void o.forEach(function(t){a.observe(t)}));this.loadAll(i)}},destroy:function(){this._observer&&this._observer.disconnect(),K(this._settings).forEach(function(t){I(t)}),delete this._observer,delete this._settings,delete this.loadingCount,delete this.toLoadCount},loadAll:function(t){var ethis,nthis._settings;W(t,n).forEach(function(t){v(t,e),D(t,n,e)})},restoreAll:function(){var ethis._settings;K(e).forEach(function(t){P(t,e)})}},t.loadfunction(t,e){eo(e);D(t,e)},t.resetStatusfunction(t){i(t)},t}),function(t,e){use strict;function n(){e.body.classList.add(litespeed_lazyloaded)}function a(){console.log(LiteSpeed Start Lazy Load),onew LazyLoad(Object.assign({},t.lazyLoadOptions||{},{elements_selector:data-lazyloaded,callback_finish:n})),ifunction(){o.update()},t.MutationObserver&&new MutationObserver(i).observe(e.documentElement,{childList:!0,subtree:!0,attributes:!0})}var o,i;t.addEventListener?t.addEventListener(load,a,!1):t.attachEvent(onload,a)}(window,document);/script>script data-no-optimize1>window.litespeed_ui_eventswindow.litespeed_ui_events||mouseover,click,keydown,wheel,touchmove,touchstart;var urlCreatorwindow.URL||window.webkitURL;function litespeed_load_delayed_js_force(){console.log(LiteSpeed Start Load JS Delayed),litespeed_ui_events.forEach(e>{window.removeEventListener(e,litespeed_load_delayed_js_force,{passive:!0})}),document.querySelectorAll(iframedata-litespeed-src).forEach(e>{e.setAttribute(src,e.getAttribute(data-litespeed-src))}),loadingdocument.readyState?window.addEventListener(DOMContentLoaded,litespeed_load_delayed_js):litespeed_load_delayed_js()}litespeed_ui_events.forEach(e>{window.addEventListener(e,litespeed_load_delayed_js_force,{passive:!0})});async function litespeed_load_delayed_js(){let t;for(var d in document.querySelectorAll(scripttypelitespeed/javascript).forEach(e>{t.push(e)}),t)await new Promise(e>litespeed_load_one(td,e));document.dispatchEvent(new Event(DOMContentLiteSpeedLoaded)),window.dispatchEvent(new Event(DOMContentLiteSpeedLoaded))}function litespeed_load_one(t,e){console.log(LiteSpeed Load ,t);var ddocument.createElement(script);d.addEventListener(load,e),d.addEventListener(error,e),t.getAttributeNames().forEach(e>{type!e&&d.setAttribute(data-srce?src:e,t.getAttribute(e))});let a!(d.typetext/javascript);!d.src&&t.textContent&&(d.srclitespeed_inline2src(t.textContent),a!0),t.after(d),t.remove(),a&&e()}function litespeed_inline2src(t){try{var durlCreator.createObjectURL(new Blob(t.replace(/^(?:!--)?(.*?)(?:-->)?$/gm,$1),{type:text/javascript}))}catch(e){ddata:text/javascript;base64,+btoa(t.replace(/^(?:!--)?(.*?)(?:-->)?$/gm,$1))}return d}/script>script data-no-optimize1>var litespeed_varydocument.cookie.replace(/(?:(?:^|.*;\s*)_lscache_vary\s*\\s*(^;*).*$)|^.*$/,);litespeed_vary||fetch(/wp-content/plugins/litespeed-cache/guest.vary.php,{method:POST,cache:no-cache,redirect:follow}).then(e>e.json()).then(e>{console.log(e),e.hasOwnProperty(reload)&&yese.reload&&(sessionStorage.setItem(litespeed_docref,document.referrer),window.location.reload(!0))});/script>script data-optimized1 typelitespeed/javascript data-srchttps://access-excel.tips/wp-content/litespeed/js/cc3ba753cdc7b1c483394c21536c4bed.js?ver543c0>/script>/body>script>undefined typeof _trfq || (window._trfq );undefined typeof _trfd && (window._trfd),_trfd.push({tccl.baseHost:secureserver.net},{ap:cpbh-mt},{server:p3plmcpnl495151},{dcenter:p3},{cp_id:4079231},{cp_cache:},{cp_cl:8}) // Monitoring performance to make your website faster. If you want to opt-out, please contact web hosting support./script>script srchttps://img1.wsimg.com/traffic-assets/js/tccl.min.js>/script>/html>!-- Page optimized by LiteSpeed Cache @2026-01-22 07:37:35 -->!-- Page supported by LiteSpeed Cache 7.3 on 2026-01-22 07:37:35 -->!-- Guest Mode -->!-- QUIC.cloud UCSS in queue -->
Port 443
HTTP/1.1 200 OKDate: Wed, 21 Jan 2026 23:37:36 GMTContent-Type: text/html; charsetUTF-8Transfer-Encoding: chunkedConnection: keep-aliveServer: cloudflareX-Powered-By: PHP/8.1.33X-DNS-Prefetch-Control: onX-UA-Compatible: IEedgeLink: https://access-excel.tips/wp-json/>; relhttps://api.w.org/X-LiteSpeed-Tag: d41_PGSRP,d41_home,d41_URL.6666cd76f96956469e7be39d750cc7d9,d41_F,d41_guest,d41_,d41_UCSS.6abdf5783ac2db2bb564b00f20190091,d41_MIN.a79f148ae0a14817adb2789406450053.css,d41_MIN.cc3ba753cdc7b1c483394c21536c4bed.jsVary: Accept-EncodingNel: {report_to:cf-nel,success_fraction:0.0,max_age:604800}Report-To: {group:cf-nel,max_age:604800,endpoints:{url:https://a.nel.cloudflare.com/report/v4?sDjoRAaqjaGuo7Z4rlzsP6KLpu9XT7bG7cBpksT2%2BXCb26Zt4me6R2dY0cNuxmuN14659jB5T0tlMqdi7RH3JzUvc7GGFiO1SQJSxXPR1ebSs9ux8%2BWm0}}cf-cache-status: DYNAMICCF-RAY: 9c1aa3ecfaea8d3a-PDXalt-svc: h3:443; ma86400 !DOCTYPE html>html langen-US>head>script data-no-optimize1>var litespeed_docrefsessionStorage.getItem(litespeed_docref);litespeed_docref&&(Object.defineProperty(document,referrer,{get:function(){return litespeed_docref}}),sessionStorage.removeItem(litespeed_docref));/script> meta charsetUTF-8>title>Access-Excel.Tips – Provide Excel tutorials, tips and free VBA source code, including custom VBA Function, Sub Procedure/title>meta namerobots contentmax-image-preview:large />style>img:is(sizesauto i, sizes^auto, i) { contain-intrinsic-size: 3000px 1500px }/style>meta nameviewport contentwidthdevice-width, initial-scale1>link reldns-prefetch href//access-excel.tips />link data-optimized2 relstylesheet hrefhttps://access-excel.tips/wp-content/litespeed/css/a79f148ae0a14817adb2789406450053.css?ver543c0 />style idclassic-theme-styles-inline-css>/*! This file is auto-generated */.wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none}/style>style idglobal-styles-inline-css>:root{--wp--preset--aspect-ratio--square: 1;--wp--preset--aspect-ratio--4-3: 4/3;--wp--preset--aspect-ratio--3-4: 3/4;--wp--preset--aspect-ratio--3-2: 3/2;--wp--preset--aspect-ratio--2-3: 2/3;--wp--preset--aspect-ratio--16-9: 16/9;--wp--preset--aspect-ratio--9-16: 9/16;--wp--preset--color--black: #000000;--wp--preset--color--cyan-bluish-gray: #abb8c3;--wp--preset--color--white: #ffffff;--wp--preset--color--pale-pink: #f78da7;--wp--preset--color--vivid-red: #cf2e2e;--wp--preset--color--luminous-vivid-orange: #ff6900;--wp--preset--color--luminous-vivid-amber: #fcb900;--wp--preset--color--light-green-cyan: #7bdcb5;--wp--preset--color--vivid-green-cyan: #00d084;--wp--preset--color--pale-cyan-blue: #8ed1fc;--wp--preset--color--vivid-cyan-blue: #0693e3;--wp--preset--color--vivid-purple: #9b51e0;--wp--preset--color--contrast: var(--contrast);--wp--preset--color--contrast-2: var(--contrast-2);--wp--preset--color--contrast-3: var(--contrast-3);--wp--preset--color--base: var(--base);--wp--preset--color--base-2: var(--base-2);--wp--preset--color--base-3: var(--base-3);--wp--preset--color--accent: var(--accent);--wp--preset--color--blue: var(--blue);--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple: linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%);--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan: linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%);--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange: linear-gradient(135deg,rgba(252,185,0,1) 0%,rgba(255,105,0,1) 100%);--wp--preset--gradient--luminous-vivid-orange-to-vivid-red: linear-gradient(135deg,rgba(255,105,0,1) 0%,rgb(207,46,46) 100%);--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray: linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%);--wp--preset--gradient--cool-to-warm-spectrum: linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%);--wp--preset--gradient--blush-light-purple: linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%);--wp--preset--gradient--blush-bordeaux: linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%);--wp--preset--gradient--luminous-dusk: linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%);--wp--preset--gradient--pale-ocean: linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%);--wp--preset--gradient--electric-grass: linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%);--wp--preset--gradient--midnight: linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%);--wp--preset--font-size--small: 13px;--wp--preset--font-size--medium: 20px;--wp--preset--font-size--large: 36px;--wp--preset--font-size--x-large: 42px;--wp--preset--spacing--20: 0.44rem;--wp--preset--spacing--30: 0.67rem;--wp--preset--spacing--40: 1rem;--wp--preset--spacing--50: 1.5rem;--wp--preset--spacing--60: 2.25rem;--wp--preset--spacing--70: 3.38rem;--wp--preset--spacing--80: 5.06rem;--wp--preset--shadow--natural: 6px 6px 9px rgba(0, 0, 0, 0.2);--wp--preset--shadow--deep: 12px 12px 50px rgba(0, 0, 0, 0.4);--wp--preset--shadow--sharp: 6px 6px 0px rgba(0, 0, 0, 0.2);--wp--preset--shadow--outlined: 6px 6px 0px -3px rgba(255, 255, 255, 1), 6px 6px rgba(0, 0, 0, 1);--wp--preset--shadow--crisp: 6px 6px 0px rgba(0, 0, 0, 1);}:where(.is-layout-flex){gap: 0.5em;}:where(.is-layout-grid){gap: 0.5em;}body .is-layout-flex{display: flex;}.is-layout-flex{flex-wrap: wrap;align-items: center;}.is-layout-flex > :is(*, div){margin: 0;}body .is-layout-grid{display: grid;}.is-layout-grid > :is(*, div){margin: 0;}:where(.wp-block-columns.is-layout-flex){gap: 2em;}:where(.wp-block-columns.is-layout-grid){gap: 2em;}:where(.wp-block-post-template.is-layout-flex){gap: 1.25em;}:where(.wp-block-post-template.is-layout-grid){gap: 1.25em;}.has-black-color{color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-color{color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-color{color: var(--wp--preset--color--white) !important;}.has-pale-pink-color{color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-color{color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-color{color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-color{color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-color{color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-color{color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-color{color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-color{color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-color{color: var(--wp--preset--color--vivid-purple) !important;}.has-black-background-color{background-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-background-color{background-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-background-color{background-color: var(--wp--preset--color--white) !important;}.has-pale-pink-background-color{background-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-background-color{background-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-background-color{background-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-background-color{background-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-background-color{background-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-background-color{background-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-background-color{background-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-background-color{background-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-background-color{background-color: var(--wp--preset--color--vivid-purple) !important;}.has-black-border-color{border-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-border-color{border-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-border-color{border-color: var(--wp--preset--color--white) !important;}.has-pale-pink-border-color{border-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-border-color{border-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-border-color{border-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-border-color{border-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-border-color{border-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-border-color{border-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-border-color{border-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-border-color{border-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-border-color{border-color: var(--wp--preset--color--vivid-purple) !important;}.has-vivid-cyan-blue-to-vivid-purple-gradient-background{background: var(--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple) !important;}.has-light-green-cyan-to-vivid-green-cyan-gradient-background{background: var(--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan) !important;}.has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange) !important;}.has-luminous-vivid-orange-to-vivid-red-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-orange-to-vivid-red) !important;}.has-very-light-gray-to-cyan-bluish-gray-gradient-background{background: var(--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray) !important;}.has-cool-to-warm-spectrum-gradient-background{background: var(--wp--preset--gradient--cool-to-warm-spectrum) !important;}.has-blush-light-purple-gradient-background{background: var(--wp--preset--gradient--blush-light-purple) !important;}.has-blush-bordeaux-gradient-background{background: var(--wp--preset--gradient--blush-bordeaux) !important;}.has-luminous-dusk-gradient-background{background: var(--wp--preset--gradient--luminous-dusk) !important;}.has-pale-ocean-gradient-background{background: var(--wp--preset--gradient--pale-ocean) !important;}.has-electric-grass-gradient-background{background: var(--wp--preset--gradient--electric-grass) !important;}.has-midnight-gradient-background{background: var(--wp--preset--gradient--midnight) !important;}.has-small-font-size{font-size: var(--wp--preset--font-size--small) !important;}.has-medium-font-size{font-size: var(--wp--preset--font-size--medium) !important;}.has-large-font-size{font-size: var(--wp--preset--font-size--large) !important;}.has-x-large-font-size{font-size: var(--wp--preset--font-size--x-large) !important;}:where(.wp-block-post-template.is-layout-flex){gap: 1.25em;}:where(.wp-block-post-template.is-layout-grid){gap: 1.25em;}:where(.wp-block-columns.is-layout-flex){gap: 2em;}:where(.wp-block-columns.is-layout-grid){gap: 2em;}:root :where(.wp-block-pullquote){font-size: 1.5em;line-height: 1.6;}/style>style idgenerate-style-inline-css>body{background-color:var(--base-2);color:var(--contrast);}a{color:var(--accent);}a{text-decoration:underline;}.entry-title a, .site-branding a, a.button, .wp-block-button__link, .main-navigation a{text-decoration:none;}a:hover, a:focus, a:active{color:var(--contrast);}.wp-block-group__inner-container{max-width:1200px;margin-left:auto;margin-right:auto;}.site-header .header-image{width:350px;}:root{--contrast:#222222;--contrast-2:#575760;--contrast-3:#b2b2be;--base:#f0f0f0;--base-2:#f7f8f9;--base-3:#ffffff;--accent:#1e73be;--blue:#04a3ed;}:root .has-contrast-color{color:var(--contrast);}:root .has-contrast-background-color{background-color:var(--contrast);}:root .has-contrast-2-color{color:var(--contrast-2);}:root .has-contrast-2-background-color{background-color:var(--contrast-2);}:root .has-contrast-3-color{color:var(--contrast-3);}:root .has-contrast-3-background-color{background-color:var(--contrast-3);}:root .has-base-color{color:var(--base);}:root .has-base-background-color{background-color:var(--base);}:root .has-base-2-color{color:var(--base-2);}:root .has-base-2-background-color{background-color:var(--base-2);}:root .has-base-3-color{color:var(--base-3);}:root .has-base-3-background-color{background-color:var(--base-3);}:root .has-accent-color{color:var(--accent);}:root .has-accent-background-color{background-color:var(--accent);}:root .has-blue-color{color:var(--blue);}:root .has-blue-background-color{background-color:var(--blue);}.gp-modal:not(.gp-modal--open):not(.gp-modal--transition){display:none;}.gp-modal--transition:not(.gp-modal--open){pointer-events:none;}.gp-modal-overlay:not(.gp-modal-overlay--open):not(.gp-modal--transition){display:none;}.gp-modal__overlay{display:none;position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,0.2);display:flex;justify-content:center;align-items:center;z-index:10000;backdrop-filter:blur(3px);transition:opacity 500ms ease;opacity:0;}.gp-modal--open:not(.gp-modal--transition) .gp-modal__overlay{opacity:1;}.gp-modal__container{max-width:100%;max-height:100vh;transform:scale(0.9);transition:transform 500ms ease;padding:0 10px;}.gp-modal--open:not(.gp-modal--transition) .gp-modal__container{transform:scale(1);}.search-modal-fields{display:flex;}.gp-search-modal .gp-modal__overlay{align-items:flex-start;padding-top:25vh;background:var(--gp-search-modal-overlay-bg-color);}.search-modal-form{width:500px;max-width:100%;background-color:var(--gp-search-modal-bg-color);color:var(--gp-search-modal-text-color);}.search-modal-form .search-field, .search-modal-form .search-field:focus{width:100%;height:60px;background-color:transparent;border:0;appearance:none;color:currentColor;}.search-modal-fields button, .search-modal-fields button:active, .search-modal-fields button:focus, .search-modal-fields button:hover{background-color:transparent;border:0;color:currentColor;width:60px;}.main-navigation a, .main-navigation .menu-toggle, .main-navigation .menu-bar-items{font-weight:bold;}.top-bar{background-color:#636363;color:#ffffff;}.top-bar a{color:#ffffff;}.top-bar a:hover{color:#303030;}.site-header{background-color:var(--base-3);}.main-title a,.main-title a:hover{color:var(--contrast);}.site-description{color:var(--contrast-2);}.main-navigation,.main-navigation ul ul{background-color:var(--blue);}.main-navigation .main-nav ul li a, .main-navigation .menu-toggle, .main-navigation .menu-bar-items{color:var(--base-3);}.main-navigation .main-nav ul li:not(class*current-menu-):hover > a, .main-navigation .main-nav ul li:not(class*current-menu-):focus > a, .main-navigation .main-nav ul li.sfHover:not(class*current-menu-) > a, .main-navigation .menu-bar-item:hover > a, .main-navigation .menu-bar-item.sfHover > a{color:var(--base-2);}button.menu-toggle:hover,button.menu-toggle:focus{color:var(--base-3);}.main-navigation .main-nav ul liclass*current-menu- > a{color:var(--base-2);}.navigation-search inputtypesearch,.navigation-search inputtypesearch:active, .navigation-search inputtypesearch:focus, .main-navigation .main-nav ul li.search-item.active > a, .main-navigation .menu-bar-items .search-item.active > a{color:var(--base-2);}.main-navigation ul ul{background-color:var(--base-3);}.main-navigation .main-nav ul ul li a{color:var(--blue);}.main-navigation .main-nav ul ul li:not(class*current-menu-):hover > a,.main-navigation .main-nav ul ul li:not(class*current-menu-):focus > a, .main-navigation .main-nav ul ul li.sfHover:not(class*current-menu-) > a{color:var(--accent);background-color:var(--base-2);}.separate-containers .inside-article, .separate-containers .comments-area, .separate-containers .page-header, .one-container .container, .separate-containers .paging-navigation, .inside-page-header{background-color:var(--base-3);}.entry-title a{color:var(--contrast);}.entry-title a:hover{color:var(--contrast-2);}.entry-meta{color:var(--contrast-2);}.sidebar .widget{background-color:var(--base-3);}.footer-widgets{background-color:var(--base-3);}.site-info{background-color:var(--base-3);}inputtypetext,inputtypeemail,inputtypeurl,inputtypepassword,inputtypesearch,inputtypetel,inputtypenumber,textarea,select{color:var(--contrast);background-color:var(--base-2);border-color:var(--base);}inputtypetext:focus,inputtypeemail:focus,inputtypeurl:focus,inputtypepassword:focus,inputtypesearch:focus,inputtypetel:focus,inputtypenumber:focus,textarea:focus,select:focus{color:var(--contrast);background-color:var(--base-2);border-color:var(--contrast-3);}button,html inputtypebutton,inputtypereset,inputtypesubmit,a.button,a.wp-block-button__link:not(.has-background){color:#ffffff;background-color:var(--blue);}button:hover,html inputtypebutton:hover,inputtypereset:hover,inputtypesubmit:hover,a.button:hover,button:focus,html inputtypebutton:focus,inputtypereset:focus,inputtypesubmit:focus,a.button:focus,a.wp-block-button__link:not(.has-background):active,a.wp-block-button__link:not(.has-background):focus,a.wp-block-button__link:not(.has-background):hover{color:#ffffff;background-color:#3f4047;}a.generate-back-to-top{background-color:rgba( 0,0,0,0.4 );color:#ffffff;}a.generate-back-to-top:hover,a.generate-back-to-top:focus{background-color:rgba( 0,0,0,0.6 );color:#ffffff;}:root{--gp-search-modal-bg-color:var(--base-3);--gp-search-modal-text-color:var(--contrast);--gp-search-modal-overlay-bg-color:rgba(0,0,0,0.2);}@media (max-width:768px){.main-navigation .menu-bar-item:hover > a, .main-navigation .menu-bar-item.sfHover > a{background:none;color:var(--base-3);}}.inside-top-bar.grid-container{max-width:1280px;}.inside-header{padding:40px;}.inside-header.grid-container{max-width:1280px;}.site-main .wp-block-group__inner-container{padding:40px;}.separate-containers .paging-navigation{padding-top:20px;padding-bottom:20px;}.entry-content .alignwide, body:not(.no-sidebar) .entry-content .alignfull{margin-left:-40px;width:calc(100% + 80px);max-width:calc(100% + 80px);}.rtl .menu-item-has-children .dropdown-menu-toggle{padding-left:20px;}.rtl .main-navigation .main-nav ul li.menu-item-has-children > a{padding-right:20px;}.footer-widgets-container.grid-container{max-width:1280px;}.inside-site-info.grid-container{max-width:1280px;}@media (max-width:768px){.separate-containers .inside-article, .separate-containers .comments-area, .separate-containers .page-header, .separate-containers .paging-navigation, .one-container .site-content, .inside-page-header{padding:30px;}.site-main .wp-block-group__inner-container{padding:30px;}.inside-top-bar{padding-right:30px;padding-left:30px;}.inside-header{padding-right:30px;padding-left:30px;}.widget-area .widget{padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px;}.footer-widgets-container{padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px;}.inside-site-info{padding-right:30px;padding-left:30px;}.entry-content .alignwide, body:not(.no-sidebar) .entry-content .alignfull{margin-left:-30px;width:calc(100% + 60px);max-width:calc(100% + 60px);}.one-container .site-main .paging-navigation{margin-bottom:20px;}}/* End cached CSS */.is-right-sidebar{width:30%;}.is-left-sidebar{width:30%;}.site-content .content-area{width:70%;}@media (max-width:768px){.main-navigation .menu-toggle,.sidebar-nav-mobile:not(#sticky-placeholder){display:block;}.main-navigation ul,.gen-sidebar-nav,.main-navigation:not(.slideout-navigation):not(.toggled) .main-nav > ul,.has-inline-mobile-toggle #site-navigation .inside-navigation > *:not(.navigation-search):not(.main-nav){display:none;}.nav-align-right .inside-navigation,.nav-align-center .inside-navigation{justify-content:space-between;}}/style> script typelitespeed/javascript data-srchttp://access-excel.tips/wp-includes/js/jquery/jquery.min.js idjquery-core-js>/script> link relhttps://api.w.org/ hrefhttps://access-excel.tips/wp-json/ /> script typelitespeed/javascript data-src//g.ezoic.net/ezoic/ezoiclitedata.go?did98068>/script> script typelitespeed/javascript data-srchttps://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?clientca-pub-4932101200331578 crossoriginanonymous>/script> script typelitespeed/javascript data-srchttps://analytics.ahrefs.com/analytics.js data-keyn5/akxf0v/38xpBJOfs1Lg>/script>style classwpcode-css-snippet>.read-more { padding: 10px 20px; font-size: 14px;}/style>style classwpcode-css-snippet>@media (max-width: 768px) { #welcome-text, .featured-post, .event-list { width: 100%; padding: 10px; } img { max-width: 100%; height: auto; } .read-more { display: block; margin: 10px 0; text-align: center; } .testimonial-slide { flex-direction: column; align-items: center; }}/style>style classwpcode-css-snippet>body { font-size: 16px;}@media (max-width: 768px) { body { font-size: 14px; }}/style>style classwpcode-css-snippet>#top-section, #mid-section { display: flex; flex-wrap: wrap; gap: 15px;}.featured-post { flex: 1 1 calc(33.33% - 15px); /* Adjust for 3 columns */}@media (max-width: 768px) { .featured-post { flex: 1 1 100%; /* Single column for small screens */ }}/style>link relicon hrefhttps://access-excel.tips/wp-content/uploads/2016/05/cropped-pika-150x150.jpg sizes32x32 />link relicon hrefhttps://access-excel.tips/wp-content/uploads/2016/05/cropped-pika-300x300.jpg sizes192x192 />link relapple-touch-icon hrefhttps://access-excel.tips/wp-content/uploads/2016/05/cropped-pika-300x300.jpg />meta namemsapplication-TileImage contenthttps://access-excel.tips/wp-content/uploads/2016/05/cropped-pika-300x300.jpg />style idwp-custom-css>/* BLOG & ARCHIVE: FLOAT IMAGE LEFT & WRAP TEXT */.blog .inside-article .post-image,.archive .inside-article .post-image { float: left; width: 120px; margin: 40px 20px 10px 0; vertical-align: middle;}.blog .inside-article .post-image img,.archive .inside-article .post-image img { width: 100%; height: auto; display: block;}/* Make sure excerpt wraps from top line */.blog .inside-article .entry-summary,.archive .inside-article .entry-summary { overflow: hidden;}/* READ MORE BUTTON - BLACK & BRAND BLUE */.blog .inside-article .entry-summary a,.archive .inside-article .entry-summary a { display: block; width: fit-content; margin: 10px 0 0 auto; padding: 6px 12px; background: #000; /* black background */ color: #fff; /* white text */ text-decoration: none; font-size: 14px; border-radius: 3px; transition: background 0.3s; border-bottom: 4px solid #04a3ed; /* brand blue line */}.blog .inside-article .entry-summary a:hover,.archive .inside-article .entry-summary a:hover { background: #04a3ed; color: #fff;}/* MOBILE: STACK IMAGE ON TOP */@media (max-width: 768px) { .blog .inside-article .post-image, .archive .inside-article .post-image { float: none; width: 100%; margin: 15px 10px 15px 0; } .blog .inside-article .entry-summary a, .archive .inside-article .entry-summary a { margin-left: 0; margin-right: auto; }}/* SINGLE POSTS: FLOAT IMAGES LEFT IN CONTENT */.single-post .wp-block-image.alignleft img,.single-post img.alignleft,.single-post .alignleft { float: left; margin: 0 20px 10px 0; width: auto; height: auto; vertical-align: top; display: block;}.separate-containers .inside-article>.featured-image { margin-top: 0; margin-bottom: 2em; display: none;}/style>style>.table-responsive table{ border-collapse: collapse; border-spacing: 0; table-layout: auto; padding: 0; width: 100%; max-width: 100%; margin: 0 auto 20px auto; } .table-responsive { overflow-x: auto; min-height: 0.01%; margin-bottom: 20px; } .table-responsive::-webkit-scrollbar { width: 10px; height: 10px; } .table-responsive::-webkit-scrollbar-thumb { background: #dddddd; border-radius: 2px; } .table-responsive::-webkit-scrollbar-track-piece { background: #fff; } @media (max-width: 992px) { .table-responsive table{ width: auto!important; margin:0 auto 15px auto!important; } } @media screen and (max-width: 767px) { .table-responsive { width: 100%; margin-bottom: 15px; overflow-y: hidden; -ms-overflow-style: -ms-autohiding-scrollbar; } .table-responsive::-webkit-scrollbar { width: 5px; height: 5px; } }/style>/head>body classhome blog wp-custom-logo wp-embed-responsive wp-theme-generatepress right-sidebar nav-below-header separate-containers header-aligned-left dropdown-hover itemtypehttps://schema.org/Blog itemscope>a classscreen-reader-text skip-link href#content titleSkip to content>Skip to content/a>header classsite-header idmasthead aria-labelSite itemtypehttps://schema.org/WPHeader itemscope>div classinside-header grid-container>div classsite-logo>a hrefhttps://access-excel.tips/ relhome>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTUzNiIgaGVpZ2h0PSI0OTUiIHZpZXdCb3g9IjAgMCAxNTM2IDQ5NSI+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgc3R5bGU9ImZpbGw6I2NmZDRkYjtmaWxsLW9wYWNpdHk6IDAuMTsiLz48L3N2Zz4 classheader-image is-logo-image altAccess-Excel.Tips data-srchttps://access-excel.tips/wp-content/uploads/2025/07/cropped-access-logo.png width1536 height495 />/a>/div>/div>/header>nav classmain-navigation has-menu-bar-items sub-menu-right idsite-navigation aria-labelPrimary itemtypehttps://schema.org/SiteNavigationElement itemscope>div classinside-navigation grid-container>button classmenu-toggle aria-controlsprimary-menu aria-expandedfalse>span classgp-icon icon-menu-bars>svg viewBox0 0 512 512 aria-hiddentrue xmlnshttp://www.w3.org/2000/svg width1em height1em>path dM0 96c0-13.255 10.745-24 24-24h464c13.255 0 24 10.745 24 24s-10.745 24-24 24H24c-13.255 0-24-10.745-24-24zm0 160c0-13.255 10.745-24 24-24h464c13.255 0 24 10.745 24 24s-10.745 24-24 24H24c-13.255 0-24-10.745-24-24zm0 160c0-13.255 10.745-24 24-24h464c13.255 0 24 10.745 24 24s-10.745 24-24 24H24c-13.255 0-24-10.745-24-24z />/svg>svg viewBox0 0 512 512 aria-hiddentrue xmlnshttp://www.w3.org/2000/svg width1em height1em>path dM71.029 71.029c9.373-9.372 24.569-9.372 33.942 0L256 222.059l151.029-151.03c9.373-9.372 24.569-9.372 33.942 0 9.372 9.373 9.372 24.569 0 33.942L289.941 256l151.03 151.029c9.372 9.373 9.372 24.569 0 33.942-9.373 9.372-24.569 9.372-33.942 0L256 289.941l-151.029 151.03c-9.373 9.372-24.569 9.372-33.942 0-9.372-9.373-9.372-24.569 0-33.942L222.059 256 71.029 104.971c-9.372-9.373-9.372-24.569 0-33.942z />/svg>/span>span classmobile-menu>Menu/span> /button>div idprimary-menu classmain-nav>ul classmenu sf-menu>li classpage_item page-item-42 menu-item-has-children>a hrefhttps://access-excel.tips/access/>Accessspan rolepresentation classdropdown-menu-toggle>span classgp-icon icon-arrow>svg viewBox0 0 330 512 aria-hiddentrue xmlnshttp://www.w3.org/2000/svg width1em height1em>path dM305.913 197.085c0 2.266-1.133 4.815-2.833 6.514L171.087 335.593c-1.7 1.7-4.249 2.832-6.515 2.832s-4.815-1.133-6.515-2.832L26.064 203.599c-1.7-1.7-2.832-4.248-2.832-6.514s1.132-4.816 2.832-6.515l14.162-14.163c1.7-1.699 3.966-2.832 6.515-2.832 2.266 0 4.815 1.133 6.515 2.832l111.316 111.317 111.316-111.317c1.7-1.699 4.249-2.832 6.515-2.832s4.815 1.133 6.515 2.832l14.162 14.163c1.7 1.7 2.833 4.249 2.833 6.515z />/svg>/span>/span>/a>ul classchildren>li classpage_item page-item-2031 menu-item-has-children>a hrefhttps://access-excel.tips/access/access-library/>Access Libraryspan rolepresentation classdropdown-menu-toggle>span classgp-icon icon-arrow>svg viewBox0 0 330 512 aria-hiddentrue xmlnshttp://www.w3.org/2000/svg width1em height1em>path dM305.913 197.085c0 2.266-1.133 4.815-2.833 6.514L171.087 335.593c-1.7 1.7-4.249 2.832-6.515 2.832s-4.815-1.133-6.515-2.832L26.064 203.599c-1.7-1.7-2.832-4.248-2.832-6.514s1.132-4.816 2.832-6.515l14.162-14.163c1.7-1.699 3.966-2.832 6.515-2.832 2.266 0 4.815 1.133 6.515 2.832l111.316 111.317 111.316-111.317c1.7-1.699 4.249-2.832 6.515-2.832s4.815 1.133 6.515 2.832l14.162 14.163c1.7 1.7 2.833 4.249 2.833 6.515z />/svg>/span>/span>/a>ul classchildren>li classpage_item page-item-1488>a hrefhttps://access-excel.tips/access/access-library/access-function-list/>Access Function List/a>/li>li classpage_item page-item-1748>a hrefhttps://access-excel.tips/access/access-library/access-function-list-vba/>Access Function List (VBA)/a>/li>li classpage_item page-item-1462>a hrefhttps://access-excel.tips/access/access-library/access-method-list-vba/>Access Method List (VBA)/a>/li>li classpage_item page-item-2028>a hrefhttps://access-excel.tips/access/access-library/access-object-property-list-vba/>Access Object Property List (VBA)/a>/li>/ul>/li>/ul>/li>li classpage_item page-item-1830 menu-item-has-children>a hrefhttps://access-excel.tips/excel/>Excelspan rolepresentation classdropdown-menu-toggle>span classgp-icon icon-arrow>svg viewBox0 0 330 512 aria-hiddentrue xmlnshttp://www.w3.org/2000/svg width1em height1em>path dM305.913 197.085c0 2.266-1.133 4.815-2.833 6.514L171.087 335.593c-1.7 1.7-4.249 2.832-6.515 2.832s-4.815-1.133-6.515-2.832L26.064 203.599c-1.7-1.7-2.832-4.248-2.832-6.514s1.132-4.816 2.832-6.515l14.162-14.163c1.7-1.699 3.966-2.832 6.515-2.832 2.266 0 4.815 1.133 6.515 2.832l111.316 111.317 111.316-111.317c1.7-1.699 4.249-2.832 6.515-2.832s4.815 1.133 6.515 2.832l14.162 14.163c1.7 1.7 2.833 4.249 2.833 6.515z />/svg>/span>/span>/a>ul classchildren>li classpage_item page-item-550 menu-item-has-children>a hrefhttps://access-excel.tips/excel/excel-menu/>Excel Libraryspan rolepresentation classdropdown-menu-toggle>span classgp-icon icon-arrow>svg viewBox0 0 330 512 aria-hiddentrue xmlnshttp://www.w3.org/2000/svg width1em height1em>path dM305.913 197.085c0 2.266-1.133 4.815-2.833 6.514L171.087 335.593c-1.7 1.7-4.249 2.832-6.515 2.832s-4.815-1.133-6.515-2.832L26.064 203.599c-1.7-1.7-2.832-4.248-2.832-6.514s1.132-4.816 2.832-6.515l14.162-14.163c1.7-1.699 3.966-2.832 6.515-2.832 2.266 0 4.815 1.133 6.515 2.832l111.316 111.317 111.316-111.317c1.7-1.699 4.249-2.832 6.515-2.832s4.815 1.133 6.515 2.832l14.162 14.163c1.7 1.7 2.833 4.249 2.833 6.515z />/svg>/span>/span>/a>ul classchildren>li classpage_item page-item-554>a hrefhttps://access-excel.tips/excel/excel-menu/excel-worksheet-function-menu/>Excel Function List (Worksheet)/a>/li>li classpage_item page-item-565>a hrefhttps://access-excel.tips/excel/excel-menu/excel-vba-function-list/>Excel Function List (VBA)/a>/li>li classpage_item page-item-851>a hrefhttps://access-excel.tips/excel/excel-menu/excel-method-list-vba/>Excel Method List (VBA)/a>/li>li classpage_item page-item-582>a hrefhttps://access-excel.tips/excel/excel-menu/excel-object-property/>Excel Object Property List (VBA)/a>/li>li classpage_item page-item-876>a hrefhttps://access-excel.tips/excel/excel-menu/excel-event-list-vba/>Excel Event List (VBA)/a>/li>/ul>/li>li classpage_item page-item-1124>a hrefhttps://access-excel.tips/excel/excel-tips-vba/>Excel Tips by topic/a>/li>/ul>/li>li classpage_item page-item-5498>a hrefhttps://access-excel.tips/privacy-policy/>Privacy Policy/a>/li>li classpage_item page-item-5503>a hrefhttps://access-excel.tips/about/>About/a>/li>li classpage_item page-item-5>a hrefhttps://access-excel.tips/about-us/>About Me/a>/li>/ul>/div>div classmenu-bar-items> span classmenu-bar-item>a href# rolebutton aria-labelOpen search aria-haspopupdialog aria-controlsgp-search data-gpmodal-triggergp-search>span classgp-icon icon-search>svg viewBox0 0 512 512 aria-hiddentrue xmlnshttp://www.w3.org/2000/svg width1em height1em>path fill-ruleevenodd clip-ruleevenodd dM208 48c-88.366 0-160 71.634-160 160s71.634 160 160 160 160-71.634 160-160S296.366 48 208 48zM0 208C0 93.125 93.125 0 208 0s208 93.125 208 208c0 48.741-16.765 93.566-44.843 129.024l133.826 134.018c9.366 9.379 9.355 24.575-.025 33.941-9.379 9.366-24.575 9.355-33.941-.025L337.238 370.987C301.747 399.167 256.839 416 208 416 93.125 416 0 322.875 0 208z />/svg>svg viewBox0 0 512 512 aria-hiddentrue xmlnshttp://www.w3.org/2000/svg width1em height1em>path dM71.029 71.029c9.373-9.372 24.569-9.372 33.942 0L256 222.059l151.029-151.03c9.373-9.372 24.569-9.372 33.942 0 9.372 9.373 9.372 24.569 0 33.942L289.941 256l151.03 151.029c9.372 9.373 9.372 24.569 0 33.942-9.373 9.372-24.569 9.372-33.942 0L256 289.941l-151.029 151.03c-9.373 9.372-24.569 9.372-33.942 0-9.372-9.373-9.372-24.569 0-33.942L222.059 256 71.029 104.971c-9.372-9.373-9.372-24.569 0-33.942z />/svg>/span>/a>/span>/div>/div>/nav>div classsite grid-container container hfeed idpage>div classsite-content idcontent>div classcontent-area idprimary>main classsite-main idmain>article idpost-5647 classpost-5647 post type-post status-publish format-standard has-post-thumbnail hentry category-pivot-table itemtypehttps://schema.org/CreativeWork itemscope>div classinside-article>header classentry-header>h2 classentry-title itempropheadline>a hrefhttps://access-excel.tips/excel-pivot-table-distinct-count-unique/ relbookmark>Excel Pivot Table Distinct Count to count unique value/a>/h2>div classentry-meta>span classposted-on>time classupdated datetime2025-07-16T11:37:14+08:00 itempropdateModified>July 16, 2025/time>time classentry-date published datetime2019-05-12T04:23:46+08:00 itempropdatePublished>May 12, 2019/time>/span> span classbyline>by span classauthor vcard itempropauthor itemtypehttps://schema.org/Person itemscope>a classurl fn n hrefhttps://access-excel.tips/author/scammera1/ titleView all posts by Wyman W relauthor itempropurl>span classauthor-name itempropname>Wyman W/span>/a>/span>/span>/div>/header>div classpost-image>a hrefhttps://access-excel.tips/excel-pivot-table-distinct-count-unique/>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgdmlld0JveD0iMCAwIDIwMCAyMDAiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ width200 height200 data-srchttps://access-excel.tips/wp-content/uploads/2014/12/feature_excel-e1496498521642.png classattachment-full size-full wp-post-image alt itempropimage decodingasync data-srcsethttps://access-excel.tips/wp-content/uploads/2014/12/feature_excel-e1496498521642.png 200w, https://access-excel.tips/wp-content/uploads/2014/12/feature_excel-e1496498521642-150x150.png 150w data-sizes(max-width: 200px) 100vw, 200px />/a>/div>div classentry-content itemproptext>div classwprt-container>p>This Excel tutorial explains how to use distinct count in Pivot Table to count number of unique value in a column grouped by other fields./p>p>In Excel 2013, there is a new aggregate function in Pivot Table called strong>Distinct Count/strong>, which counts number of unique value in a column. For example, if a column contains employee names, you can use the distinct count function to count number of unique employee names in the column such as below./p>h2 classwp-block-heading>figure>a hrefhttps://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-09.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNzc5IiBoZWlnaHQ9IjM3OSIgdmlld0JveD0iMCAwIDc3OSAzNzkiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ fetchpriorityhigh decodingasync classalignnone size-full wp-image-5658 data-srchttps://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-09.jpg alt width779 height379 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-09.jpg 779w, https://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-09-300x146.jpg 300w, https://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-09-768x374.jpg 768w data-sizes(max-width: 779px) 100vw, 779px />/a>/figure>/h2>p>In this tutorial, I am going to demonstrate how to do distinct count./p>h2 classwp-block-heading>span stylecolor: #0000ff;>Example – distinct count number of unique employee names by departmentbr>/span>/h2>p>Suppose we have a staff list below. We want to see how many unique employee names are in the same department./p>figure classwp-block-image>a hrefhttps://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-01.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNTkyIiBoZWlnaHQ9IjM3MiIgdmlld0JveD0iMCAwIDU5MiAzNzIiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ decodingasync width592 height372 data-srchttps://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-01.jpg alt classwp-image-5650 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-01.jpg 592w, https://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-01-300x189.jpg 300w data-sizes(max-width: 592px) 100vw, 592px />/a>/figure>p>/p>p> /p>p>Select the concerned data, navigate to strong>Insert/strong> > strong>Pivot Table/strong>, then in the strong>Create PivotTable/strong> dialog, check the box strong>span stylecolor: #0000ff;>Add this data to the Data Model /span>/strong>span stylecolor: #000000;>> OK/span>/p>p>This option is very important as span stylecolor: #ff0000;>Distinct Count function will not be available if you don’t check this box/span>./p>figure classwp-block-image>a hrefhttps://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-02.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTAzMiIgaGVpZ2h0PSI0MjYiIHZpZXdCb3g9IjAgMCAxMDMyIDQyNiI+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgc3R5bGU9ImZpbGw6I2NmZDRkYjtmaWxsLW9wYWNpdHk6IDAuMTsiLz48L3N2Zz4 loadinglazy decodingasync width1032 height426 data-srchttps://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-02.jpg alt classwp-image-5651 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-02.jpg 1032w, https://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-02-300x124.jpg 300w, https://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-02-1024x423.jpg 1024w, https://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-02-768x317.jpg 768w data-sizesauto, (max-width: 1032px) 100vw, 1032px />/a>/figure>p>/p>p> /p>p>In the Pivot Table, drag Department and Employee Name to the strong>Rows/strong>, drag Employee Name to the strong>Values. /strong>By default, the aggregate function on the value is strong>Count/strong>.strong>br>/strong>/p>figure classwp-block-image>a hrefhttps://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-06.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzk3IiBoZWlnaHQ9IjU3MCIgdmlld0JveD0iMCAwIDM5NyA1NzAiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync width397 height570 data-srchttps://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-06.jpg alt classwp-image-5655 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-06.jpg 397w, https://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-06-209x300.jpg 209w data-sizesauto, (max-width: 397px) 100vw, 397px />/a>/figure>p>/p>p> /p>p>Click on the arrow next to strong>Count of Employee Name/strong>, select strong>Value Field Settings/strong>/p>p>In the strong>Value Field Settings/strong>, select strong>Distinct Count/strong> > OK/p>figure classwp-block-image>a hrefhttps://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-07.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNzc3IiBoZWlnaHQ9IjUwMyIgdmlld0JveD0iMCAwIDc3NyA1MDMiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync width777 height503 data-srchttps://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-07.jpg alt classwp-image-5656 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-07.jpg 777w, https://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-07-300x194.jpg 300w, https://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-07-768x497.jpg 768w data-sizesauto, (max-width: 777px) 100vw, 777px />/a>/figure>p>/p>p> /p>p>Now the Pivot Table displays the distinct count of employee name by department and display each all the names under each department./p>p>Overall, there are a total of 17 staff, as there are two Cathy and two Icy, the distinct count of employee name in the whole company is 15./p>figure classwp-block-image>a hrefhttps://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-08.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNDQ2IiBoZWlnaHQ9IjUwNSIgdmlld0JveD0iMCAwIDQ0NiA1MDUiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync width446 height505 data-srchttps://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-08.jpg alt classwp-image-5657 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-08.jpg 446w, https://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-08-265x300.jpg 265w data-sizesauto, (max-width: 446px) 100vw, 446px />/a>/figure>p>/p>p> /p>p>Alternatively, display the distinct count without displaying the employee name./p>figure classwp-block-image>a hrefhttps://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-10.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNDE0IiBoZWlnaHQ9IjE5MiIgdmlld0JveD0iMCAwIDQxNCAxOTIiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync width414 height192 data-srchttps://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-10.jpg alt classwp-image-5659 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-10.jpg 414w, https://access-excel.tips/wp-content/uploads/2019/05/Excel-Pivot-Table-Distinct-Count-to-count-unique-value-10-300x139.jpg 300w data-sizesauto, (max-width: 414px) 100vw, 414px />/a>/figure>p>/p>p> /p>h2 classwp-block-heading>span stylecolor: #0000ff;>Outbound References/span>/h2>figure classwp-block-embed>div classwp-block-embed__wrapper>https://support.office.com/en-us/article/count-unique-values-among-duplicates-8d9a69b3-b867-490e-82e0-a929fbc1e273/div>/figure>/div>/div>footer classentry-meta aria-labelEntry meta>span classcat-links>span classgp-icon icon-categories>svg viewBox0 0 512 512 aria-hiddentrue xmlnshttp://www.w3.org/2000/svg width1em height1em>path dM0 112c0-26.51 21.49-48 48-48h110.014a48 48 0 0143.592 27.907l12.349 26.791A16 16 0 00228.486 128H464c26.51 0 48 21.49 48 48v224c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V112z />/svg>/span>span classscreen-reader-text>Categories /span>a hrefhttps://access-excel.tips/category/excel/pivot-table/ relcategory tag>Chapter 5 - Pivot Table/a>/span>/footer>/div>/article>article idpost-5626 classpost-5626 post type-post status-publish format-standard has-post-thumbnail hentry category-uncategorized category-unit-6-excel-vba-methods category-unit-9-excel-custom-sub itemtypehttps://schema.org/CreativeWork itemscope>div classinside-article>header classentry-header>h2 classentry-title itempropheadline>a hrefhttps://access-excel.tips/import-csv-into-excel-workbooks-opentext-method/ relbookmark>Excel VBA Import CSV into Excel using Workbooks.OpenText Method/a>/h2>div classentry-meta>span classposted-on>time classentry-date published datetime2019-05-06T00:14:52+08:00 itempropdatePublished>May 6, 2019/time>/span> span classbyline>by span classauthor vcard itempropauthor itemtypehttps://schema.org/Person itemscope>a classurl fn n hrefhttps://access-excel.tips/author/scammera1/ titleView all posts by Wyman W relauthor itempropurl>span classauthor-name itempropname>Wyman W/span>/a>/span>/span>/div>/header>div classpost-image>a hrefhttps://access-excel.tips/import-csv-into-excel-workbooks-opentext-method/>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjYzIiBoZWlnaHQ9IjI2NCIgdmlld0JveD0iMCAwIDI2MyAyNjQiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ width263 height264 data-srchttps://access-excel.tips/wp-content/uploads/2014/12/feature_excel_vba.jpg classattachment-full size-full wp-post-image alt itempropimage decodingasync loadinglazy data-srcsethttps://access-excel.tips/wp-content/uploads/2014/12/feature_excel_vba.jpg 263w, https://access-excel.tips/wp-content/uploads/2014/12/feature_excel_vba-150x150.jpg 150w data-sizesauto, (max-width: 263px) 100vw, 263px />/a>/div>div classentry-content itemproptext>div classwprt-container>This Excel VBA tutorial explains how to import CSV into Excel automatically using Workbooks.OpenText Method. You may select different delimiters such as Tab, semicolon, comma, space./p>p>You may also want to read:/p>p classentry-title>a hrefhttps://access-excel.tips/import-chinese-csv-to-excel/>Import Chinese CSV to Excel/a>/p>p>a hrefhttps://access-excel.tips/vba-convert-csv-to-excel/>Excel VBA convert CSV to Excel/a>/p>h2>span stylecolor: #0000ff;>Excel VBA Import CSV into Excel using Workbooks.OpenText Method/span>/h2>p>In Excel workbook, you can manually import a CSV file into Excel (Data > From Text / CSV). However, you have to select some options in advance such as delimiter. In order to import CSV into Excel automatically, you may use strong>Workbooks.Open Text Method/strong>./p>h2>span stylecolor: #0000ff;>Syntax of Workbooks.Open Text Method/span>/h2>pre>span stylefont-family: Arial, Helvetica, sans-serif;>code>Workbooks.OpenText(FileName, Origin , StartRow , DataType , TextQualifier , ConsecutiveDelimiter , Tab , Semicolon , Comma , Space , Other , OtherChar , FieldInfo , TextVisualLayout , DecimalSeparator , ThousandsSeparator , TrailingMinusNumbers , Local)/code>/span>/pre>table styleheight: 1909px; width1311>tbody>tr>td width161>Name/td>td width139>Required/Optional/td>td width101>Data type/td>td width350>Description/td>/tr>tr>td width161>FileName/td>td width139>Required/td>td width101>String/td>td width350>Specifies the file name of the text file to be opened and parsed./td>/tr>tr>td width161>Origin/td>td width139>Optional/td>td width101>Variant/td>td width350>Specifies the origin of the text file. Can be one of the following xlPlatform constants: xlMacintosh, xlWindows, or xlMSDOS. Additionally, this could be an integer representing the code page number of the desired code page. For example, “1256” would specify that the encoding of the source text file is Arabic (Windows). If this argument is omitted, the method uses the current setting of the File Origin option in the Text Import Wizard./td>/tr>tr>td width161>StartRow/td>td width139>Optional/td>td width101>Variant/td>td width350>The row number at which to start parsing text. The default value is 1./td>/tr>tr>td width161>DataType/td>td width139>Optional/td>td width101>Variant/td>td width350>Specifies the column format of the data in the file. Can be one of the following XlTextParsingType constants: xlDelimited or xlFixedWidth. If this argument is not specified, Microsoft Excel attempts to determine the column format when it opens the file./p>table width558>tbody>tr>td width186>Name/td>td width186>Value/td>td width186>Description/td>/tr>tr>td width186>xlDelimited/td>td width186>1/td>td width186>Default. Indicates that the file is delimited by delimiter characters./td>/tr>tr>td width186>xlFixedWidth/td>td width186>2/td>td width186>Indicates that the data in the file is arranged in columns of fixed widths./td>/tr>/tbody>/table>/td>/tr>tr>td width161>TextQualifier/td>td width139>Optional/td>td width101>Variant/td>td width350>table width415>tbody>tr>td width190>Name/td>td width46>Value/td>td width179>Description/td>/tr>tr>td width190>xlTextQualifierDoubleQuote/td>td width46>1/td>td width179>Double quotation mark (“)./td>/tr>tr>td width190>xlTextQualifierNone/td>td width46>-4142/td>td width179>No delimiter./td>/tr>tr>td width190>xlTextQualifierSingleQuote/td>td width46>2/td>td width179>Single quotation mark (‘)./td>/tr>/tbody>/table>/td>/tr>tr>td width161>ConsecutiveDelimiter/td>td width139>Optional/td>td width101>Variant/td>td width350>True to have consecutive delimiters considered one delimiter. The default is False./td>/tr>tr>td width161>Tab/td>td width139>Optional/td>td width101>Variant/td>td width350>True to have the tab character be the delimiter (DataType must be xlDelimited). The default value is False./td>/tr>tr>td width161>Semicolon/td>td width139>Optional/td>td width101>Variant/td>td width350>True to have the semicolon character be the delimiter (DataType must be xlDelimited). The default value is False./td>/tr>tr>td width161>Comma/td>td width139>Optional/td>td width101>Variant/td>td width350>True to have the comma character be the delimiter (DataType must be xlDelimited). The default value is False./td>/tr>tr>td width161>Space/td>td width139>Optional/td>td width101>Variant/td>td width350>True to have the space character be the delimiter (DataType must be xlDelimited). The default value is False./td>/tr>tr>td width161>Other/td>td width139>Optional/td>td width101>Variant/td>td width350>True to have the character specified by the OtherChar argument be the delimiter (DataType must be xlDelimited). The default value is False./td>/tr>tr>td width161>OtherChar/td>td width139>Optional/td>td width101>Variant/td>td width350>(required if Other is True). Specifies the delimiter character when Other is True. If more than one character is specified, only the first character of the string is used; the remaining characters are ignored./td>/tr>tr>td width161>FieldInfo/td>td width139>Optional/td>td width101>Variant/td>td width350>An array containing parse information for individual columns of data. The interpretation depends on the value of DataType. When the data is delimited, this argument is an array of two-element arrays, with each two-element array specifying the conversion options for a particular column. The first element is the column number (1-based), and the second element is one of the XlColumnDataType constants specifying how the column is parsed./p>table width415>tbody>tr>td width190>Name/td>td width46>Value/td>td width179>Description/td>/tr>tr>td width190>xlDMYFormat/td>td width46>4/td>td width179>DMY date format./td>/tr>tr>td width190>xlDYMFormat/td>td width46>7/td>td width179>DYM date format./td>/tr>tr>td width190>xlEMDFormat/td>td width46>10/td>td width179>EMD date format./td>/tr>tr>td width190>xlGeneralFormat/td>td width46>1/td>td width179>General./td>/tr>tr>td width190>xlMDYFormat/td>td width46>3/td>td width179>MDY date format./td>/tr>tr>td width190>xlMYDFormat/td>td width46>6/td>td width179>MYD date format./td>/tr>tr>td width190>xlSkipColumn/td>td width46>9/td>td width179>Column is not parsed./td>/tr>tr>td width190>xlTextFormat/td>td width46>2/td>td width179>Text./td>/tr>tr>td width190>xlYDMFormat/td>td width46>8/td>td width179>YDM date format./td>/tr>tr>td width190>xlYMDFormat/td>td width46>5/td>td width179>YMD date format./td>/tr>/tbody>/table>/td>/tr>tr>td width161>TextVisualLayout/td>td width139>Optional/td>td width101>Variant/td>td width350>The visual layout of the text./td>/tr>tr>td width161>DecimalSeparator/td>td width139>Optional/td>td width101>Variant/td>td width350>The decimal separator that Microsoft Excel uses when recognizing numbers. The default setting is the system setting./td>/tr>tr>td width161>ThousandsSeparator/td>td width139>Optional/td>td width101>Variant/td>td width350>The thousands separator that Excel uses when recognizing numbers. The default setting is the system setting./td>/tr>tr>td width161>TrailingMinusNumbers/td>td width139>Optional/td>td width101>Variant/td>td width350>Specify True if numbers with a minus character at the end should be treated as negative numbers. If False or omitted, numbers with a minus character at the end are treated as text./td>/tr>tr>td width161>Local/td>td width139>Optional/td>td width101>Variant/td>td width350>Specify True if regional settings of the machine should be used for separators, numbers and data formatting./td>/tr>/tbody>/table>p> /p>h2>span stylecolor: #0000ff;>Example – Import CSV into Excel using Workbooks.OpenText Method/span>/h2>p>Suppose we have a staff list as below in csv file, in which the delimiter is comma with double quotation around text that contains comma (job title). Uur goal is import CSV into Excel and delimit the data automatically./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2019/05/Import-CSV-into-Excel-using-Workbooks.OpenText-Method-01.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNTU1IiBoZWlnaHQ9IjM4NSIgdmlld0JveD0iMCAwIDU1NSAzODUiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone size-full wp-image-5633 data-srchttps://access-excel.tips/wp-content/uploads/2019/05/Import-CSV-into-Excel-using-Workbooks.OpenText-Method-01.jpg alt width555 height385 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/05/Import-CSV-into-Excel-using-Workbooks.OpenText-Method-01.jpg 555w, https://access-excel.tips/wp-content/uploads/2019/05/Import-CSV-into-Excel-using-Workbooks.OpenText-Method-01-300x208.jpg 300w data-sizesauto, (max-width: 555px) 100vw, 555px />/a>/p>p>In the VBA code, for the case of a mix of double quotation and no double quotation, we can skip the strong>TextQualifier/strong> argument. We only have to identify the file path and delimiter as below./p>pre>Public Sub OpenCsvFile() .OpenText Filename:C:\Users\WYMAN\Desktop\staff list.csv, DataType:xlDelimited, comma:True End Sub/pre>p>Create a new workbook, press ALT+F11 to insert the above procedure and then execute the procedure. The CSV file will open in Excel and the data is delimited properly./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2019/05/Import-CSV-into-Excel-using-Workbooks.OpenText-Method-02.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNjU5IiBoZWlnaHQ9IjY3MCIgdmlld0JveD0iMCAwIDY1OSA2NzAiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone size-full wp-image-5634 data-srchttps://access-excel.tips/wp-content/uploads/2019/05/Import-CSV-into-Excel-using-Workbooks.OpenText-Method-02.jpg alt width659 height670 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/05/Import-CSV-into-Excel-using-Workbooks.OpenText-Method-02.jpg 659w, https://access-excel.tips/wp-content/uploads/2019/05/Import-CSV-into-Excel-using-Workbooks.OpenText-Method-02-295x300.jpg 295w data-sizesauto, (max-width: 659px) 100vw, 659px />/a>/p>p> /p>p>Note that OpenText Method only opens the CSV in Excel but it is not importing the data into the current workbook./p>p>To do so, we can add some codes to copy the worksheet over to the current workboook ./p>pre>Public Sub OpenCsvFile() Application.ScreenUpdating False Workbooks.OpenText Filename:C:\Users\WYMAN\Desktop\staff list.csv, DataType:xlDelimited, comma:True With ActiveWorkbook span stylecolor: #ff0000;>.ActiveSheet.Copy After:ThisWorkbook.Sheets(Sheets.Count)/span> .Close End With Cells.Select Cells.EntireColumn.AutoFit Range(A1).Select Application.ScreenUpdating TrueEnd Sub/pre>p> /p>p>Execute the above procedure, now the delimited csv is added to the current workbook in a new worksheet./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2019/05/Import-CSV-into-Excel-using-Workbooks.OpenText-Method-03.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNzQyIiBoZWlnaHQ9IjY3OCIgdmlld0JveD0iMCAwIDc0MiA2NzgiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone size-full wp-image-5635 data-srchttps://access-excel.tips/wp-content/uploads/2019/05/Import-CSV-into-Excel-using-Workbooks.OpenText-Method-03.jpg alt width742 height678 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/05/Import-CSV-into-Excel-using-Workbooks.OpenText-Method-03.jpg 742w, https://access-excel.tips/wp-content/uploads/2019/05/Import-CSV-into-Excel-using-Workbooks.OpenText-Method-03-300x274.jpg 300w data-sizesauto, (max-width: 742px) 100vw, 742px />/a>/p>p> /p>h2>span stylecolor: #0000ff;>Outbound References/span>/h2>p>a hrefhttps://docs.microsoft.com/zh-tw/office/vba/api/Excel.Workbooks.OpenText>https://docs.microsoft.com/zh-tw/office/vba/api/Excel.Workbooks.OpenText/a>/div>/div>footer classentry-meta aria-labelEntry meta>span classcat-links>span classgp-icon icon-categories>svg viewBox0 0 512 512 aria-hiddentrue xmlnshttp://www.w3.org/2000/svg width1em height1em>path dM0 112c0-26.51 21.49-48 48-48h110.014a48 48 0 0143.592 27.907l12.349 26.791A16 16 0 00228.486 128H464c26.51 0 48 21.49 48 48v224c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V112z />/svg>/span>span classscreen-reader-text>Categories /span>a hrefhttps://access-excel.tips/category/uncategorized/ relcategory tag>Uncategorized/a>, a hrefhttps://access-excel.tips/category/excel/excel-vba/unit-6-excel-vba-methods/ relcategory tag>Unit 6 - Excel VBA Methods/a>, a hrefhttps://access-excel.tips/category/excel/excel-vba/unit-9-excel-custom-sub/ relcategory tag>Unit 9 - Excel Custom Sub Procedure/a>/span>/footer>/div>/article>article idpost-5611 classpost-5611 post type-post status-publish format-standard has-post-thumbnail hentry category-unit-9-excel-custom-sub itemtypehttps://schema.org/CreativeWork itemscope>div classinside-article>header classentry-header>h2 classentry-title itempropheadline>a hrefhttps://access-excel.tips/excel-vba-convert-text-in-columns-and-rows-into-matrix-table/ relbookmark>Excel VBA Convert Text in Columns and Rows into Matrix Table/a>/h2>div classentry-meta>span classposted-on>time classentry-date published datetime2019-05-01T17:27:18+08:00 itempropdatePublished>May 1, 2019/time>/span> span classbyline>by span classauthor vcard itempropauthor itemtypehttps://schema.org/Person itemscope>a classurl fn n hrefhttps://access-excel.tips/author/scammera1/ titleView all posts by Wyman W relauthor itempropurl>span classauthor-name itempropname>Wyman W/span>/a>/span>/span>/div>/header>div classpost-image>a hrefhttps://access-excel.tips/excel-vba-convert-text-in-columns-and-rows-into-matrix-table/>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjYzIiBoZWlnaHQ9IjI2NCIgdmlld0JveD0iMCAwIDI2MyAyNjQiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ width263 height264 data-srchttps://access-excel.tips/wp-content/uploads/2014/12/feature_excel_vba.jpg classattachment-full size-full wp-post-image alt itempropimage decodingasync loadinglazy data-srcsethttps://access-excel.tips/wp-content/uploads/2014/12/feature_excel_vba.jpg 263w, https://access-excel.tips/wp-content/uploads/2014/12/feature_excel_vba-150x150.jpg 150w data-sizesauto, (max-width: 263px) 100vw, 263px />/a>/div>div classentry-content itemproptext>div classwprt-container>This Excel VBA tutorial explains how to convert text in columns and rows into Matrix Table. The Matrix table will display text instead of aggregated numbers./p>p>You may also want to read:/p>p>a hrefhttps://access-excel.tips/access-crosstab-query/>Access Crosstab Query/a>/p>h2>span stylecolor: #0000ff;>Excel VBA Convert Text in Columns and Rows into Matrix Table/span>/h2>p>Using Excel Pivot Table, it is easy convert data into a Matrix Table with the help of Aggregate Functions such as Count, Sum, standard deviation. The information in the Matrix Table is displayed in aggregated numbers. Below is an example of a Matrix Table using aggregated function./p>p>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iODY5IiBoZWlnaHQ9IjkwIiB2aWV3Qm94PSIwIDAgODY5IDkwIj48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBzdHlsZT0iZmlsbDojY2ZkNGRiO2ZpbGwtb3BhY2l0eTogMC4xOyIvPjwvc3ZnPg loadinglazy decodingasync classalignnone size-full wp-image-4628 data-srchttps://access-excel.tips/wp-content/uploads/2016/12/Access-Crosstab-Query-04.jpg data-sizesauto, (max-width: 869px) 100vw, 869px data-srcsethttps://access-excel.tips/wp-content/uploads/2016/12/Access-Crosstab-Query-04.jpg 869w, https://access-excel.tips/wp-content/uploads/2016/12/Access-Crosstab-Query-04-300x31.jpg 300w, https://access-excel.tips/wp-content/uploads/2016/12/Access-Crosstab-Query-04-768x80.jpg 768w, https://access-excel.tips/wp-content/uploads/2016/12/Access-Crosstab-Query-04-600x62.jpg 600w alt width869 height90 />/p>p>However if you want to create a Matrix Table in which you want to display nominal data (text) instead of aggregated numbers, Pivot Table is not technically possible./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2019/05/Excel-VBA-Convert-Columns-and-Rows-into-Matrix-Table-03.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTM0MSIgaGVpZ2h0PSI3NzYiIHZpZXdCb3g9IjAgMCAxMzQxIDc3NiI+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgc3R5bGU9ImZpbGw6I2NmZDRkYjtmaWxsLW9wYWNpdHk6IDAuMTsiLz48L3N2Zz4 loadinglazy decodingasync classalignnone size-full wp-image-5617 data-srchttps://access-excel.tips/wp-content/uploads/2019/05/Excel-VBA-Convert-Columns-and-Rows-into-Matrix-Table-03.jpg alt width1341 height776 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/05/Excel-VBA-Convert-Columns-and-Rows-into-Matrix-Table-03.jpg 1341w, https://access-excel.tips/wp-content/uploads/2019/05/Excel-VBA-Convert-Columns-and-Rows-into-Matrix-Table-03-300x174.jpg 300w, https://access-excel.tips/wp-content/uploads/2019/05/Excel-VBA-Convert-Columns-and-Rows-into-Matrix-Table-03-1024x593.jpg 1024w, https://access-excel.tips/wp-content/uploads/2019/05/Excel-VBA-Convert-Columns-and-Rows-into-Matrix-Table-03-768x444.jpg 768w data-sizesauto, (max-width: 1341px) 100vw, 1341px />/a>/p>p>In this tutorial, I am going demonstrate how to convert text in columns and rows into Matrix Table to display nominal data using Excel VBA./p>h2>span stylecolor: #0000ff;>VBA Code – Convert Columns and Rows into Matrix Table/span>/h2>p>Press ALT+F11 and insert the below VBA Procedure into a Module. Note that the you probably need to customize your own code in order to fit your needs, the below Procedure is just an example to show you how it can be done./p>pre>Public Sub convertMatrix()span stylecolor: #0000ff;> assume data worksheet contains employee info, while matrix worksheet is the end result/span> For r 2 To Worksheets(data).Range(A & Rows.Count).End(xlUp).Row Name Worksheets(data).Range(A & r) dept Worksheets(data).Range(B & r) Title Worksheets(data).Range(C & r) salary Worksheets(data).Range(D & r) grade Worksheets(data).Range(E & r) span stylecolor: #0000ff;> search for department column number in the matrix table/span> For c 1 To Worksheets(matrix).Range(IV & 1).End(xlToLeft).Column If Worksheets(matrix).Cells(1, c).Value dept Then matrixCol c Exit For End If Next c span stylecolor: #0000ff;> search for grade row in the matrix table/span> For g 2 To Worksheets(matrix).Range(A & Rows.Count).End(xlUp).Row If Worksheets(matrix).Cells(g, 1) grade Then matrixRow g Exit For End If Next g span stylecolor: #0000ff;> Convert columns and rows into matrix table/span> If Worksheets(matrix).Cells(g, c).Value <> Then Worksheets(matrix).Cells(g, c).Value Worksheets(matrix).Cells(g, c).Value & vbCrLf & vbCrLf & Name & vbCrLf & Title & vbCrLf & salary Else Worksheets(matrix).Cells(g, c).Value Name & vbCrLf & Title & vbCrLf & salary End If Next rEnd Sub/pre>h2>span stylecolor: #0000ff;>Example – Convert Columns and Rows into Matrix Table/span>/h2>p>Suppose strong>data/strong> worksheet contains the employee data that you want to convert into matrix table./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2019/05/Excel-VBA-Convert-Columns-and-Rows-into-Matrix-Table-01.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNzE2IiBoZWlnaHQ9IjM0NyIgdmlld0JveD0iMCAwIDcxNiAzNDciPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone size-full wp-image-5615 data-srchttps://access-excel.tips/wp-content/uploads/2019/05/Excel-VBA-Convert-Columns-and-Rows-into-Matrix-Table-01.jpg alt width716 height347 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/05/Excel-VBA-Convert-Columns-and-Rows-into-Matrix-Table-01.jpg 716w, https://access-excel.tips/wp-content/uploads/2019/05/Excel-VBA-Convert-Columns-and-Rows-into-Matrix-Table-01-300x145.jpg 300w data-sizesauto, (max-width: 716px) 100vw, 716px />/a>/p>p>The employees highlighted in yellow are in the same department and of the same grade, I will demonstrate how it will display in the matrix table./p>p> /p>p>strong>matrix/strong> worksheet contains the layout of the matrix, where we want to put the employee data into a matrix of Department and Grade./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2019/05/Excel-VBA-Convert-Columns-and-Rows-into-Matrix-Table-02.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNjIyIiBoZWlnaHQ9IjQ5NCIgdmlld0JveD0iMCAwIDYyMiA0OTQiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone size-full wp-image-5616 data-srchttps://access-excel.tips/wp-content/uploads/2019/05/Excel-VBA-Convert-Columns-and-Rows-into-Matrix-Table-02.jpg alt width622 height494 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/05/Excel-VBA-Convert-Columns-and-Rows-into-Matrix-Table-02.jpg 622w, https://access-excel.tips/wp-content/uploads/2019/05/Excel-VBA-Convert-Columns-and-Rows-into-Matrix-Table-02-300x238.jpg 300w data-sizesauto, (max-width: 622px) 100vw, 622px />/a>/p>p> /p>p>Now execute the Procedure, employees and their info are put into the matrix table./p>p>For employee Cat and Cathy, since they are in the same department and they are of the same grade, both their info are put into Cell B4, separated by a blank row./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2019/05/Excel-VBA-Convert-Columns-and-Rows-into-Matrix-Table-03.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTM0MSIgaGVpZ2h0PSI3NzYiIHZpZXdCb3g9IjAgMCAxMzQxIDc3NiI+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgc3R5bGU9ImZpbGw6I2NmZDRkYjtmaWxsLW9wYWNpdHk6IDAuMTsiLz48L3N2Zz4 loadinglazy decodingasync classalignnone size-full wp-image-5617 data-srchttps://access-excel.tips/wp-content/uploads/2019/05/Excel-VBA-Convert-Columns-and-Rows-into-Matrix-Table-03.jpg alt width1341 height776 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/05/Excel-VBA-Convert-Columns-and-Rows-into-Matrix-Table-03.jpg 1341w, https://access-excel.tips/wp-content/uploads/2019/05/Excel-VBA-Convert-Columns-and-Rows-into-Matrix-Table-03-300x174.jpg 300w, https://access-excel.tips/wp-content/uploads/2019/05/Excel-VBA-Convert-Columns-and-Rows-into-Matrix-Table-03-1024x593.jpg 1024w, https://access-excel.tips/wp-content/uploads/2019/05/Excel-VBA-Convert-Columns-and-Rows-into-Matrix-Table-03-768x444.jpg 768w data-sizesauto, (max-width: 1341px) 100vw, 1341px />/a>/p>h2>/h2>h2>span stylecolor: #0000ff;>Outbound References/span>/h2>p>a hrefhttps://support.office.com/en-us/article/Transpose-rotate-data-from-rows-to-columns-or-vice-versa-3419F2E3-BEAB-4318-AAE5-D0F862209744>https://support.office.com/en-us/article/Transpose-rotate-data-from-rows-to-columns-or-vice-versa-3419F2E3-BEAB-4318-AAE5-D0F862209744/a>/p>p> /p>/div>/div>footer classentry-meta aria-labelEntry meta>span classcat-links>span classgp-icon icon-categories>svg viewBox0 0 512 512 aria-hiddentrue xmlnshttp://www.w3.org/2000/svg width1em height1em>path dM0 112c0-26.51 21.49-48 48-48h110.014a48 48 0 0143.592 27.907l12.349 26.791A16 16 0 00228.486 128H464c26.51 0 48 21.49 48 48v224c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V112z />/svg>/span>span classscreen-reader-text>Categories /span>a hrefhttps://access-excel.tips/category/excel/excel-vba/unit-9-excel-custom-sub/ relcategory tag>Unit 9 - Excel Custom Sub Procedure/a>/span>/footer>/div>/article>article idpost-5577 classpost-5577 post type-post status-publish format-standard has-post-thumbnail hentry category-unit-9-excel-custom-sub itemtypehttps://schema.org/CreativeWork itemscope>div classinside-article>header classentry-header>h2 classentry-title itempropheadline>a hrefhttps://access-excel.tips/search-text-in-multiple-workbooks/ relbookmark>Excel VBA search text in multiple Workbooks in folder/a>/h2>div classentry-meta>span classposted-on>time classentry-date published datetime2019-04-28T23:34:12+08:00 itempropdatePublished>April 28, 2019/time>/span> span classbyline>by span classauthor vcard itempropauthor itemtypehttps://schema.org/Person itemscope>a classurl fn n hrefhttps://access-excel.tips/author/scammera1/ titleView all posts by Wyman W relauthor itempropurl>span classauthor-name itempropname>Wyman W/span>/a>/span>/span>/div>/header>div classpost-image>a hrefhttps://access-excel.tips/search-text-in-multiple-workbooks/>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjYzIiBoZWlnaHQ9IjI2NCIgdmlld0JveD0iMCAwIDI2MyAyNjQiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ width263 height264 data-srchttps://access-excel.tips/wp-content/uploads/2014/12/feature_excel_vba.jpg classattachment-full size-full wp-post-image alt itempropimage decodingasync loadinglazy data-srcsethttps://access-excel.tips/wp-content/uploads/2014/12/feature_excel_vba.jpg 263w, https://access-excel.tips/wp-content/uploads/2014/12/feature_excel_vba-150x150.jpg 150w data-sizesauto, (max-width: 263px) 100vw, 263px />/a>/div>div classentry-content itemproptext>div classwprt-container>This Excel VBA tutorial explains how to search text in multiple Workbooks in a folder and subfolders, and display the result in a summary page, including which workbook, which worksheet, and which Cell contains the text./p>p>You may also want to read:/p>p>a hrefhttps://access-excel.tips/excel-instr-function-vba/>Excel VBA INSTR Function/a>/p>p>a hrefhttps://access-excel.tips/excel-loop-workbooks-folder-subfolder/>Excel loop workbooks in folders and subfolders with FSO/a>/p>h2>span stylecolor: #0000ff;>Excel VBA search text in multiple Workbooks in folderbr />/span>/h2>p>Suppose you have multiple workbooks in a folder, and you want to know if any workbook contains a text you want to look for. The easiest way to do this is to press Ctrl + F in the folder you want to search for the text, then the search result will display./p>p>However this method does not always work for different reasons. If it doesn’t work, then you need to look for an alternate approach. In this post, I will demonstrate how to use Excel VBA to search text in multiple workbooks in a folder and subfolders, and display the result in a summary page, including which workbook, which worksheet, and which Cell contains the text./p>h2>span stylecolor: #0000ff;>VBA Code – search text in multiple Workbooks in folderbr />/span>/h2>p>Create a new workbook, press ALT+F11 and insert the below code in a Module. Do not save this workbook in the folder which you want to search the text./p>pre>Public Sub searchText() Dim FSO As Object Dim folder As Object, subfolder As Object Dim wb As Object Dim ws As Worksheet searchList Arrayspan stylecolor: #ff0000;>(orange, apple, pear)/span> span stylecolor: #0000ff;>define the list of text you want to search, case insensitive/span> Set FSO CreateObject(Scripting.FileSystemObject) folderPath span stylecolor: #ff0000;>C:\test/span> span stylecolor: #0000ff;>define the path of the folder that contains the workbooks/span> Set folder FSO.GetFolder(folderPath) Dim thisWbWs, newWS As Worksheet span stylecolor: #0000ff;> Create summary worksheet if not exist/span> For Each thisWbWs In ActiveWorkbook.Worksheets If wsExists(summary) Then counter 1 End If Next thisWbWs If counter 0 Then Set newWS ThisWorkbook.Worksheets.Add(After:Worksheets(Worksheets.Count)) With newWS .Name summary .Range(A1).Value Target Keyword .Range(B1).Value Workbook .Range(C1).Value Worksheet .Range(D1).Value Address .Range(E1).Value Cell Value End With End If With Application .DisplayAlerts False .ScreenUpdating False .EnableEvents False .AskToUpdateLinks False End With span stylecolor: #0000ff;> Check each workbook in main folder/span> For Each wb In folder.Files If Right(wb.Name, 3) xls Or Right(wb.Name, 4) xlsx Or Right(wb.Name, 4) xlsm Then Set masterWB Workbooks.Open(wb) For Each ws In masterWB.Worksheets For Each Rng In ws.UsedRange For Each i In searchList If InStr(1, Rng.Value, i, vbTextCompare) > 0 Then span stylecolor: #0000ff;>vbTextCompare means case insensitive./span> nextRow ThisWorkbook.Sheets(summary).Range(A & Rows.Count).End(xlUp).Row + 1 With ThisWorkbook.Sheets(summary) .Range(A & nextRow).Value i .Range(B & nextRow).Value Application.ActiveWorkbook.FullName .Range(C & nextRow).Value ws.Name .Range(D & nextRow).Value Rng.Address .Range(E & nextRow).Value Rng.Value End With End If Next i Next Rng Next ws ActiveWorkbook.Close True End If Next span stylecolor: #0000ff;> Check each workbook in sub folders/span> For Each subfolder In folder.SubFolders For Each wb In subfolder.Files If Right(wb.Name, 3) xls Or Right(wb.Name, 4) xlsx Or Right(wb.Name, 4) xlsm Then Set masterWB Workbooks.Open(wb) For Each ws In masterWB.Worksheets For Each Rng In ws.UsedRange For Each i In searchList If InStr(1, Rng.Value, i, vbTextCompare) > 0 Then nextRow ThisWorkbook.Sheets(summary).Range(A & Rows.Count).End(xlUp).Row + 1 With ThisWorkbook.Sheets(summary) .Range(A & nextRow).Value i .Range(B & nextRow).Value Application.ActiveWorkbook.FullName .Range(C & nextRow).Value ws.Name .Range(D & nextRow).Value Rng.Address .Range(E & nextRow).Value Rng.Value End With End If Next i Next Rng Next ws ActiveWorkbook.Close True End If Next Next With Application .DisplayAlerts True .ScreenUpdating True .EnableEvents True .AskToUpdateLinks True End With ThisWorkbook.Sheets(summary).Cells.Select ThisWorkbook.Sheets(summary).Cells.EntireColumn.AutoFit ThisWorkbook.Sheets(summary).Range(A1).Select End SubFunction wsExists(wksName As String) As Boolean On Error Resume Next wsExists CBool(Len(Worksheets(wksName).Name) > 0) On Error GoTo 0End Function/pre>h2>span stylecolor: #0000ff;>Enable Microsoft Scripting Runtimebr />/span>/h2>p>a hrefhttps://docs.microsoft.com/en-us/office/vba/language/reference/user-interface-help/filesystemobject-object>FileSystemObject (FSO/a>) provides an API to access the Windows filesystem such as accessing Drive, TextStram, Folder, File./p>p>You should be able to run FSO in Excel 2013. If you fail to run FSO Object, open VBE (ALT+F11) > Tools > References > Check the box strong>Microsoft Scripting Runtine/strong>/p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2015/05/loop_through_workbook.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNDU5IiBoZWlnaHQ9IjM3MCIgdmlld0JveD0iMCAwIDQ1OSAzNzAiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone size-full wp-image-2351 data-srchttps://access-excel.tips/wp-content/uploads/2015/05/loop_through_workbook.jpg data-sizesauto, (max-width: 459px) 100vw, 459px data-srcsethttps://access-excel.tips/wp-content/uploads/2015/05/loop_through_workbook.jpg 459w, https://access-excel.tips/wp-content/uploads/2015/05/loop_through_workbook-300x242.jpg 300w altloop_through_workbook width459 height370 />/a>/p>h2>span stylecolor: #0000ff;>Example – search text in multiple Workbooks in folderbr />/span>/h2>p>Suppose I want to search text “orange”, “apple”, “pear” in all workbooks under c:\test\, plus workbooks in span stylecolor: #ff0000;>one level down/span> span stylecolor: #ff0000;>subfolders/span> under c:\test\/p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2019/04/Excel-VBA-search-text-in-multiple-Workbooks-01.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNTQyIiBoZWlnaHQ9IjM2NiIgdmlld0JveD0iMCAwIDU0MiAzNjYiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone size-full wp-image-5604 data-srchttps://access-excel.tips/wp-content/uploads/2019/04/Excel-VBA-search-text-in-multiple-Workbooks-01.jpg alt width542 height366 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/04/Excel-VBA-search-text-in-multiple-Workbooks-01.jpg 542w, https://access-excel.tips/wp-content/uploads/2019/04/Excel-VBA-search-text-in-multiple-Workbooks-01-300x203.jpg 300w data-sizesauto, (max-width: 542px) 100vw, 542px />/a>/p>p>I want to return search result even though the search text is a partial text in a Cell./p>p>For example, if Cell A1 value of a workbook is “Orange Juice”, I still want to return the result because it contains “orange”./p>p>Then create a new workbook that contains the VBA code, change the parameters that highlighted in red. Run the Procedure./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2019/04/Excel-VBA-search-text-in-multiple-Workbooks-02.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iODI4IiBoZWlnaHQ9IjUyMSIgdmlld0JveD0iMCAwIDgyOCA1MjEiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone size-full wp-image-5605 data-srchttps://access-excel.tips/wp-content/uploads/2019/04/Excel-VBA-search-text-in-multiple-Workbooks-02.jpg alt width828 height521 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/04/Excel-VBA-search-text-in-multiple-Workbooks-02.jpg 828w, https://access-excel.tips/wp-content/uploads/2019/04/Excel-VBA-search-text-in-multiple-Workbooks-02-300x189.jpg 300w, https://access-excel.tips/wp-content/uploads/2019/04/Excel-VBA-search-text-in-multiple-Workbooks-02-768x483.jpg 768w data-sizesauto, (max-width: 828px) 100vw, 828px />/a>/p>p>A summary worksheet is created, all the workbooks that contains “apple”, “orange” and “pear” will appear in the summary./p>p> /p>/div>/div>footer classentry-meta aria-labelEntry meta>span classcat-links>span classgp-icon icon-categories>svg viewBox0 0 512 512 aria-hiddentrue xmlnshttp://www.w3.org/2000/svg width1em height1em>path dM0 112c0-26.51 21.49-48 48-48h110.014a48 48 0 0143.592 27.907l12.349 26.791A16 16 0 00228.486 128H464c26.51 0 48 21.49 48 48v224c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V112z />/svg>/span>span classscreen-reader-text>Categories /span>a hrefhttps://access-excel.tips/category/excel/excel-vba/unit-9-excel-custom-sub/ relcategory tag>Unit 9 - Excel Custom Sub Procedure/a>/span>/footer>/div>/article>article idpost-5579 classpost-5579 post type-post status-publish format-standard has-post-thumbnail hentry category-access-query itemtypehttps://schema.org/CreativeWork itemscope>div classinside-article>header classentry-header>h2 classentry-title itempropheadline>a hrefhttps://access-excel.tips/select-the-first-record-each-group-using-first-function/ relbookmark>MS Access select the first record of each group using First Function/a>/h2>div classentry-meta>span classposted-on>time classentry-date published datetime2019-04-06T03:15:34+08:00 itempropdatePublished>April 6, 2019/time>/span> span classbyline>by span classauthor vcard itempropauthor itemtypehttps://schema.org/Person itemscope>a classurl fn n hrefhttps://access-excel.tips/author/scammera1/ titleView all posts by Wyman W relauthor itempropurl>span classauthor-name itempropname>Wyman W/span>/a>/span>/span>/div>/header>div classpost-image>a hrefhttps://access-excel.tips/select-the-first-record-each-group-using-first-function/>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjU2IiBoZWlnaHQ9IjI1NiIgdmlld0JveD0iMCAwIDI1NiAyNTYiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ width256 height256 data-srchttps://access-excel.tips/wp-content/uploads/2014/12/frature_access.jpg classattachment-full size-full wp-post-image alt itempropimage decodingasync loadinglazy data-srcsethttps://access-excel.tips/wp-content/uploads/2014/12/frature_access.jpg 256w, https://access-excel.tips/wp-content/uploads/2014/12/frature_access-150x150.jpg 150w data-sizesauto, (max-width: 256px) 100vw, 256px />/a>/div>div classentry-content itemproptext>div classwprt-container>This MS Access tutorial explains how to select the first record of each group using First Function./p>h2>span stylecolor: #0000ff;>MS Access select the first record of each group/span>/h2>p>When I create human resources report, I have always come across a situation where one employee has more than one records. For example, I want to create a staff list where one employee only has one row of record. If I add emergency contact field to the report and if an employee has more than one emergency contacts, then the Query will return one employees with multi-rows of record as below./p>table border1 cellspacing0 bgcolor#ffffff>thead>tr>th bgcolor#c0c0c0>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>Student ID/span>/th>th bgcolor#c0c0c0>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>Name/span>/th>th bgcolor#c0c0c0>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>Emergency Contact/span>/th>/tr>/thead>tbody>tr valignTOP>td alignRIGHT>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>1/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>Apple/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>Mary/span>/td>/tr>tr valignTOP>td alignRIGHT>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>1/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>Apple/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>John/span>/td>/tr>tr valignTOP>td alignRIGHT>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>2/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>Banana/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>Patrick/span>/td>/tr>tr valignTOP>td alignRIGHT>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>2/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>Banana/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>Queenie/span>/td>/tr>tr valignTOP>td alignRIGHT>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>3/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>Cat/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>Anthony/span>/td>/tr>/tbody>tfoot>/tfoot>/table>p> /p>p>In order to avoid multiple records of each EE, we have to extract the first record of Emergency Contact for each employee as shown below./p>table border1 cellspacing0 bgcolor#ffffff>thead>tr>th bgcolor#c0c0c0>Student ID/th>th bgcolor#c0c0c0>Name/th>th bgcolor#c0c0c0>Emergency Contact/th>/tr>/thead>tbody>tr valignTOP>td alignRIGHT>1/td>td>Apple/td>td>Mary/td>/tr>tr valignTOP>td alignRIGHT>2/td>td>Banana/td>td>Patrick/td>/tr>tr valignTOP>td alignRIGHT>3/td>td>Cat/td>td>Anthony/td>/tr>/tbody>tfoot>/tfoot>/table>p>Although it is not ideal as the other Emergency Contact is lost in the staff list, it is still the best workaround we can have./p>p>In this post, I will demonstrate how to do it in MS Access./p>h2>span stylecolor: #0000ff;>MS Access select the first record of each group – span stylecolor: #ff0000;>using First Function/span>br />/span>/h2>p>First of all, Group by Student ID and Name (Home > totals icon), then in the Emergency Contact, select aggregate functiona hrefhttps://support.office.com/en-ie/article/first-last-functions-acd76019-c37f-432d-9807-4fc63cac1db5> strong>First/strong>/a>, it means after the data is grouped by Student ID, Name, the first record of each group is returned./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2019/04/MS-Access-select-the-first-record-of-each-group-using-First-Function-01.png>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzMwIiBoZWlnaHQ9IjQ0NSIgdmlld0JveD0iMCAwIDMzMCA0NDUiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone size-full wp-image-5581 data-srchttps://access-excel.tips/wp-content/uploads/2019/04/MS-Access-select-the-first-record-of-each-group-using-First-Function-01.png alt width330 height445 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/04/MS-Access-select-the-first-record-of-each-group-using-First-Function-01.png 330w, https://access-excel.tips/wp-content/uploads/2019/04/MS-Access-select-the-first-record-of-each-group-using-First-Function-01-222x300.png 222w data-sizesauto, (max-width: 330px) 100vw, 330px />/a>/p>p> /p>p>Then we get the below result./p>table border1 cellspacing0 bgcolor#ffffff>thead>tr>th bgcolor#c0c0c0>Student ID/th>th bgcolor#c0c0c0>Name/th>th bgcolor#c0c0c0>Emergency Contact/th>/tr>/thead>tbody>tr valignTOP>td alignRIGHT>1/td>td>Apple/td>td>Mary/td>/tr>tr valignTOP>td alignRIGHT>2/td>td>Banana/td>td>Patrick/td>/tr>tr valignTOP>td alignRIGHT>3/td>td>Cat/td>td>Anthony/td>/tr>/tbody>/table>p>If you want to apply sorting before selecting the first record, you should create another Query in advance to sort Student ID and Emergency Contact, then the first Emergency Contact changed./p>p> /p>p>There is also another Function called Last, which select the last record of each group./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2019/04/MS-Access-select-the-first-record-of-each-group-using-First-Function-02.png>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzE4IiBoZWlnaHQ9IjQ0NiIgdmlld0JveD0iMCAwIDMxOCA0NDYiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone size-full wp-image-5582 data-srchttps://access-excel.tips/wp-content/uploads/2019/04/MS-Access-select-the-first-record-of-each-group-using-First-Function-02.png alt width318 height446 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/04/MS-Access-select-the-first-record-of-each-group-using-First-Function-02.png 318w, https://access-excel.tips/wp-content/uploads/2019/04/MS-Access-select-the-first-record-of-each-group-using-First-Function-02-214x300.png 214w data-sizesauto, (max-width: 318px) 100vw, 318px />/a>/p>p> /p>p>Result/p>table border1 cellspacing0 bgcolor#ffffff>thead>tr>th bgcolor#c0c0c0>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>Student ID/span>/th>th bgcolor#c0c0c0>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>Name/span>/th>th bgcolor#c0c0c0>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>Emergency ContactOfLast/span>/th>/tr>/thead>tbody>tr valignTOP>td alignRIGHT>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>1/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>Apple/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>John/span>/td>/tr>tr valignTOP>td alignRIGHT>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>2/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>Banana/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>Queenie/span>/td>/tr>tr valignTOP>td alignRIGHT>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>3/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>Cat/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: Calibri;>Anthony/span>/td>/tr>/tbody>tfoot>/tfoot>/table>p>Instead of applying First and Last, you may also consider Min and Max Function. When applying Min and Max, the texts are compared in the same way as sorting text in Excel./p>h2>span stylecolor: #0000ff;>Outbound strong>References/strong>/span>/h2>p>a hrefhttps://support.office.com/en-ie/article/first-last-functions-acd76019-c37f-432d-9807-4fc63cac1db5>https://support.office.com/en-ie/article/first-last-functions-acd76019-c37f-432d-9807-4fc63cac1db5/a>/div>/div>footer classentry-meta aria-labelEntry meta>span classcat-links>span classgp-icon icon-categories>svg viewBox0 0 512 512 aria-hiddentrue xmlnshttp://www.w3.org/2000/svg width1em height1em>path dM0 112c0-26.51 21.49-48 48-48h110.014a48 48 0 0143.592 27.907l12.349 26.791A16 16 0 00228.486 128H464c26.51 0 48 21.49 48 48v224c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V112z />/svg>/span>span classscreen-reader-text>Categories /span>a hrefhttps://access-excel.tips/category/access/access-query/ relcategory tag>Chapter 5 - Access Query/a>/span>/footer>/div>/article>article idpost-5559 classpost-5559 post type-post status-publish format-standard has-post-thumbnail hentry category-excel-basics category-date itemtypehttps://schema.org/CreativeWork itemscope>div classinside-article>header classentry-header>h2 classentry-title itempropheadline>a hrefhttps://access-excel.tips/how-to-change-default-excel-date-format/ relbookmark>How to Change Default Excel Date Format (such as MMDD to DDMM)/a>/h2>div classentry-meta>span classposted-on>time classentry-date published datetime2019-04-02T01:23:44+08:00 itempropdatePublished>April 2, 2019/time>/span> span classbyline>by span classauthor vcard itempropauthor itemtypehttps://schema.org/Person itemscope>a classurl fn n hrefhttps://access-excel.tips/author/scammera1/ titleView all posts by Wyman W relauthor itempropurl>span classauthor-name itempropname>Wyman W/span>/a>/span>/span>/div>/header>div classpost-image>a hrefhttps://access-excel.tips/how-to-change-default-excel-date-format/>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgdmlld0JveD0iMCAwIDIwMCAyMDAiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ width200 height200 data-srchttps://access-excel.tips/wp-content/uploads/2014/12/feature_excel-e1496498521642.png classattachment-full size-full wp-post-image alt itempropimage decodingasync loadinglazy data-srcsethttps://access-excel.tips/wp-content/uploads/2014/12/feature_excel-e1496498521642.png 200w, https://access-excel.tips/wp-content/uploads/2014/12/feature_excel-e1496498521642-150x150.png 150w data-sizesauto, (max-width: 200px) 100vw, 200px />/a>/div>div classentry-content itemproptext>div classwprt-container>This Excel tutorial explains how to change default Excel Date Format from strong>Change Date and Time Format/strong> in Control Panel./p>h2>span stylecolor: #0000ff;>How to Change Default Excel Date Format/span>/h2>p>In the country I live, we normally use date format dd/mm/yyyy. However whenever I work for the US company, the system defaults to mm/dd/yyyy. This is annoying and it causes Excel error. For example, if I mistakenly type UK format 31/12/2019, the date will be recognized as a text because there is no such month as 31. It is even risky if you don’t see this error as you are not aware that you have mistakenly input a wrong date. Although you can simply use a hrefhttps://support.office.com/en-gb/article/text-function-20d5ac4d-7b94-49fd-bb38-93d29371225c>Text Function /a>to change the date format, it is just a one time solution and it does not address the issue every time you create a new Workbook./p>p>This tutorial will explain how to change default Excel date format from Windows setting. The change does not just apply to Excel but all the related Windows environment. Note that if you are not a Windows administrator, you may not be able to make this change./p>h2>span stylecolor: #0000ff;>Example – Change Default Excel Date Format in Control Panelbr />/span>/h2>p>Suppose we want to change default Excel date format from strong>dd/mm/yyyy/strong> to strong>mm/dd/yyyy/strong>./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2019/04/How-to-Change-Default-Excel-Date-Format-01.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjg1IiBoZWlnaHQ9IjE5NyIgdmlld0JveD0iMCAwIDI4NSAxOTciPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone size-full wp-image-5564 data-srchttps://access-excel.tips/wp-content/uploads/2019/04/How-to-Change-Default-Excel-Date-Format-01.jpg alt width285 height197 />/a>/p>p> /p>p>In Windows 10, navigate to strong>Control Panel/strong> > strong>Date and Time/strong> > strong>Change Date and Time Format/strong>/p>p>Even if you are using older versions of Windows, the navigation maybe a little bit different, you can still find this option./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2019/04/How-to-Change-Default-Excel-Date-Format-05.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNjA1IiBoZWlnaHQ9IjQwNiIgdmlld0JveD0iMCAwIDYwNSA0MDYiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone wp-image-5569 data-srchttps://access-excel.tips/wp-content/uploads/2019/04/How-to-Change-Default-Excel-Date-Format-05.jpg alt width605 height406 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/04/How-to-Change-Default-Excel-Date-Format-05.jpg 1066w, https://access-excel.tips/wp-content/uploads/2019/04/How-to-Change-Default-Excel-Date-Format-05-300x202.jpg 300w, https://access-excel.tips/wp-content/uploads/2019/04/How-to-Change-Default-Excel-Date-Format-05-1024x688.jpg 1024w, https://access-excel.tips/wp-content/uploads/2019/04/How-to-Change-Default-Excel-Date-Format-05-768x516.jpg 768w data-sizesauto, (max-width: 605px) 100vw, 605px />/a>/p>p> /p>p>The strong>Short Date format/strong> is currently displaying dd/MM/YYYY, now change to MM/dd/yyyy./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2019/04/How-to-Change-Default-Excel-Date-Format-06.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzMzIiBoZWlnaHQ9IjM3MyIgdmlld0JveD0iMCAwIDMzMyAzNzMiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone wp-image-5570 data-srchttps://access-excel.tips/wp-content/uploads/2019/04/How-to-Change-Default-Excel-Date-Format-06.jpg alt width333 height373 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/04/How-to-Change-Default-Excel-Date-Format-06.jpg 488w, https://access-excel.tips/wp-content/uploads/2019/04/How-to-Change-Default-Excel-Date-Format-06-268x300.jpg 268w data-sizesauto, (max-width: 333px) 100vw, 333px />/a>/p>p> /p>p>Go back to Excel spreadsheet, the value in column A automatically changed./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2019/04/How-to-Change-Default-Excel-Date-Format-04.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjUzIiBoZWlnaHQ9IjE5NiIgdmlld0JveD0iMCAwIDI1MyAxOTYiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone size-full wp-image-5567 data-srchttps://access-excel.tips/wp-content/uploads/2019/04/How-to-Change-Default-Excel-Date-Format-04.jpg alt width253 height196 />/a>/p>p>This makes complete sense because if the date format doesn’t change, all your existing workbooks will be messed up./p>h2>span stylecolor: #0000ff;>Outbound References/span>/h2>p>a hrefhttps://support.office.com/en-gb/article/text-function-20d5ac4d-7b94-49fd-bb38-93d29371225c>https://support.office.com/en-gb/article/text-function-20d5ac4d-7b94-49fd-bb38-93d29371225c/a>/div>/div>footer classentry-meta aria-labelEntry meta>span classcat-links>span classgp-icon icon-categories>svg viewBox0 0 512 512 aria-hiddentrue xmlnshttp://www.w3.org/2000/svg width1em height1em>path dM0 112c0-26.51 21.49-48 48-48h110.014a48 48 0 0143.592 27.907l12.349 26.791A16 16 0 00228.486 128H464c26.51 0 48 21.49 48 48v224c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V112z />/svg>/span>span classscreen-reader-text>Categories /span>a hrefhttps://access-excel.tips/category/excel/excel-basics/ relcategory tag>Chapter 2 - Excel Basics/a>, a hrefhttps://access-excel.tips/category/excel/by-excel-topic/date/ relcategory tag>Date / Time/a>/span>/footer>/div>/article>article idpost-5538 classpost-5538 post type-post status-publish format-standard has-post-thumbnail hentry category-pivot-table itemtypehttps://schema.org/CreativeWork itemscope>div classinside-article>header classentry-header>h2 classentry-title itempropheadline>a hrefhttps://access-excel.tips/group-dates-ungroup-month-excel-pivot-table/ relbookmark>Group Date and Ungroup Month in Excel Pivot Table/a>/h2>div classentry-meta>span classposted-on>time classentry-date published datetime2019-03-31T23:45:35+08:00 itempropdatePublished>March 31, 2019/time>/span> span classbyline>by span classauthor vcard itempropauthor itemtypehttps://schema.org/Person itemscope>a classurl fn n hrefhttps://access-excel.tips/author/scammera1/ titleView all posts by Wyman W relauthor itempropurl>span classauthor-name itempropname>Wyman W/span>/a>/span>/span>/div>/header>div classpost-image>a hrefhttps://access-excel.tips/group-dates-ungroup-month-excel-pivot-table/>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgdmlld0JveD0iMCAwIDIwMCAyMDAiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ width200 height200 data-srchttps://access-excel.tips/wp-content/uploads/2014/12/feature_excel-e1496498521642.png classattachment-full size-full wp-post-image alt itempropimage decodingasync loadinglazy data-srcsethttps://access-excel.tips/wp-content/uploads/2014/12/feature_excel-e1496498521642.png 200w, https://access-excel.tips/wp-content/uploads/2014/12/feature_excel-e1496498521642-150x150.png 150w data-sizesauto, (max-width: 200px) 100vw, 200px />/a>/div>div classentry-content itemproptext>div classwprt-container>This Excel tutorial explains how to group dates and ungroup month in Excel Pivot Table to prevent auto grouping of Pivot Table in Excel 2016./p>h2>span stylecolor: #0000ff;>Group Date and Ungroup Month in Excel Pivot Table/span>/h2>p>Since Excel 2016, when you drag a date field to a Pivot Table Pivot Table Row, the dates are automatically grouped by months instead of showing each date. This is extremely annoying because it is tricky to ungroup the months if it is the first time you encounter this issue./p>p>In this post I am going to explain how to ungroup month in Excel Pivot Table and how to group dates by year or month./p>p>Note that there is an Excel Option called strong>Group dates in the AutoFilter Menu /strong>in Excel option, it does not work for Pivot Table Row Grouping. This option is for normal Auto Filter, not Pivot Table, so don’t get confused./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-01.png>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNTUwIiBoZWlnaHQ9IjMxNSIgdmlld0JveD0iMCAwIDU1MCAzMTUiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone size-full wp-image-5551 data-srchttps://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-01.png alt width550 height315 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-01.png 550w, https://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-01-300x172.png 300w data-sizesauto, (max-width: 550px) 100vw, 550px />/a>/p>h2>span stylecolor: #0000ff;>Ungroup Month in Excel Pivot Table/span>/h2>p>Suppose we have a data source which are dates from 2019 to 2021./p>p> /p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-03.png>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTAyIiBoZWlnaHQ9IjMyOCIgdmlld0JveD0iMCAwIDEwMiAzMjgiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone size-full wp-image-5556 data-srchttps://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-03.png alt width102 height328 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-03.png 102w, https://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-03-93x300.png 93w data-sizesauto, (max-width: 102px) 100vw, 102px />/a>/p>p>Insert a Pivot Table, and then drag the date field to Rows,the dates are automatically grouped by Year, Quarter and Month by default./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-02.png>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTg2IiBoZWlnaHQ9IjMwMCIgdmlld0JveD0iMCAwIDE4NiAzMDAiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone size-full wp-image-5557 data-srchttps://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-02.png alt width186 height300 />/a>/p>p>In order to display the original dates without grouping, right click on the data, select Group./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-04.png>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjU0IiBoZWlnaHQ9IjMxNyIgdmlld0JveD0iMCAwIDI1NCAzMTciPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone size-full wp-image-5555 data-srchttps://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-04.png alt width254 height317 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-04.png 254w, https://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-04-240x300.png 240w data-sizesauto, (max-width: 254px) 100vw, 254px />/a>/p>p>In the dates Grouping options, you can redefine how you want to group the dates. To display the original dates on each row, highlight Days then OK./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-05.png>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjMzIiBoZWlnaHQ9IjMwNSIgdmlld0JveD0iMCAwIDIzMyAzMDUiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone size-full wp-image-5554 data-srchttps://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-05.png alt width233 height305 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-05.png 233w, https://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-05-229x300.png 229w data-sizesauto, (max-width: 233px) 100vw, 233px />/a>/p>p>Now the months are ungrouped and are displayed on each row./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-06.png>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTMxIiBoZWlnaHQ9IjM4NCIgdmlld0JveD0iMCAwIDEzMSAzODQiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone size-full wp-image-5553 data-srchttps://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-06.png alt width131 height384 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-06.png 131w, https://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-06-102x300.png 102w data-sizesauto, (max-width: 131px) 100vw, 131px />/a>/p>p>Alternatively, you can simply right click on the date, then select Ungroup. this will ungroup every grouping./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-07.png>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjY3IiBoZWlnaHQ9IjM0NyIgdmlld0JveD0iMCAwIDI2NyAzNDciPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone size-full wp-image-5552 data-srchttps://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-07.png alt width267 height347 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-07.png 267w, https://access-excel.tips/wp-content/uploads/2019/03/Group-Date-and-Ungroup-Month-in-Excel-Pivot-Table-07-231x300.png 231w data-sizesauto, (max-width: 267px) 100vw, 267px />/a>/p>h2>span stylecolor: #0000ff;>Outbound References/span>/h2>p>a hrefhttps://t.umblr.com/redirect?zhttps%3A%2F%2Fsupport.office.com%2Fen-gb%2Farticle%2Fgroup-or-ungroup-data-in-a-pivottable-c9d1ddd0-6580-47d1-82bc-c84a5a340725&tMzA2YzhiYjhlNmM3OThmZjNlMDY2NjBjY2IxM2U0YmEzZWQ5ZjI0NyxrTlh3SzBEeg%3D%3D&bt%3A1jsF_tEpeVPlDIPf6PLJVw&phttps%3A%2F%2Faccess-excel-tip.tumblr.com%2Fpost%2F183654864100%2Fnew-post-has-been-published-on-access-exceltips&m1>https://support.office.com/en-gb/article/group-or-ungroup-data-in-a-pivottable-c9d1ddd0-6580-47d1-82bc-c84a5a340725/a>/div>/div>footer classentry-meta aria-labelEntry meta>span classcat-links>span classgp-icon icon-categories>svg viewBox0 0 512 512 aria-hiddentrue xmlnshttp://www.w3.org/2000/svg width1em height1em>path dM0 112c0-26.51 21.49-48 48-48h110.014a48 48 0 0143.592 27.907l12.349 26.791A16 16 0 00228.486 128H464c26.51 0 48 21.49 48 48v224c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V112z />/svg>/span>span classscreen-reader-text>Categories /span>a hrefhttps://access-excel.tips/category/excel/pivot-table/ relcategory tag>Chapter 5 - Pivot Table/a>/span>/footer>/div>/article>article idpost-5541 classpost-5541 post type-post status-publish format-standard has-post-thumbnail hentry category-excel-basics itemtypehttps://schema.org/CreativeWork itemscope>div classinside-article>header classentry-header>h2 classentry-title itempropheadline>a hrefhttps://access-excel.tips/how-to-convert-excel-to-pdf/ relbookmark>How to convert Excel to PDF/a>/h2>div classentry-meta>span classposted-on>time classupdated datetime2019-04-01T22:13:47+08:00 itempropdateModified>April 1, 2019/time>time classentry-date published datetime2019-03-31T21:32:13+08:00 itempropdatePublished>March 31, 2019/time>/span> span classbyline>by span classauthor vcard itempropauthor itemtypehttps://schema.org/Person itemscope>a classurl fn n hrefhttps://access-excel.tips/author/scammera1/ titleView all posts by Wyman W relauthor itempropurl>span classauthor-name itempropname>Wyman W/span>/a>/span>/span>/div>/header>div classpost-image>a hrefhttps://access-excel.tips/how-to-convert-excel-to-pdf/>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgdmlld0JveD0iMCAwIDIwMCAyMDAiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ width200 height200 data-srchttps://access-excel.tips/wp-content/uploads/2014/12/feature_excel-e1496498521642.png classattachment-full size-full wp-post-image alt itempropimage decodingasync loadinglazy data-srcsethttps://access-excel.tips/wp-content/uploads/2014/12/feature_excel-e1496498521642.png 200w, https://access-excel.tips/wp-content/uploads/2014/12/feature_excel-e1496498521642-150x150.png 150w data-sizesauto, (max-width: 200px) 100vw, 200px />/a>/div>div classentry-content itemproptext>div classwprt-container>This Excel tutorial explains how to export Excel to PDF in Microsoft Excel and convert Excel to PDF using different online tools./p>h2>span stylecolor: #0000ff;>How to convert Excel to PDF/span>/h2>p>Excel spreadsheets are widely being used in today’s world in order to manage data. The ability to organize data effectively has contributed a lot towards the popularity of the Excel files. However, the Excel files are not portable and it is not the best method available for you to send out a document. That’s because there is a possibility for the recipient to edit the Excel file. The formatting that you have on the Excel file can also get changed when you are sending it to someone. That’s where you will come across the requirement to convert Excel to PDF./p>p>When you want to convert Excel to PDF, you are provided with a variety of options to consider. It is up to you to go through these options and select the best one out of them. Then you will be able to get an enhanced experience at the end of the day. In fact, you can easily overcome the hassle and pain that is linked with getting the Excel files converted to PDF./p>p>Here is a list of 3 of the best tools, which are available for you to convert Excel to PDF. You can take a look at these tools and settle down with the best option out of them./p>h2>span stylecolor: #0000ff;>Onlineconvertfree.com/span>/h2>p>a hrefhttps://onlineconvertfree.com/convert-format/xls-to-pdf/>Onlineconvertfree.com/a> can be considered as one of the most impressive and innovative tools available for you to convert Excel to PDF. You will be able to get an enhanced experience out of this tool. However, you need to understand that the primary functionality of this tool is not to help you convert Excel to PDF. Instead, it can be considered as a versatile and an all-around converter. You will be able to convert any kind of a file to a supported file format with the assistance that you are getting from a hrefhttps://onlineconvertfree.com/convert-format/xls-to-pdf/>onlineconvertfree.com/a>./p>p>The simplicity of a hrefhttps://onlineconvertfree.com/convert-format/xls-to-pdf/>onlineconvertfree.com/a>, which you can experience at the time of converting Excel files to PDF files is impressive. You will love the overall conversion process and how it will be able to deliver quick results to you. a hrefhttps://onlineconvertfree.com/convert-format/xls-to-pdf/>Onlineconvertfree.com/a> has got a simple and easy to use interface. You can easily upload the raw files that you have into this file converter. Then you will be able to select the output file format. For example, if you upload an Excel file, you can select the output file format as PDF. Then you will be able to get the file converted with minimum hassle. The Excel to PDF conversion process is instant as well and you will be able to end up with outstanding results at the end of the day./p>h2>span stylecolor: #0000ff;>Nova PDF/span>/h2>p>Nova PDF can be considered as an addon, which you can download to Excel. You can easily integrate this add-on with Excel and then proceed with the file conversion. It is compatible with all the applications that come under Microsoft Office package, including Microsoft Excel and Microsoft PowerPoint. On the other hand, users are provided with the opportunity to create PDF files directly from the Microsoft Excel interface. This can provide a smooth experience./p>p>Once you have configured Nova PDF with Microsoft Excel, which you have installed on your computer, you will be able to see that as a new menu item. You can visit the menu and then click on the option named as “Save As PDF”. Then you will be able to initiate the PDF conversion. The Excel workbook will immediately be converted into a PDF as well and you will be able to experience a smooth conversion. Hence, it is a great option that you can consider./p>h2>span stylecolor: #0000ff;>Export Excel to PDF in Microsoft Excelbr />/span>/h2>p>Without downloading and configuring any other tool with Microsoft Excel, you are able to get the PDF conversions done as well./p>p>In Excel, navigate to File > Save As, in the strong>Save As Type/strong>, you can save a file as different file types. Below are the available types in Excel 2013./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2015/06/excel_export_to_pdf.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNDg4IiBoZWlnaHQ9IjUyNiIgdmlld0JveD0iMCAwIDQ4OCA1MjYiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone size-full wp-image-2571 data-srchttps://access-excel.tips/wp-content/uploads/2015/06/excel_export_to_pdf.jpg data-sizesauto, (max-width: 488px) 100vw, 488px data-srcsethttps://access-excel.tips/wp-content/uploads/2015/06/excel_export_to_pdf.jpg 488w, https://access-excel.tips/wp-content/uploads/2015/06/excel_export_to_pdf-278x300.jpg 278w, https://access-excel.tips/wp-content/uploads/2015/06/excel_export_to_pdf-300x323.jpg 300w altexcel_export_to_pdf width488 height526 />/a>/p>p> /p>p>Select PDF, then click on the button strong>Options/strong>/p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2015/06/excel_export_to_pdf_02.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNjI1IiBoZWlnaHQ9IjY1MyIgdmlld0JveD0iMCAwIDYyNSA2NTMiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone size-full wp-image-2572 data-srchttps://access-excel.tips/wp-content/uploads/2015/06/excel_export_to_pdf_02.jpg data-sizesauto, (max-width: 625px) 100vw, 625px data-srcsethttps://access-excel.tips/wp-content/uploads/2015/06/excel_export_to_pdf_02.jpg 625w, https://access-excel.tips/wp-content/uploads/2015/06/excel_export_to_pdf_02-287x300.jpg 287w, https://access-excel.tips/wp-content/uploads/2015/06/excel_export_to_pdf_02-600x627.jpg 600w, https://access-excel.tips/wp-content/uploads/2015/06/excel_export_to_pdf_02-300x313.jpg 300w altexcel_export_to_pdf_02 width625 height653 />/a>/p>p> /p>p>In strong>Options/strong>, you can select whether to export Entire workbook to PDF or just Active worksheet(s)./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2015/06/excel_export_to_pdf_03.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjkxIiBoZWlnaHQ9IjMzMSIgdmlld0JveD0iMCAwIDI5MSAzMzEiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone size-full wp-image-2573 data-srchttps://access-excel.tips/wp-content/uploads/2015/06/excel_export_to_pdf_03.jpg data-sizesauto, (max-width: 291px) 100vw, 291px data-srcsethttps://access-excel.tips/wp-content/uploads/2015/06/excel_export_to_pdf_03.jpg 291w, https://access-excel.tips/wp-content/uploads/2015/06/excel_export_to_pdf_03-264x300.jpg 264w altexcel_export_to_pdf_03 width291 height331 />/a>/p>p>Note that strong>Entire workbook/strong> means all worksheets are exported to one PDF./p>p>strong>Active sheet(s)/strong> means to export the selected sheets to one PDF. Normally Active sheet means the worksheet you are currently viewing before you press strong>Save As/strong>, but you can hold down Ctrl to select multiple worksheets in order to export specific worksheets to one PDF. Unfortunately there is no built-in option to save each worksheet as separate PDF, but you can refer to a hrefhttps://access-excel.tips/excel-export-excel-to-pdf-with-and-without-vba/>my previous post/a> to do it with Excel VBA./p>p>The items in Options are self-explanatory, except there are a few items that require clarification./p>table width748>tbody>tr>td width368>Ignore print areas/td>td width380>Print the selection / entire worksheet and ignore print area/td>/tr>tr>td>Document properties/td>td width380>Include title, subject, author, and similar information./td>/tr>tr>td>Document structure tags for accessibility/td>td width380>Include additional data that help disabled users/td>/tr>tr>td>ISO 19005-1 compliant (PDF/A)/td>td width380>A standard of PDF, a hrefhttps://en.wikipedia.org/wiki/PDF/A target_blank relnoopener>click here/a> to see details/td>/tr>/tbody>/table>h2>span stylecolor: #0000ff;>Outbound Reference/span>/h2>p>a hrefhttps://support.office.com/en-za/article/Publish-as-PDF-or-XPS-d3b9469c-59ba-49f9-9adf-5707db2451fa?uien-US&rsen-ZA&adZA>https://support.office.com/en-za/article/Publish-as-PDF-or-XPS-d3b9469c-59ba-49f9-9adf-5707db2451fa?uien-US&rsen-ZA&adZA/a>/p>p> /p>/div>/div>footer classentry-meta aria-labelEntry meta>span classcat-links>span classgp-icon icon-categories>svg viewBox0 0 512 512 aria-hiddentrue xmlnshttp://www.w3.org/2000/svg width1em height1em>path dM0 112c0-26.51 21.49-48 48-48h110.014a48 48 0 0143.592 27.907l12.349 26.791A16 16 0 00228.486 128H464c26.51 0 48 21.49 48 48v224c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V112z />/svg>/span>span classscreen-reader-text>Categories /span>a hrefhttps://access-excel.tips/category/excel/excel-basics/ relcategory tag>Chapter 2 - Excel Basics/a>/span>/footer>/div>/article>article idpost-5152 classpost-5152 post type-post status-publish format-standard has-post-thumbnail hentry category-unit-3-access-vba-method category-unit-5-access-sub itemtypehttps://schema.org/CreativeWork itemscope>div classinside-article>header classentry-header>h2 classentry-title itempropheadline>a hrefhttps://access-excel.tips/access-vba-delete-table-records-sql/ relbookmark>Access VBA delete Table records with SQL using DoCMD.RunSQL Method/a>/h2>div classentry-meta>span classposted-on>time classentry-date published datetime2019-03-20T00:30:10+08:00 itempropdatePublished>March 20, 2019/time>/span> span classbyline>by span classauthor vcard itempropauthor itemtypehttps://schema.org/Person itemscope>a classurl fn n hrefhttps://access-excel.tips/author/scammera1/ titleView all posts by Wyman W relauthor itempropurl>span classauthor-name itempropname>Wyman W/span>/a>/span>/span>/div>/header>div classpost-image>a hrefhttps://access-excel.tips/access-vba-delete-table-records-sql/>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTg5IiBoZWlnaHQ9IjIwMCIgdmlld0JveD0iMCAwIDE4OSAyMDAiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ width189 height200 data-srchttps://access-excel.tips/wp-content/uploads/2014/12/feature_access_vba-e1503849948340.jpg classattachment-full size-full wp-post-image alt itempropimage decodingasync loadinglazy />/a>/div>div classentry-content itemproptext>div classwprt-container>This Access VBA tutorial explains how to use VBA delete Table records with SQL without alert using a hrefhttps://access-excel.tips/access-docmd-runsql-error-2342/>DoCMD.RunSQL Method/a>./p>p>You may also want to read:/p>p classentry-title>a hrefhttps://access-excel.tips/access-vba-run-action-query/>Access VBA run Query or run Action Query/a>/p>h2>span stylecolor: #0000ff;>Access delete Table records/span>/h2>p>In my previous post, I have explained how to a hrefhttps://access-excel.tips/access-delete-table-records/>delete Table records without using VBA/a>, below is a quick recap./p>p>Suppose we have created a table called strong>student/strong> in Access, which contains 5 student records./p>table border1 cellspacing0 bgcolor#ffffff>caption>b>student/b>/caption>thead>tr>th bgcolor#c0c0c0>Student ID/th>th bgcolor#c0c0c0>Student Name/th>/tr>/thead>tbody>tr valignTOP>td>001/td>td>Apple/td>/tr>tr valignTOP>td>002/td>td>Betty/td>/tr>tr valignTOP>td>003/td>td>Cathy/td>/tr>tr valignTOP>td>004/td>td>David/td>/tr>tr valignTOP>td>005/td>td>Elyse/td>/tr>/tbody>tfoot>/tfoot>/table>p>In order to delete the record (the whole row) of Apple, create a new Query, add strong>student/strong> table./p>p>Under Design tab, click on strong>Delete/strong> button. This will create a Delete Query./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2016/11/Access-delete-table-data-01.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNDkwIiBoZWlnaHQ9IjI5NyIgdmlld0JveD0iMCAwIDQ5MCAyOTciPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone wp-image-4497 data-srchttps://access-excel.tips/wp-content/uploads/2016/11/Access-delete-table-data-01.jpg data-sizesauto, (max-width: 490px) 100vw, 490px data-srcsethttps://access-excel.tips/wp-content/uploads/2016/11/Access-delete-table-data-01.jpg 556w, https://access-excel.tips/wp-content/uploads/2016/11/Access-delete-table-data-01-300x182.jpg 300w altaccess-delete-table-records-01 width490 height297 />/a>/p>p> /p>p>Add strong>Student ID/strong> to the field, then type “001” in criteria, which is the student ID of Apple./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2016/11/Access-delete-table-data-02.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNDQzIiBoZWlnaHQ9IjQxNiIgdmlld0JveD0iMCAwIDQ0MyA0MTYiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone wp-image-4498 data-srchttps://access-excel.tips/wp-content/uploads/2016/11/Access-delete-table-data-02.jpg data-sizesauto, (max-width: 443px) 100vw, 443px data-srcsethttps://access-excel.tips/wp-content/uploads/2016/11/Access-delete-table-data-02.jpg 528w, https://access-excel.tips/wp-content/uploads/2016/11/Access-delete-table-data-02-300x282.jpg 300w altaccess-delete-table-records-02 width443 height416 />/a>/p>p> /p>p>To preview the result of Delete Query (which records will be deleted), click on the strong>View/strong> button under Design./p>p>To execute the Query (actually delete the records), click on strong>Run/strong> button, then click on Yes to confirm delete row./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2016/11/Access-delete-table-data-03.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNTUyIiBoZWlnaHQ9IjM4MCIgdmlld0JveD0iMCAwIDU1MiAzODAiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone wp-image-4499 data-srchttps://access-excel.tips/wp-content/uploads/2016/11/Access-delete-table-data-03.jpg data-sizesauto, (max-width: 552px) 100vw, 552px data-srcsethttps://access-excel.tips/wp-content/uploads/2016/11/Access-delete-table-data-03.jpg 684w, https://access-excel.tips/wp-content/uploads/2016/11/Access-delete-table-data-03-300x207.jpg 300w, https://access-excel.tips/wp-content/uploads/2016/11/Access-delete-table-data-03-600x413.jpg 600w altaccess-delete-table-records-03 width552 height380 />/a>/p>p> /p>h2>span stylecolor: #0000ff;>Access VBA delete Table records/span>/h2>p>Similar to executing Delete Query in Access UI, you can delete Access Table records in VBA. First write a standard Delete SQL statement, then use a hrefhttps://access-excel.tips/access-docmd-runsql-error-2342/>DoCMD.RunSQL Method/a> to execute the SQL./p>p>For example, we have a student Table as below./p>table border1 cellspacing0 bgcolor#ffffff>caption>b>student/b>/caption>thead>tr>th bgcolor#c0c0c0>span stylefont-size: 11pt; color: #000000; font-family: 新細明體;>Student ID/span>/th>th bgcolor#c0c0c0>span stylefont-size: 11pt; color: #000000; font-family: 新細明體;>Student Name/span>/th>/tr>/thead>tbody>tr valignTOP>td>span stylefont-size: 11pt; color: #000000; font-family: 新細明體;>001/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: 新細明體;>Apple/span>/td>/tr>tr valignTOP>td>span stylefont-size: 11pt; color: #000000; font-family: 新細明體;>002/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: 新細明體;>Betty/span>/td>/tr>tr valignTOP>td>span stylefont-size: 11pt; color: #000000; font-family: 新細明體;>003/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: 新細明體;>Cathy/span>/td>/tr>tr valignTOP>td>span stylefont-size: 11pt; color: #000000; font-family: 新細明體;>004/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: 新細明體;>David/span>/td>/tr>tr valignTOP>td>span stylefont-size: 11pt; color: #000000; font-family: 新細明體;>005/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: 新細明體;>Elyse/span>/td>/tr>/tbody>tfoot>/tfoot>/table>p> /p>p>Press ALT+F11 and insert the below code in Module./p>pre>Public Sub deleteRecord() DoCmd.SetWarnings False strSQL Delete * From student WHERE Student ID002 DoCmd.RunSQL strSQL DoCmd.SetWarnings TrueEnd Sub/pre>p>Writing strong>DoCmd.SetWarings False/strong> is because we want to avoid Access generating the below Alert so that the subsequent statements can be executed smoothly./p>p>a hrefhttps://access-excel.tips/wp-content/uploads/2019/03/Access-VBA-delete-Table-records.jpg>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNDc1IiBoZWlnaHQ9IjE4MiIgdmlld0JveD0iMCAwIDQ3NSAxODIiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ loadinglazy decodingasync classalignnone size-full wp-image-5529 data-srchttps://access-excel.tips/wp-content/uploads/2019/03/Access-VBA-delete-Table-records.jpg alt width475 height182 data-srcsethttps://access-excel.tips/wp-content/uploads/2019/03/Access-VBA-delete-Table-records.jpg 475w, https://access-excel.tips/wp-content/uploads/2019/03/Access-VBA-delete-Table-records-300x115.jpg 300w data-sizesauto, (max-width: 475px) 100vw, 475px />/a>/p>p> /p>p>Run the Sub, then you will see the below result where Student ID 002 is deleted./p>table border1 cellspacing0 bgcolor#ffffff>caption>b>student/b>/caption>thead>tr>th bgcolor#c0c0c0>span stylefont-size: 11pt; color: #000000; font-family: 新細明體;>Student ID/span>/th>th bgcolor#c0c0c0>span stylefont-size: 11pt; color: #000000; font-family: 新細明體;>Student Name/span>/th>/tr>/thead>tbody>tr valignTOP>td>span stylefont-size: 11pt; color: #000000; font-family: 新細明體;>001/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: 新細明體;>Apple/span>/td>/tr>tr valignTOP>td>span stylefont-size: 11pt; color: #000000; font-family: 新細明體;>003/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: 新細明體;>Cathy/span>/td>/tr>tr valignTOP>td>span stylefont-size: 11pt; color: #000000; font-family: 新細明體;>004/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: 新細明體;>David/span>/td>/tr>tr valignTOP>td>span stylefont-size: 11pt; color: #000000; font-family: 新細明體;>005/span>/td>td>span stylefont-size: 11pt; color: #000000; font-family: 新細明體;>Elyse/span>/td>/tr>/tbody>tfoot>/tfoot>/table>p> /p>h2>span stylecolor: #0000ff;>Outbound References/span>/h2>p>a hrefhttps://docs.microsoft.com/en-us/office/vba/api/access.docmd.runsql>https://docs.microsoft.com/en-us/office/vba/api/access.docmd.runsql/a>/div>/div>footer classentry-meta aria-labelEntry meta>span classcat-links>span classgp-icon icon-categories>svg viewBox0 0 512 512 aria-hiddentrue xmlnshttp://www.w3.org/2000/svg width1em height1em>path dM0 112c0-26.51 21.49-48 48-48h110.014a48 48 0 0143.592 27.907l12.349 26.791A16 16 0 00228.486 128H464c26.51 0 48 21.49 48 48v224c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V112z />/svg>/span>span classscreen-reader-text>Categories /span>a hrefhttps://access-excel.tips/category/access/1access-vba/unit-3-access-vba-method/ relcategory tag>Unit 4 - Access VBA Method/a>, a hrefhttps://access-excel.tips/category/access/1access-vba/unit-5-access-sub/ relcategory tag>Unit 7 - Access Custom Sub Procedure/a>/span>/footer>/div>/article>article idpost-5355 classpost-5355 post type-post status-publish format-standard has-post-thumbnail hentry category-access-custom-function category-excel-custom-function itemtypehttps://schema.org/CreativeWork itemscope>div classinside-article>header classentry-header>h2 classentry-title itempropheadline>a hrefhttps://access-excel.tips/access-roundup-rounddown-function/ relbookmark>VBA Excel Access roundup rounddown Function/a>/h2>div classentry-meta>span classposted-on>time classentry-date published datetime2019-03-17T21:48:07+08:00 itempropdatePublished>March 17, 2019/time>/span> span classbyline>by span classauthor vcard itempropauthor itemtypehttps://schema.org/Person itemscope>a classurl fn n hrefhttps://access-excel.tips/author/scammera1/ titleView all posts by Wyman W relauthor itempropurl>span classauthor-name itempropname>Wyman W/span>/a>/span>/span>/div>/header>div classpost-image>a hrefhttps://access-excel.tips/access-roundup-rounddown-function/>img data-lazyloaded1 srcdata:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cHM6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTg5IiBoZWlnaHQ9IjIwMCIgdmlld0JveD0iMCAwIDE4OSAyMDAiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHN0eWxlPSJmaWxsOiNjZmQ0ZGI7ZmlsbC1vcGFjaXR5OiAwLjE7Ii8+PC9zdmc+ width189 height200 data-srchttps://access-excel.tips/wp-content/uploads/2014/12/feature_access_vba-e1503849948340.jpg classattachment-full size-full wp-post-image alt itempropimage decodingasync loadinglazy />/a>/div>div classentry-content itemproptext>div classwprt-container>This Excel Access tutorial explains how to use VBA to write an Access roundup (round up) and Access rounddown (round down) Function to simulate that in Excel. These roundup and rounddown Functions can also be used in Access and Excel VBA./p>h2>span stylecolor: #0000ff;>Excel Access roundup rounddown Function/span>/h2>p>In Excel Worksheet Function, there are round, roundup, rounddown, mround Functions./p>p>In Excel VBA, there is only round Function but no roundup, rounddown, mround Functions. The round Function is not the same as that in Excel Worksheet Function, the round logic that is being used is called a hrefhttps://access-excel.tips/access-round-function-round-even-logic/>Round-To-Even/a> logic. However, you can still access Worksheet Functions in Excel VBA with strong>WorksheetFunction/strong> Method as below./p>div classhighlight>code classlanguage-visualbasic data-langvisualbasic>span classn>span classblast mmt-sentence aria-hiddentrue>Application/span>/span>span classp>span classblast mmt-sentence aria-hiddentrue>./span>/span>span classn>span classblast mmt-sentence aria-hiddentrue>WorksheetFunction/span>/span>span classp>span classblast mmt-sentence aria-hiddentrue>./span>/span>span classn>span classblast mmt-sentence aria-hiddentrue>RoundUp/span>/span>span classp>span classblast mmt-sentence aria-hiddentrue>(/span>/span>span classmf>span classblast mmt-sentence aria-hiddentrue>1.23/span>/span>span classp>span classblast mmt-sentence aria-hiddentrue>,/span>/span> span classmi>span classblast mmt-sentence aria-hiddentrue>1/span>/span>span classp>span classblast mmt-sentence aria-hiddentrue>)/span>/span>/code>/div>div>/div>div>In Microsoft Access (VBA / application) there is only round function that uses a hrefhttps://access-excel.tips/access-round-function-round-even-logic/>Round-To-Even/a> logic. Therefore, there is a need to recreate round, roundup, rounddown, mround Functions in VBA, no matter in Access or Excel VBA. In my previous posts, I have written VBA Function to simulate Excel a hrefhttps://access-excel.tips/excel-access-mround-custom/>mround /a>and a hrefhttps://access-excel.tips/access-round-function-round-even-logic/>round /a>Functions. In this post, I will write roundup and rounddown Functions./div>h2>span stylecolor: #0000ff;>VBA Code – Excel Access roundup Function/span>/h2>pre>Public Function wRoundUp(pValue, digit) As Double ExpandedValue Abs(pValue) * (10 ^ digit) span stylecolor: #ff0000;>Retrieve integer part of the number/span> wRoundUp Sgn(pValue) * Int(ExpandedValue + 0.99999999) / 10 ^ digitEnd Function/pre>p>span stylecolor: #ff0000;>Explanation/span>/p>p>This Excel Access roundup Function performs two major actions. First, the target number is expanded to the decimal places which you want to round up, and then add 0.9999999 to the number, so that it goes up to the next integer. Finally use INT Function to extract the integer part. The sign of the number is ignored during round up and down to simulate the behavior in Excel, then it is added back after rounding./p>p>For example, we have a number 14.56 and we want to round up to 1 decimal places. 14.56 is first expanded to 145.6, and then add 0.9999999, so that it becomes something like 146.6. Finally extract the integer part (146), divided by 100 to become 14.6./p>h2>span stylecolor: #0000ff;>VBA Code – Excel Access rounddown Function/span>/h2>pre>Public Function wRoundDown(pValue, digit) As Double ExpandedValue Abs(pValue) * (10 ^ digit) span stylecolor: #ff0000;>Retrieve integer part of the number/span> wRoundDown Sgn(pValue) * Int(ExpandedValue) / 10 ^ digitEnd Function/pre>p>span stylecolor: #ff0000;>Explanation/span>/p>p>This Excel Access rounddown Function performs two major actions. First, the target number is expanded to the decimal places which you want to round up, then we use INT Function to extract the integer part. The sign of the number is ignored during round up and down to simulate the behavior in Excel, then it is added back after rounding./p>p>For example, we have a number 14.56 and we want to round down to 1 decimal places. 14.56 is first expanded to 145.6, and then we extract only 145. Finally divided by 10 to become 14.5./p>h2>span stylecolor: #0000ff;>Example – roundup and rounddown/span>/h2>table width372>tbody>tr>td width186>Formula/td>td width186>Result/td>/tr>tr>td>wROUNDUP(1.113,2)/td>td>1.12/td>/tr>tr>td>wROUNDDOWN(1.112,1)/td>td>1.1/td>/tr>tr>td>wROUNDUP(1.094,2)/td>td>1.1/td>/tr>tr>td>wROUNDDOWN(1.093,1)/td>td>1/td>/tr>tr>td>wROUNDUP(-1.113,2)/td>td>-1.12/td>/tr>tr>td>wROUNDDOWN(-1.112,1)/td>td>-1.1/td>/tr>tr>td>wROUNDUP(-1.094,2)/td>td>-1.1/td>/tr>tr>td>wROUNDDOWN(-1.093,1)/td>td>-1/td>/tr>/tbody>/table>p> /p>/div>/div>footer classentry-meta aria-labelEntry meta>span classcat-links>span classgp-icon icon-categories>svg viewBox0 0 512 512 aria-hiddentrue xmlnshttp://www.w3.org/2000/svg width1em height1em>path dM0 112c0-26.51 21.49-48 48-48h110.014a48 48 0 0143.592 27.907l12.349 26.791A16 16 0 00228.486 128H464c26.51 0 48 21.49 48 48v224c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V112z />/svg>/span>span classscreen-reader-text>Categories /span>a hrefhttps://access-excel.tips/category/access/1access-vba/access-custom-function/ relcategory tag>Unit 6 - Access Custom Function (UDF)/a>, a hrefhttps://access-excel.tips/category/excel/excel-vba/excel-custom-function/ relcategory tag>Unit 8 - Excel Custom Function (UDF)/a>/span>/footer>/div>/article>nav idnav-below classpaging-navigation aria-labelArchive Page>div classnav-previous>span classgp-icon icon-arrow>svg viewBox0 0 330 512 aria-hiddentrue xmlnshttp://www.w3.org/2000/svg width1em height1em>path dM305.913 197.085c0 2.266-1.133 4.815-2.833 6.514L171.087 335.593c-1.7 1.7-4.249 2.832-6.515 2.832s-4.815-1.133-6.515-2.832L26.064 203.599c-1.7-1.7-2.832-4.248-2.832-6.514s1.132-4.816 2.832-6.515l14.162-14.163c1.7-1.699 3.966-2.832 6.515-2.832 2.266 0 4.815 1.133 6.515 2.832l111.316 111.317 111.316-111.317c1.7-1.699 4.249-2.832 6.515-2.832s4.815 1.133 6.515 2.832l14.162 14.163c1.7 1.7 2.833 4.249 2.833 6.515z />/svg>/span> span classprev titlePrevious>a hrefhttps://access-excel.tips/page/2/ >Older posts/a>/span>/div>div classnav-links>span aria-currentpage classpage-numbers current>span classscreen-reader-text>Page/span>1/span>a classpage-numbers hrefhttps://access-excel.tips/page/2/>span classscreen-reader-text>Page/span>2/a>span classpage-numbers dots>…/span>a classpage-numbers hrefhttps://access-excel.tips/page/39/>span classscreen-reader-text>Page/span>39/a>a classnext page-numbers hrefhttps://access-excel.tips/page/2/>Next span aria-hiddentrue>→/span>/a>/div>/nav>/main>/div>div classwidget-area sidebar is-right-sidebar idright-sidebar>div classinside-right-sidebar>aside idcategories-14 classwidget inner-padding widget_categories>h2 classwidget-title>Categories/h2>form actionhttps://access-excel.tips methodget>label classscreen-reader-text forcat>Categories/label>select namecat idcat classpostform>option value-1>Select Category/option>option classlevel-0 value241>Book 3 – Microsoft Word/option>option classlevel-0 value242>Book 4 – Microsoft Project/option>option classlevel-0 value247>Book 5 – Microsoft Outlook/option>option classlevel-0 value240>Book 6 – IBM SPSS Statistics/option>option classlevel-0 value221>Book 7 – Human Resources/option>option classlevel-0 value6>Chapter 1 – Access Basics/option>option classlevel-0 value248>Chapter 1 – Excel Settings/option>option classlevel-0 value249>Chapter 10 – Access Error/option>option classlevel-0 value231>Chapter 2 – Access Table/option>option classlevel-0 value12>Chapter 2 – Excel Basics/option>option classlevel-0 value11>Chapter 3 – Access Built-in Function/option>option classlevel-0 value13>Chapter 3 – Excel Built -in Function/option>option classlevel-0 value230>Chapter 4 – Access Expression/option>option classlevel-0 value15>Chapter 4 – Excel Graphs/option>option classlevel-0 value7>Chapter 5 – Access Query/option>option classlevel-0 value251>Chapter 5 – Pivot Table/option>option classlevel-0 value235>Chapter 6 – Access SQL/option>option classlevel-0 value245>Chapter 6 – Excel PowerPivot/option>option classlevel-0 value8>Chapter 7 – Access Report/option>option classlevel-0 value250>Chapter 7 – Excel Query/option>option classlevel-0 value9>Chapter 8 – Access Form/option>option classlevel-0 value244>Data Conversion/option>option classlevel-0 value234>Data Validation/option>option classlevel-0 value196>Date / Time/option>option classlevel-0 value246>Error/option>option classlevel-0 value133>Excel Certificate/option>option classlevel-0 value23>Excel Graph Q&A/option>option classlevel-0 value243>Excel template/option>option classlevel-0 value22>Excel VBA Q&A/option>option classlevel-0 value237>HK Ordinance/option>option classlevel-0 value236>Peoplesoft HCM/option>option classlevel-0 value238>References/option>option classlevel-0 value233>Statistics/option>option classlevel-0 value14>Tricks/option>option classlevel-0 value1>Uncategorized/option>option classlevel-0 value153>Unit 0 – Excel VBA Tricks/option>option classlevel-0 value16>Unit 1 – Access VB Enviornment/option>option classlevel-0 value17>Unit 1 – Excel VBA Environment/option>option classlevel-0 value229>Unit 2 – Access VBA Basics/option>option classlevel-0 value20>Unit 2 – Excel VBA Programming Basics/option>option classlevel-0 value19>Unit 3 – Access VBA Built-in Function/option>option classlevel-0 value18>Unit 3 – Excel VBA Built-in Function/option>option classlevel-0 value206>Unit 4 – Access VBA Method/option>option classlevel-0 value24>Unit 4 – Excel VBA Object Property/option>option classlevel-0 value232>Unit 5 – Access VBA Object Property/option>option classlevel-0 value77>Unit 5 – Excel VBA Events/option>option classlevel-0 value58>Unit 6 – Access Custom Function (UDF)/option>option classlevel-0 value157>Unit 6 – Excel VBA Methods/option>option classlevel-0 value228>Unit 7 – Access Custom Sub Procedure/option>option classlevel-0 value100>Unit 7 – Pivot Table VBA/option>option classlevel-0 value59>Unit 8 – Excel Custom Function (UDF)/option>option classlevel-0 value194>Unit 9 – Excel Custom Sub Procedure/option>option classlevel-0 value239>Workday HCM/option>/select>/form>script typelitespeed/javascript>(function(){var dropdowndocument.getElementById(cat);function onCatChange(){if(dropdown.optionsdropdown.selectedIndex.value>0){dropdown.parentNode.submit()}}dropdown.onchangeonCatChange})()/script> /aside>aside idblock-5 classwidget inner-padding widget_block widget_archive>div classwp-block-archives-dropdown wp-block-archives>label forwp-block-archives-1 classwp-block-archives__label>Archives/label>select idwp-block-archives-1 namearchive-dropdown onchangedocument.location.hrefthis.optionsthis.selectedIndex.value;>option value>Select Month/option>option valuehttps://access-excel.tips/2019/05/> May 2019/option>option valuehttps://access-excel.tips/2019/04/> April 2019/option>option valuehttps://access-excel.tips/2019/03/> March 2019/option>option valuehttps://access-excel.tips/2018/08/> August 2018/option>option valuehttps://access-excel.tips/2018/06/> June 2018/option>option valuehttps://access-excel.tips/2018/05/> May 2018/option>option valuehttps://access-excel.tips/2017/09/> September 2017/option>option valuehttps://access-excel.tips/2017/08/> August 2017/option>option valuehttps://access-excel.tips/2017/07/> July 2017/option>option valuehttps://access-excel.tips/2017/06/> June 2017/option>option valuehttps://access-excel.tips/2017/05/> May 2017/option>option valuehttps://access-excel.tips/2017/03/> March 2017/option>option valuehttps://access-excel.tips/2017/02/> February 2017/option>option valuehttps://access-excel.tips/2017/01/> January 2017/option>option valuehttps://access-excel.tips/2016/12/> December 2016/option>option valuehttps://access-excel.tips/2016/11/> November 2016/option>option valuehttps://access-excel.tips/2016/10/> October 2016/option>option valuehttps://access-excel.tips/2016/09/> September 2016/option>option valuehttps://access-excel.tips/2016/08/> August 2016/option>option valuehttps://access-excel.tips/2016/07/> July 2016/option>option valuehttps://access-excel.tips/2016/06/> June 2016/option>option valuehttps://access-excel.tips/2016/05/> May 2016/option>option valuehttps://access-excel.tips/2016/04/> April 2016/option>option valuehttps://access-excel.tips/2016/03/> March 2016/option>option valuehttps://access-excel.tips/2016/02/> February 2016/option>option valuehttps://access-excel.tips/2016/01/> January 2016/option>option valuehttps://access-excel.tips/2015/12/> December 2015/option>option valuehttps://access-excel.tips/2015/11/> November 2015/option>option valuehttps://access-excel.tips/2015/10/> October 2015/option>option valuehttps://access-excel.tips/2015/09/> September 2015/option>option valuehttps://access-excel.tips/2015/08/> August 2015/option>option valuehttps://access-excel.tips/2015/07/> July 2015/option>option valuehttps://access-excel.tips/2015/06/> June 2015/option>option valuehttps://access-excel.tips/2015/05/> May 2015/option>option valuehttps://access-excel.tips/2015/04/> April 2015/option>option valuehttps://access-excel.tips/2015/03/> March 2015/option>option valuehttps://access-excel.tips/2015/02/> February 2015/option>option valuehttps://access-excel.tips/2015/01/> January 2015/option>option valuehttps://access-excel.tips/2014/12/> December 2014/option>/select>/div>/aside>aside idblock-6 classwidget inner-padding widget_block widget_recent_entries>ul classwp-block-latest-posts__list wp-block-latest-posts>li>a classwp-block-latest-posts__post-title hrefhttps://access-excel.tips/excel-pivot-table-distinct-count-unique/>Excel Pivot Table Distinct Count to count unique value/a>/li>li>a classwp-block-latest-posts__post-title hrefhttps://access-excel.tips/import-csv-into-excel-workbooks-opentext-method/>Excel VBA Import CSV into Excel using Workbooks.OpenText Method/a>/li>li>a classwp-block-latest-posts__post-title hrefhttps://access-excel.tips/excel-vba-convert-text-in-columns-and-rows-into-matrix-table/>Excel VBA Convert Text in Columns and Rows into Matrix Table/a>/li>li>a classwp-block-latest-posts__post-title hrefhttps://access-excel.tips/search-text-in-multiple-workbooks/>Excel VBA search text in multiple Workbooks in folder/a>/li>li>a classwp-block-latest-posts__post-title hrefhttps://access-excel.tips/select-the-first-record-each-group-using-first-function/>MS Access select the first record of each group using First Function/a>/li>li>a classwp-block-latest-posts__post-title hrefhttps://access-excel.tips/how-to-change-default-excel-date-format/>How to Change Default Excel Date Format (such as MMDD to DDMM)/a>/li>li>a classwp-block-latest-posts__post-title hrefhttps://access-excel.tips/group-dates-ungroup-month-excel-pivot-table/>Group Date and Ungroup Month in Excel Pivot Table/a>/li>li>a classwp-block-latest-posts__post-title hrefhttps://access-excel.tips/how-to-convert-excel-to-pdf/>How to convert Excel to PDF/a>/li>li>a classwp-block-latest-posts__post-title hrefhttps://access-excel.tips/access-vba-delete-table-records-sql/>Access VBA delete Table records with SQL using DoCMD.RunSQL Method/a>/li>li>a classwp-block-latest-posts__post-title hrefhttps://access-excel.tips/access-roundup-rounddown-function/>VBA Excel Access roundup rounddown Function/a>/li>li>a classwp-block-latest-posts__post-title hrefhttps://access-excel.tips/excel-vba-generate-random-password/>Access Excel VBA generate random password or random characters/a>/li>li>a classwp-block-latest-posts__post-title hrefhttps://access-excel.tips/select-specific-columns-custom-views-query/>Excel automatically select specific columns using Custom Views and Query/a>/li>li>a classwp-block-latest-posts__post-title hrefhttps://access-excel.tips/excel-percentile-percentrank-exc/>Excel find the percentile of a number using PERCENTRANK.EXC function/a>/li>li>a classwp-block-latest-posts__post-title hrefhttps://access-excel.tips/copy-contents-of-protected-worksheet/>Excel VBA copy contents of protected worksheet/a>/li>li>a classwp-block-latest-posts__post-title hrefhttps://access-excel.tips/excel-vba-convert-date-period-to-date-row/>Excel VBA convert date period to date row/a>/li>/ul>/aside>aside idcategories-11 classwidget inner-padding widget_categories>h2 classwidget-title>Categories/h2>form actionhttps://access-excel.tips methodget>label classscreen-reader-text forcategories-dropdown-11>Categories/label>select namecat idcategories-dropdown-11 classpostform>option value-1>Select Category/option>option classlevel-0 value4>Book 1 – Microsoft Excel/option>option classlevel-1 value248> Chapter 1 – Excel Settings/option>option classlevel-1 value12> Chapter 2 – Excel Basics/option>option classlevel-1 value13> Chapter 3 – Excel Built -in Function/option>option classlevel-1 value15> Chapter 4 – Excel Graphs/option>option classlevel-1 value251> Chapter 5 – Pivot Table/option>option classlevel-1 value245> Chapter 6 – Excel PowerPivot/option>option classlevel-1 value250> Chapter 7 – Excel Query/option>option classlevel-1 value195> Chapter 8 – By Excel Topic/option>option classlevel-2 value244> Data Conversion/option>option classlevel-2 value234> Data Validation/option>option classlevel-2 value196> Date / Time/option>option classlevel-2 value246> Error/option>option classlevel-2 value133> Excel Certificate/option>option classlevel-2 value243> Excel template/option>option classlevel-2 value238> References/option>option classlevel-2 value233> Statistics/option>option classlevel-2 value14> Tricks/option>option classlevel-1 value5> Chapter 9 – Excel VBA/option>option classlevel-2 value153> Unit 0 – Excel VBA Tricks/option>option classlevel-2 value17> Unit 1 – Excel VBA Environment/option>option classlevel-2 value20> Unit 2 – Excel VBA Programming Basics/option>option classlevel-2 value18> Unit 3 – Excel VBA Built-in Function/option>option classlevel-2 value24> Unit 4 – Excel VBA Object Property/option>option classlevel-2 value77> Unit 5 – Excel VBA Events/option>option classlevel-2 value157> Unit 6 – Excel VBA Methods/option>option classlevel-2 value100> Unit 7 – Pivot Table VBA/option>option classlevel-2 value59> Unit 8 – Excel Custom Function (UDF)/option>option classlevel-2 value194> Unit 9 – Excel Custom Sub Procedure/option>option classlevel-1 value23> Excel Graph Q&A/option>option classlevel-1 value22> Excel VBA Q&A/option>option classlevel-0 value3>Book 2 – Microsoft Access/option>option classlevel-1 value6> Chapter 1 – Access Basics/option>option classlevel-1 value249> Chapter 10 – Access Error/option>option classlevel-1 value231> Chapter 2 – Access Table/option>option classlevel-1 value11> Chapter 3 – Access Built-in Function/option>option classlevel-1 value230> Chapter 4 – Access Expression/option>option classlevel-1 value7> Chapter 5 – Access Query/option>option classlevel-1 value235> Chapter 6 – Access SQL/option>option classlevel-1 value8> Chapter 7 – Access Report/option>option classlevel-1 value9> Chapter 8 – Access Form/option>option classlevel-1 value10> Chapter 9 – Access VBA/option>option classlevel-2 value16> Unit 1 – Access VB Enviornment/option>option classlevel-2 value229> Unit 2 – Access VBA Basics/option>option classlevel-2 value19> Unit 3 – Access VBA Built-in Function/option>option classlevel-2 value206> Unit 4 – Access VBA Method/option>option classlevel-2 value232> Unit 5 – Access VBA Object Property/option>option classlevel-2 value58> Unit 6 – Access Custom Function (UDF)/option>option classlevel-2 value228> Unit 7 – Access Custom Sub Procedure/option>option classlevel-0 value241>Book 3 – Microsoft Word/option>option classlevel-0 value242>Book 4 – Microsoft Project/option>option classlevel-0 value247>Book 5 – Microsoft Outlook/option>option classlevel-0 value240>Book 6 – IBM SPSS Statistics/option>option classlevel-0 value221>Book 7 – Human Resources/option>option classlevel-1 value237> HK Ordinance/option>option classlevel-1 value236> Peoplesoft HCM/option>option classlevel-1 value239> Workday HCM/option>option classlevel-0 value1>Uncategorized/option>/select>/form>script typelitespeed/javascript>(function(){var dropdowndocument.getElementById(categories-dropdown-11);function onCatChange(){if(dropdown.optionsdropdown.selectedIndex.value>0){dropdown.parentNode.submit()}}dropdown.onchangeonCatChange})()/script> /aside>aside idarchives-20 classwidget inner-padding widget_archive>h2 classwidget-title>Archives/h2> label classscreen-reader-text forarchives-dropdown-20>Archives/label>select idarchives-dropdown-20 namearchive-dropdown>option value>Select Month/option>option valuehttps://access-excel.tips/2019/05/> May 2019 (3)/option>option valuehttps://access-excel.tips/2019/04/> April 2019 (3)/option>option valuehttps://access-excel.tips/2019/03/> March 2019 (7)/option>option valuehttps://access-excel.tips/2018/08/> August 2018 (2)/option>option valuehttps://access-excel.tips/2018/06/> June 2018 (1)/option>option valuehttps://access-excel.tips/2018/05/> May 2018 (2)/option>option valuehttps://access-excel.tips/2017/09/> September 2017 (6)/option>option valuehttps://access-excel.tips/2017/08/> August 2017 (3)/option>option valuehttps://access-excel.tips/2017/07/> July 2017 (1)/option>option valuehttps://access-excel.tips/2017/06/> June 2017 (6)/option>option valuehttps://access-excel.tips/2017/05/> May 2017 (1)/option>option valuehttps://access-excel.tips/2017/03/> March 2017 (4)/option>option valuehttps://access-excel.tips/2017/02/> February 2017 (10)/option>option valuehttps://access-excel.tips/2017/01/> January 2017 (14)/option>option valuehttps://access-excel.tips/2016/12/> December 2016 (10)/option>option valuehttps://access-excel.tips/2016/11/> November 2016 (1)/option>option valuehttps://access-excel.tips/2016/10/> October 2016 (5)/option>option valuehttps://access-excel.tips/2016/09/> September 2016 (2)/option>option valuehttps://access-excel.tips/2016/08/> August 2016 (3)/option>option valuehttps://access-excel.tips/2016/07/> July 2016 (2)/option>option valuehttps://access-excel.tips/2016/06/> June 2016 (2)/option>option valuehttps://access-excel.tips/2016/05/> May 2016 (12)/option>option valuehttps://access-excel.tips/2016/04/> April 2016 (11)/option>option valuehttps://access-excel.tips/2016/03/> March 2016 (12)/option>option valuehttps://access-excel.tips/2016/02/> February 2016 (2)/option>option valuehttps://access-excel.tips/2016/01/> January 2016 (14)/option>option valuehttps://access-excel.tips/2015/12/> December 2015 (15)/option>option valuehttps://access-excel.tips/2015/11/> November 2015 (3)/option>option valuehttps://access-excel.tips/2015/10/> October 2015 (7)/option>option valuehttps://access-excel.tips/2015/09/> September 2015 (8)/option>option valuehttps://access-excel.tips/2015/08/> August 2015 (5)/option>option valuehttps://access-excel.tips/2015/07/> July 2015 (13)/option>option valuehttps://access-excel.tips/2015/06/> June 2015 (11)/option>option valuehttps://access-excel.tips/2015/05/> May 2015 (11)/option>option valuehttps://access-excel.tips/2015/04/> April 2015 (29)/option>option valuehttps://access-excel.tips/2015/03/> March 2015 (43)/option>option valuehttps://access-excel.tips/2015/02/> February 2015 (39)/option>option valuehttps://access-excel.tips/2015/01/> January 2015 (40)/option>option valuehttps://access-excel.tips/2014/12/> December 2014 (24)/option>/select> script typelitespeed/javascript>(function(){var dropdowndocument.getElementById(archives-dropdown-20);function onSelectChange(){if(dropdown.optionsdropdown.selectedIndex.value!){document.location.hrefthis.optionsthis.selectedIndex.value}}dropdown.onchangeonSelectChange})()/script> /aside>aside idrecent-posts-11 classwidget inner-padding widget_recent_entries>h2 classwidget-title>Recent Posts/h2>ul>li>a hrefhttps://access-excel.tips/excel-pivot-table-distinct-count-unique/>Excel Pivot Table Distinct Count to count unique value/a>/li>li>a hrefhttps://access-excel.tips/import-csv-into-excel-workbooks-opentext-method/>Excel VBA Import CSV into Excel using Workbooks.OpenText Method/a>/li>li>a hrefhttps://access-excel.tips/excel-vba-convert-text-in-columns-and-rows-into-matrix-table/>Excel VBA Convert Text in Columns and Rows into Matrix Table/a>/li>li>a hrefhttps://access-excel.tips/search-text-in-multiple-workbooks/>Excel VBA search text in multiple Workbooks in folder/a>/li>li>a hrefhttps://access-excel.tips/select-the-first-record-each-group-using-first-function/>MS Access select the first record of each group using First Function/a>/li>li>a hrefhttps://access-excel.tips/how-to-change-default-excel-date-format/>How to Change Default Excel Date Format (such as MMDD to DDMM)/a>/li>li>a hrefhttps://access-excel.tips/group-dates-ungroup-month-excel-pivot-table/>Group Date and Ungroup Month in Excel Pivot Table/a>/li>li>a hrefhttps://access-excel.tips/how-to-convert-excel-to-pdf/>How to convert Excel to PDF/a>/li>li>a hrefhttps://access-excel.tips/access-vba-delete-table-records-sql/>Access VBA delete Table records with SQL using DoCMD.RunSQL Method/a>/li>li>a hrefhttps://access-excel.tips/access-roundup-rounddown-function/>VBA Excel Access roundup rounddown Function/a>/li>li>a hrefhttps://access-excel.tips/excel-vba-generate-random-password/>Access Excel VBA generate random password or random characters/a>/li>li>a hrefhttps://access-excel.tips/select-specific-columns-custom-views-query/>Excel automatically select specific columns using Custom Views and Query/a>/li>li>a hrefhttps://access-excel.tips/excel-percentile-percentrank-exc/>Excel find the percentile of a number using PERCENTRANK.EXC function/a>/li>li>a hrefhttps://access-excel.tips/copy-contents-of-protected-worksheet/>Excel VBA copy contents of protected worksheet/a>/li>li>a hrefhttps://access-excel.tips/excel-vba-convert-date-period-to-date-row/>Excel VBA convert date period to date row/a>/li>li>a hrefhttps://access-excel.tips/excel-vba-filter-value-then-copy-data-to-new-worksheet/>Excel VBA filter value then copy filtered data to new worksheet/a>/li>li>a hrefhttps://access-excel.tips/access-excel-vba-sort-array-items/>Access Excel VBA sort Array items/a>/li>li>a hrefhttps://access-excel.tips/excel-check-duplicate-values/>Excel check duplicate values using Conditional Formatting/a>/li>li>a hrefhttps://access-excel.tips/excel-convert-data-from-column-to-row/>Excel convert data from column to row/a>/li>li>a hrefhttps://access-excel.tips/add-sorting-in-access-table-field/>Add sorting in Access Table field/a>/li>/ul>/aside>/div>/div>/div>/div>div classsite-footer>footer classsite-info aria-labelSite itemtypehttps://schema.org/WPFooter itemscope>div classinside-site-info grid-container>div classcopyright-bar>span classcopyright>© 2026 Access-Excel.Tips/span> • Built with a hrefhttps://generatepress.com itempropurl>GeneratePress/a>/div>/div>/footer>/div> script typespeculationrules>{prefetch:{source:document,where:{and:{href_matches:\/*},{not:{href_matches:\/wp-*.php,\/wp-admin\/*,\/wp-content\/uploads\/*,\/wp-content\/*,\/wp-content\/plugins\/*,\/wp-content\/themes\/generatepress\/*,\/*\\?(.+)}},{not:{selector_matches:arel~\nofollow\}},{not:{selector_matches:.no-prefetch, .no-prefetch a}}},eagerness:conservative}}/script> script idgenerate-a11y typelitespeed/javascript>!function(){use strict;if(querySelectorin document&&addEventListenerin window){var edocument.body;e.addEventListener(pointerdown,(function(){e.classList.add(using-mouse)}),{passive:!0}),e.addEventListener(keydown,(function(){e.classList.remove(using-mouse)}),{passive:!0})}}()/script> div classgp-modal gp-search-modal idgp-search roledialog aria-modaltrue aria-labelSearch>div classgp-modal__overlay tabindex-1 data-gpmodal-close>div classgp-modal__container>form rolesearch methodget classsearch-modal-form actionhttps://access-excel.tips/>label forsearch-modal-input classscreen-reader-text>Search for:/label>div classsearch-modal-fields>input idsearch-modal-input typesearch classsearch-field placeholderSearch … value names />button aria-labelSearch>span classgp-icon icon-search>svg viewBox0 0 512 512 aria-hiddentrue xmlnshttp://www.w3.org/2000/svg width1em height1em>path fill-ruleevenodd clip-ruleevenodd dM208 48c-88.366 0-160 71.634-160 160s71.634 160 160 160 160-71.634 160-160S296.366 48 208 48zM0 208C0 93.125 93.125 0 208 0s208 93.125 208 208c0 48.741-16.765 93.566-44.843 129.024l133.826 134.018c9.366 9.379 9.355 24.575-.025 33.941-9.379 9.366-24.575 9.355-33.941-.025L337.238 370.987C301.747 399.167 256.839 416 208 416 93.125 416 0 322.875 0 208z />/svg>/span>/button>/div>/form>/div>/div>/div>!--if lte IE 11> script srchttp://access-excel.tips/wp-content/themes/generatepress/assets/js/classList.min.js idgenerate-classlist-js>/script> !endif--> script idgenerate-menu-js-before typelitespeed/javascript>var generatepressMenu{toggleOpenedSubMenus:!0,openSubMenuLabel:Open Sub-Menu,closeSubMenuLabel:Close Sub-Menu}/script> script data-no-optimize1>window.lazyLoadOptionsObject.assign({},{threshold:300},window.lazyLoadOptions||{});!function(t,e){objecttypeof exports&&undefined!typeof module?module.exportse():functiontypeof define&&define.amd?define(e):(tundefined!typeof globalThis?globalThis:t||self).LazyLoade()}(this,function(){use strict;function e(){return(eObject.assign||function(t){for(var e1;earguments.length;e++){var n,aargumentse;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(tnan)}return t}).apply(this,arguments)}function o(t){return e({},at,t)}function l(t,e){return t.getAttribute(gt+e)}function c(t){return l(t,vt)}function s(t,e){return function(t,e,n){egt+e;null!n?t.setAttribute(e,n):t.removeAttribute(e)}(t,vt,e)}function i(t){return s(t,null),0}function r(t){return nullc(t)}function u(t){return c(t)_t}function d(t,e,n,a){t&&(void 0a?void 0n?t(e):t(e,n):t(e,n,a))}function f(t,e){et?t.classList.add(e):t.className+(t.className? :)+e}function _(t,e){et?t.classList.remove(e):t.classNamet.className.replace(new RegExp((^|\\s+)+e+(\\s+|$)), ).replace(/^\s+/,).replace(/\s+$/,)}function g(t){return t.llTempImage}function v(t,e){!e||(ee._observer)&&e.unobserve(t)}function b(t,e){t&&(t.loadingCount+e)}function p(t,e){t&&(t.toLoadCounte)}function n(t){for(var e,n,a0;et.childrena;a+1)SOURCEe.tagName&&n.push(e);return n}function h(t,e){(tt.parentNode)&&PICTUREt.tagName&&n(t).forEach(e)}function a(t,e){n(t).forEach(e)}function m(t){return!!tlt}function E(t){return tlt}function I(t){return delete tlt}function y(e,t){var n;m(e)||(n{},t.forEach(function(t){nte.getAttribute(t)}),eltn)}function L(a,t){var o;m(a)&&(oE(a),t.forEach(function(t){var e,n;ea,(tont)?e.setAttribute(n,t):e.removeAttribute(n)}))}function k(t,e,n){f(t,e.class_loading),s(t,st),n&&(b(n,1),d(e.callback_loading,t,n))}function A(t,e,n){n&&t.setAttribute(e,n)}function O(t,e){A(t,rt,l(t,e.data_sizes)),A(t,it,l(t,e.data_srcset)),A(t,ot,l(t,e.data_src))}function w(t,e,n){var al(t,e.data_bg_multi),ol(t,e.data_bg_multi_hidpi);(ant&&o?o:a)&&(t.style.backgroundImagea,nn,f(tt,(ee).class_applied),s(t,dt),n&&(e.unobserve_completed&&v(t,e),d(e.callback_applied,t,n)))}function x(t,e){!e||0e.loadingCount||0e.toLoadCount||d(t.callback_finish,e)}function M(t,e,n){t.addEventListener(e,n),t.llEvLisnrsen}function N(t){return!!t.llEvLisnrs}function z(t){if(N(t)){var e,n,at.llEvLisnrs;for(e in a){var oae;ne,oo,t.removeEventListener(n,o)}delete t.llEvLisnrs}}function C(t,e,n){var a;delete t.llTempImage,b(n,-1),(an)&&--a.toLoadCount,_(t,e.class_loading),e.unobserve_completed&&v(t,n)}function R(i,r,c){var lg(i)||i;N(l)||function(t,e,n){N(t)||(t.llEvLisnrs{});var aVIDEOt.tagName?loadeddata:load;M(t,a,e),M(t,error,n)}(l,function(t){var e,n,a,o;nr,ac,ou(ei),C(e,n,a),f(e,n.class_loaded),s(e,ut),d(n.callback_loaded,e,a),o||x(n,a),z(l)},function(t){var e,n,a,o;nr,ac,ou(ei),C(e,n,a),f(e,n.class_error),s(e,ft),d(n.callback_error,e,a),o||x(n,a),z(l)})}function T(t,e,n){var a,o,i,r,c;t.llTempImagedocument.createElement(IMG),R(t,e,n),m(ct)||(clt{backgroundImage:c.style.backgroundImage}),in,rl(at,(oe).data_bg),cl(a,o.data_bg_hidpi),(rnt&&c?c:r)&&(a.style.backgroundImageurl(.concat(r,)),g(a).setAttribute(ot,r),k(a,o,i)),w(t,e,n)}function G(t,e,n){var a;R(t,e,n),ae,en,(tEt(nt).tagName)&&(t(n,a),k(n,a,e))}function D(t,e,n){var a;at,(-1It.indexOf(a.tagName)?G:T)(t,e,n)}function S(t,e,n){var a;t.setAttribute(loading,lazy),R(t,e,n),ae,(eEt(nt).tagName)&&e(n,a),s(t,_t)}function V(t){t.removeAttribute(ot),t.removeAttribute(it),t.removeAttribute(rt)}function j(t){h(t,function(t){L(t,mt)}),L(t,mt)}function F(t){var e;(eytt.tagName)?e(t):m(et)&&(tE(e),e.style.backgroundImaget.backgroundImage)}function P(t,e){var n;F(t),ne,r(et)||u(e)||(_(e,n.class_entered),_(e,n.class_exited),_(e,n.class_applied),_(e,n.class_loading),_(e,n.class_loaded),_(e,n.class_error)),i(t),I(t)}function U(t,e,n,a){var o;n.cancel_on_exit&&(c(t)!st||IMGt.tagName&&(z(t),h(ot,function(t){V(t)}),V(o),j(t),_(t,n.class_loading),b(a,-1),i(t),d(n.callback_cancel,t,e,a)))}function $(t,e,n,a){var o,i,r(it,0bt.indexOf(c(i)));s(t,entered),f(t,n.class_entered),_(t,n.class_exited),ot,ia,n.unobserve_entered&&v(o,i),d(n.callback_enter,t,e,a),r||D(t,n,a)}function q(t){return t.use_native&&loadingin HTMLImageElement.prototype}function H(t,o,i){t.forEach(function(t){return(at).isIntersecting||0a.intersectionRatio?$(t.target,t,o,i):(et.target,nt,ao,ti,void(r(e)||(f(e,a.class_exited),U(e,n,a,t),d(a.callback_exit,e,n,t))));var e,n,a})}function B(e,n){var t;tt&&!q(e)&&(n._observernew IntersectionObserver(function(t){H(t,e,n)},{root:(te).containerdocument?null:t.container,rootMargin:t.thresholds||t.threshold+px}))}function J(t){return Array.prototype.slice.call(t)}function K(t){return t.container.querySelectorAll(t.elements_selector)}function Q(t){return c(t)ft}function W(t,e){return et||K(e),J(e).filter(r)}function X(e,t){var n;(nK(e),J(n).filter(Q)).forEach(function(t){_(t,e.class_error),i(t)}),t.update()}function t(t,e){var n,a,to(t);this._settingst,this.loadingCount0,B(t,this),nt,athis,Y&&window.addEventListener(online,function(){X(n,a)}),this.update(e)}var Yundefined!typeof window,ZY&&!(onscrollin window)||undefined!typeof navigator&&/(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent),ttY&&IntersectionObserverin window,etY&&classListin document.createElement(p),ntY&&1window.devicePixelRatio,at{elements_selector:.lazy,container:Z||Y?document:null,threshold:300,thresholds:null,data_src:src,data_srcset:srcset,data_sizes:sizes,data_bg:bg,data_bg_hidpi:bg-hidpi,data_bg_multi:bg-multi,data_bg_multi_hidpi:bg-multi-hidpi,data_poster:poster,class_applied:applied,class_loading:litespeed-loading,class_loaded:litespeed-loaded,class_error:error,class_entered:entered,class_exited:exited,unobserve_completed:!0,unobserve_entered:!1,cancel_on_exit:!0,callback_enter:null,callback_exit:null,callback_applied:null,callback_loading:null,callback_loaded:null,callback_error:null,callback_finish:null,callback_cancel:null,use_native:!1},otsrc,itsrcset,rtsizes,ctposter,ltllOriginalAttrs,stloading,utloaded,dtapplied,fterror,_tnative,gtdata-,vtll-status,btst,ut,dt,ft,ptot,htot,ct,mtot,it,rt,Et{IMG:function(t,e){h(t,function(t){y(t,mt),O(t,e)}),y(t,mt),O(t,e)},IFRAME:function(t,e){y(t,pt),A(t,ot,l(t,e.data_src))},VIDEO:function(t,e){a(t,function(t){y(t,pt),A(t,ot,l(t,e.data_src))}),y(t,ht),A(t,ct,l(t,e.data_poster)),A(t,ot,l(t,e.data_src)),t.load()}},ItIMG,IFRAME,VIDEO,yt{IMG:j,IFRAME:function(t){L(t,pt)},VIDEO:function(t){a(t,function(t){L(t,pt)}),L(t,ht),t.load()}},LtIMG,IFRAME,VIDEO;return t.prototype{update:function(t){var e,n,a,othis._settings,iW(t,o);{if(p(this,i.length),!Z&&tt)return q(o)?(eo,nthis,i.forEach(function(t){-1!Lt.indexOf(t.tagName)&&S(t,e,n)}),void p(n,0)):(tthis._observer,oi,t.disconnect(),at,void o.forEach(function(t){a.observe(t)}));this.loadAll(i)}},destroy:function(){this._observer&&this._observer.disconnect(),K(this._settings).forEach(function(t){I(t)}),delete this._observer,delete this._settings,delete this.loadingCount,delete this.toLoadCount},loadAll:function(t){var ethis,nthis._settings;W(t,n).forEach(function(t){v(t,e),D(t,n,e)})},restoreAll:function(){var ethis._settings;K(e).forEach(function(t){P(t,e)})}},t.loadfunction(t,e){eo(e);D(t,e)},t.resetStatusfunction(t){i(t)},t}),function(t,e){use strict;function n(){e.body.classList.add(litespeed_lazyloaded)}function a(){console.log(LiteSpeed Start Lazy Load),onew LazyLoad(Object.assign({},t.lazyLoadOptions||{},{elements_selector:data-lazyloaded,callback_finish:n})),ifunction(){o.update()},t.MutationObserver&&new MutationObserver(i).observe(e.documentElement,{childList:!0,subtree:!0,attributes:!0})}var o,i;t.addEventListener?t.addEventListener(load,a,!1):t.attachEvent(onload,a)}(window,document);/script>script data-no-optimize1>window.litespeed_ui_eventswindow.litespeed_ui_events||mouseover,click,keydown,wheel,touchmove,touchstart;var urlCreatorwindow.URL||window.webkitURL;function litespeed_load_delayed_js_force(){console.log(LiteSpeed Start Load JS Delayed),litespeed_ui_events.forEach(e>{window.removeEventListener(e,litespeed_load_delayed_js_force,{passive:!0})}),document.querySelectorAll(iframedata-litespeed-src).forEach(e>{e.setAttribute(src,e.getAttribute(data-litespeed-src))}),loadingdocument.readyState?window.addEventListener(DOMContentLoaded,litespeed_load_delayed_js):litespeed_load_delayed_js()}litespeed_ui_events.forEach(e>{window.addEventListener(e,litespeed_load_delayed_js_force,{passive:!0})});async function litespeed_load_delayed_js(){let t;for(var d in document.querySelectorAll(scripttypelitespeed/javascript).forEach(e>{t.push(e)}),t)await new Promise(e>litespeed_load_one(td,e));document.dispatchEvent(new Event(DOMContentLiteSpeedLoaded)),window.dispatchEvent(new Event(DOMContentLiteSpeedLoaded))}function litespeed_load_one(t,e){console.log(LiteSpeed Load ,t);var ddocument.createElement(script);d.addEventListener(load,e),d.addEventListener(error,e),t.getAttributeNames().forEach(e>{type!e&&d.setAttribute(data-srce?src:e,t.getAttribute(e))});let a!(d.typetext/javascript);!d.src&&t.textContent&&(d.srclitespeed_inline2src(t.textContent),a!0),t.after(d),t.remove(),a&&e()}function litespeed_inline2src(t){try{var durlCreator.createObjectURL(new Blob(t.replace(/^(?:!--)?(.*?)(?:-->)?$/gm,$1),{type:text/javascript}))}catch(e){ddata:text/javascript;base64,+btoa(t.replace(/^(?:!--)?(.*?)(?:-->)?$/gm,$1))}return d}/script>script data-no-optimize1>var litespeed_varydocument.cookie.replace(/(?:(?:^|.*;\s*)_lscache_vary\s*\\s*(^;*).*$)|^.*$/,);litespeed_vary||fetch(/wp-content/plugins/litespeed-cache/guest.vary.php,{method:POST,cache:no-cache,redirect:follow}).then(e>e.json()).then(e>{console.log(e),e.hasOwnProperty(reload)&&yese.reload&&(sessionStorage.setItem(litespeed_docref,document.referrer),window.location.reload(!0))});/script>script data-optimized1 typelitespeed/javascript data-srchttps://access-excel.tips/wp-content/litespeed/js/cc3ba753cdc7b1c483394c21536c4bed.js?ver543c0>/script>/body>script>undefined typeof _trfq || (window._trfq );undefined typeof _trfd && (window._trfd),_trfd.push({tccl.baseHost:secureserver.net},{ap:cpbh-mt},{server:p3plmcpnl495151},{dcenter:p3},{cp_id:4079231},{cp_cache:},{cp_cl:8}) // Monitoring performance to make your website faster. If you want to opt-out, please contact web hosting support./script>script srchttps://img1.wsimg.com/traffic-assets/js/tccl.min.js>/script>/html>!-- Page optimized by LiteSpeed Cache @2026-01-22 07:37:35 -->!-- Page supported by LiteSpeed Cache 7.3 on 2026-01-22 07:37:35 -->!-- Guest Mode -->!-- QUIC.cloud UCSS in queue -->
View on OTX
|
View on ThreatMiner
Please enable JavaScript to view the
comments powered by Disqus.
Data with thanks to
AlienVault OTX
,
VirusTotal
,
Malwr
and
others
. [
Sitemap
]