Mark Minasi's Tech Forum
Register Calendar Latest Topics Chat
 
 
 


Reply
  Author   Comment  
BellyB

Still Checking the Forum Out
Registered:
Posts: 2
Reply with quote  #1 
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.
0
Pieter

Avatar / Picture

Senior Member
Registered:
Posts: 152
Reply with quote  #2 
With Outlook. Open the ANSI PST file in Outlook, create a new one and copy everything from the old to the new PST file.
__________________
Pieter Demeulemeester
0
oakesuil

Still Checking the Forum Out
Registered:
Posts: 1
Reply with quote  #3 
hi,bellyb

As pieter said, 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 via manual moving, “Import/Export” or “Archive” feature.

And you can also write a small VBA codes to do the task. 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

You can see more details at

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

Hope it works to you.

0
BellyB

Still Checking the Forum Out
Registered:
Posts: 2
Reply with quote  #4 
Hey ,

Thank you all two, I have tried the code and it works well! Thanks for you help!
0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.