Hi,
I would like to pause my application while a word process hasn't finished working... I produce a Word Document that should be saved automatically.
With these lines :
My application seems to have finished its work and I can see that Word is still trying to do sthg (don't know what : I suppressed Grammar and Spelling Checks)
When I try to close the document, Word asks for saving changes. I don't want that...
So how can I know from my vb application when WORD has REALLY finished doing his mysterious stuff ??
Is there a kind of Status that could be checked ?
I put a kind of 'sleep' for 1 minute before 'Wordapp.ActiveDocument.Save'... it works :
Word no longer asks for saving.
But this is far from being clean..
Thanks in advance !
Lemox
I would like to pause my application while a word process hasn't finished working... I produce a Word Document that should be saved automatically.
With these lines :
Code:
Wordapp.Visible = True
Wordapp.ActiveDocument.Save
My application seems to have finished its work and I can see that Word is still trying to do sthg (don't know what : I suppressed Grammar and Spelling Checks)
When I try to close the document, Word asks for saving changes. I don't want that...
So how can I know from my vb application when WORD has REALLY finished doing his mysterious stuff ??
Is there a kind of Status that could be checked ?
I put a kind of 'sleep' for 1 minute before 'Wordapp.ActiveDocument.Save'... it works :
Word no longer asks for saving.
But this is far from being clean..
Thanks in advance !
Lemox