How to Remove Personal Information from a Workbook Using VBA in Microsoft Excel 2010

In this article, you will learn how to remove personal information from a workbook.

When you save a workbook, some of your personal information such as your name, company name, author name, last saved by, etc. will also be shared when you share your workbook with your colleagues, clients or friends.

Click on File menu

From Info option, you will find various details of the workbook
 
img1
 
To prevent this information from a workbook being shared with other people, you can follow the below steps:

  • Press ALT + F11 to launch Visual Basic Editor Screen.
  • Click on Insert, select Module

 
img2
 

  • Define a suitable name for the Macro & enter the code as follows:

Sub Remove_Personal_Information()

ActiveWorkbook.RemovePersonalInformation = True

End Sub
 
img3
 
Press F5 key to run this code, and then save and close your workbook.

The next time you will open the workbook, you will not find personal information.
 
 

Users are saying about us...

  1. Super! In the computer there can be all the info that is not neccessary for everyone, so that is essential to know all the info and how we can keep it in the system far away from everone.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Terms and Conditions of use

The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.

Visit Us On TwitterVisit Us On FacebookVisit Us On Google PlusVisit Us On Youtube