#1
|
|||
|
|||
New Word Document not 'at front'
Hello,
I'm using the following code in my Word Addin (VB.NET) to create a new Word-document: MyDoc = ThisAddIn.MyWord.Documents.Add(Template:=MyTemplat e, Visible:=True) (MyWord is declared by loading Add-in as MyWord = Me.Application) This works fine! But when this Word application already has open documents, the new one is not visible or active. The new document is behind an other document, I can't get it 'to front'. I have tryed this: MyDoc.ActiveWindow.Activate() ' -> not working MyDoc.Activate() '-> not working Please help. Chris Hanschen LKSVDD architecten Hengelo, The Netherlands |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Template Document Front Page with Select Options | RichTea88 | Word | 2 | 01-28-2014 03:40 PM |
insert front page from other document | student1 | Word | 3 | 09-17-2013 01:20 AM |
Is there a way to print only certain pages in a document front to back? | GrahamV2 | Word | 2 | 06-26-2013 10:38 AM |
Keep box drawn in front of Video in FRONT position | a_gunslinger | PowerPoint | 1 | 04-18-2013 07:54 AM |
Can't see comments on front page of Word document | Josaster | Word | 0 | 10-15-2012 06:37 AM |