Hi,
I have been creating folders in Outlook using a simple macro that creates folders from the first column of an Excel sheet under the folder currently selected. That macro is based in Outlook.
We are at the beginning of a new fiscal year and I would really like to create the whole tree at once. It represents about 4000 folders.
I looked online for a recursive example specific for outlook but all I found was: https://social.technet.microsoft.co...re-using-recursive-function-in-excel-vba.aspx It is supposed to create hierachical folders but in the regular directory. My attempts at modifying it so that it works also for Outlook didn't work.
I have attached the drop box link to download my Excel sheet with all the 4k+folders in the first 3 columns
I pasted in the VBE module 1 the macro that I used in Outlook to create one subfolder at the time. (That is about 168 subfolders, by bunch of 25 copied in the first column, save, execute, replace and repeat....)
Thanks for giving me pointers as to how to do that.
https://www.dropbox.com/s/yn28pup2hhyc4ef/CreateFolders3.xlsm?dl=0
I have been creating folders in Outlook using a simple macro that creates folders from the first column of an Excel sheet under the folder currently selected. That macro is based in Outlook.
We are at the beginning of a new fiscal year and I would really like to create the whole tree at once. It represents about 4000 folders.
I looked online for a recursive example specific for outlook but all I found was: https://social.technet.microsoft.co...re-using-recursive-function-in-excel-vba.aspx It is supposed to create hierachical folders but in the regular directory. My attempts at modifying it so that it works also for Outlook didn't work.
I have attached the drop box link to download my Excel sheet with all the 4k+folders in the first 3 columns
I pasted in the VBE module 1 the macro that I used in Outlook to create one subfolder at the time. (That is about 168 subfolders, by bunch of 25 copied in the first column, save, execute, replace and repeat....)
Thanks for giving me pointers as to how to do that.
https://www.dropbox.com/s/yn28pup2hhyc4ef/CreateFolders3.xlsm?dl=0