TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
chetan Allipur
NA
541
167.7k
For Custom Numbered Heading Styles "Redo" is not working.
Jun 5 2018 2:32 AM
I am using word VSTO addins.
I created the Custom Numbered Heading Styles in word. After applying the Heading style to 1st paragraph, If I use Redo(CTR+Y) to next paragraph it is not working.
Here is my code.
public void NumHeading1(Office.IRibbonControl control)
{
try
{
Microsoft.Office.Interop.Word.Application app = Globals.ThisAddIn.Application;
Microsoft.Office.Interop.Word.Document doc1 = app.ActiveDocument;
Selection wordSelection = Globals.ThisAddIn.Application.Selection;
wordSelection.Paragraphs.set_Style(WdBuiltinStyle.wdStyleHeading1);
}
catch (Exception ex)
{
throw;
}
}
Please anyone can help me in this.
Reply
Answers (
0
)
c# jagged arrays
how to add row in datagridview last cell click with message