I'm writing a simple VS add-in and would like to programmatically invoke the "Document Format" option (under Edit) within code. Google isn't being very friendly to me today....
Command cmd = _applicationObject.Commands.Item("Edit.FormatDocument", -1); object dummy = null; _applicationObject.Commands.Raise(cmd.Guid, cmd.ID, ref dummy, ref dummy);
2.1m questions
2.1m answers
60 comments
57.0k users