I have about 48,000 msg files in a folder, which Id like to import into a PST file.
I can currently drag a few hundred over into the folder and they import, but if I import more than about 200 Outlook tells me it cant import the files.
I have looked around for programs that can merge msg files into a pst file, but they are quite expensive.
Is it possible to import 1 msg into a folder in the pst file which I can code in VBA, so after using item.saveas("c:\msg1.msg"), I can load the item into a folder "\\Archive 2008\Inbox", so something like:-
dim item as new mailitem
item = loadfile("c:\msg1.msg")
item.folder = "\\Archive 2008\Inbox"
I know the above code wont work, but have no idea how to load a msg file up and then save it to a specific folder.
Any help would be appriciated.
Thank you in advance