Jump to content
ArranWally

convert ANSI pst to unicode pst file

Recommended Posts

ArranWally

Hello,

 

I have a old pst file which is ANSI format. As it has a size limit of 2 GB, I want to convert ANSI PST to unicode PST File just as my outlok 2010 pst file. How can I do that easily?

 

Thank you.

Share this post


Link to post
Share on other sites
KaipoE

Hi,Arran

 

For that,you can create a PST file in Unicode format and then move all items from the PST file in ANSI format to the new file manually.

 

Or, you can also use VBA to covert it. Here is a sample you can try:

 

Private Sub ConvertANSIToUnicode()

Dim objSourceFileFolders As Outlook.Folders

Dim objFolder As Outlook.Folder

Dim objNewPSTFileFolder As Outlook.Folder

 

'Create a new PST file in Unicode format in your preferred local folder

Outlook.Application.Session.AddStoreEx "E:\NewPST1.pst", olStoreUnicode

Set objNewPSTFileFolder = Session.Folders.GetLast()

 

'Get all the folders of the source PST file which is in old ANSI format

'Change the "Personal" to the display name of your own PST file

Set objSourceFileFolders = Outlook.Application.Session.Folders("Personal").Folders

 

For Each objFolder In objSourceFileFolders

objFolder.CopyTo objNewPSTFileFolder

Next

End Sub

 

More details here:

 

https://www.datanumen.com/blogs/convert-ansi-pst-unicode-pst-file-via-outlook-vba/

 

hope it heps.

Share this post


Link to post
Share on other sites
ArranWally

Thanks! it works!

Share this post


Link to post
Share on other sites
Kolyny

Thank you very much for the conversion, you really helped me!

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×