hendrikhe Posted August 14, 2017 Share Posted August 14, 2017 Hello, I am not sure if this is possible. I am looking for a way to get the size of a subfolder in Outlook. Example: - inbox - VIP - SAP - Sent I want to get the size of the "VIP" folder, I am using Outlook 2013. Do you have any suggestions? Hendrik Link to comment Share on other sites More sharing options...
water Posted August 14, 2017 Share Posted August 14, 2017 My OutlookEX UDF has a _OL_FolderSize function which should do what you need. Download link can be found in my signature. My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
hendrikhe Posted August 28, 2017 Author Share Posted August 28, 2017 (edited) Hello @water, very nice UDF But I tried code below but I always get: 0 #include <OutlookEX.au3> #include <MsgBoxConstants.au3> Global $oOL = _OL_Open() Global $aFolder = _OL_FolderAccess($oOL, "hendrik@test.com") $size = _OL_FolderSize($oOL,$aFolder) MsgBox(0, '', $size) Edited August 28, 2017 by hendrikhe Link to comment Share on other sites More sharing options...
water Posted August 28, 2017 Share Posted August 28, 2017 _OL_FolderAccess returns an array. So it should be $size = _OL_FolderSize($oOL,$aFolder[1]) My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
hendrikhe Posted August 30, 2017 Author Share Posted August 30, 2017 Thanks, that helped! Link to comment Share on other sites More sharing options...
water Posted August 30, 2017 Share Posted August 30, 2017 My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now