Link to home
Start Free TrialLog in
Avatar of bsharath
bsharathFlag for India

asked on

Create folders in outlook from a text file.I want to create 20 folders in outlook below inbox

Hi,

Create folders in outlook from a text file.I want to create 20 folders in outlook below inbox.So need a way to do this automatically.I have all the folder names in the txt file.

Regards
Sharath
ASKER CERTIFIED SOLUTION
Avatar of William Elliott
William Elliott
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bsharath

ASKER

Where should i run this script and where should i put the folder names.
open outlook
tools - macros
type a name in the top field.

click create
paste the script from above.

once pasted, then close visual editor
and goto tools macros - and run the "do_it" macro

this line from the script above says the location it can be changed to wherever you want
currently c:\test.txt
Set objFile = objFSO.OpenTextFile("C:\test.txt", 1)