We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

VBA equivalent functions in DocIO

Thread ID:





73736 May 16,2008 04:56 AM UTC May 26,2008 06:13 AM UTC ASP.NET Web Forms (Classic) 2
Tags: DocIO
Administrator [Syncfusion]
Asked On May 16, 2008 04:56 AM UTC

What is the equivalent function in DocIO for the following VBA code?

ActiveDocument.DeleteAllEditableRanges wdEditorEveryone


ActiveDocument.Protect Password:="11", NoReset:=False, Type:= _
wdAllowOnlyReading, UseIRM:=False, EnforceStyleLock:=False

Administrator [Syncfusion]
Replied On May 21, 2008 05:17 AM UTC

any body home?

Bhuvaneswari P [Syncfusion]
Replied On May 26, 2008 06:13 AM UTC

Hi Chong,

Thank you for your interest in Syncfusion products.

You can protect the by using ProtectionType of the document like AllowOnlyRevisions, AllowOnlyFormFields, AllowOnlyComments options. But we don't have support for Document.DeleteAllEditableRanges.

Please refer to the sample that we ship with Essential DocIO which could be found in the below location:


Please try this and let me know if this helps.

Best Regards,


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon