C# Programming
06-15-2009, 11:12 PM
I'm using Word automation to open a document that has some areas protected. I'm trying to figure out how to select the unprotected area of the document. How can this be done?
As a solution I recorded a macro inside Word that presses F8 five times which selects the unprotected section as I want. The marco code shows the following:
Selection.Extend
Selection.Extend
Selection.Extend
Selection.Extend
Selection.Extend
What is the syntex in C# if I wanted to use Selection.Extend?
As a solution I recorded a macro inside Word that presses F8 five times which selects the unprotected section as I want. The marco code shows the following:
Selection.Extend
Selection.Extend
Selection.Extend
Selection.Extend
Selection.Extend
What is the syntex in C# if I wanted to use Selection.Extend?