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);
1.4m articles
1.4m replys
5 comments
57.0k users