o
k
q
u
e
s
t
i
o
n
s
.
c
o
m

How can I detect when a Word document has finished loading -

Hi,

Is it possible to detect in the normal.dot when a Word document has finished loading?

AutoOpen() and AutoExec() detect when a document is being opened or executed, but is there a way to detect when it has finished being loaded?

Any help much appreciated

Thanks

 

How can I detect when a Word document has finished loading -
Hi, Is it possible to detect in the normal.dot when a Word document has finished loading? AutoOpen() and AutoExec() detect when a document is being opened or executed, but is there a way to detect when it has finished being loaded? Any help much appreciated Thanks


Interesting VBA question... -
Hi, I am writing a macro in Word VBA which needs to be able to automatically display a message box containing the document name to the user when the document has finished loading. I know there are the autoOpen() and autoNew() procedures available, however, these are not what I w


detect when Word's .PrintOut command has finished -
I am using the MS Word object library, and I am printing out large mail-merge documents via the .PrintOut command. I then need to close the document printed, but the problem is, if I issue a .Close command to the document, the print also terminates. Is there a way of detecting when a .


Detect Word Document Close Event -
I am writing a dll add-in for Word and I need to be able to detect when a document is closed and Word itself is going to close. I have tried using the Public WithEvents for the Document object but its not working. I need to reset the menus before the document is closed. This is n


Detect when browser is finished loading -
I need to detect when a web page has finished loading in a browser I'm making. I want to change a label's property from visible.false to visible.true when the page has loaded. Anyone know how? Thanks


Frame Finished loading -
This is really a testing question but you guys are the ASP experts. I am testing an app and need to get access to a property that will tell me when a frame is finished loading. I can access the document object but do not know how to test if it is finished loading. The frame cont


Loading Word doc To RichTextBox -
Hi all, Does anyone know how 2 load a word document into a RichTextBox control and keep the format of the word document. I've tried LoadFile but certain parts of my RichTextBox lose some of the formatted data of the Word document. Also have tried saving the Word document as a rich


A load of printing questions -
I want to print out my document from word in vb. I want to: open an instance of word open a template in word Pass some variables to replace text in the template Print the template Close word However, If I open word up in vb, it compains that the document is already open. I


Closing MS Word after running VB macro -
After loading a document into MS Word and manipulating the text with VB, I close the document using the command: ActiveDocument.Close This works fine except a copy of Word is still in the background (w/o any docs). How do I shut Word down when I'm done too? Thanks. John


Word: How to count number of tables in Word Document -
I am opening tables from Word and extracting data. The only trouble I am having is that I do not have the same number of tables every time I run the program. How do I detect the number of tables that are in the document that I just opened? I did a search and found this- http:


word via vb -
Hi, I want to control the word document via vb by file system object. My aim while loading a new document i want to uncheck the option in track changes menu


Detecting if Word has password to open -
Hi, Is it possible to detect if a word document has a password to open it at the time of opening the actual document? I have a java application which is using jacob (java com bridge) to open word documents. If a document has a password to modify it is possible to open it in read-on


Word VBA question - How do I return a document to it's original content -
Hi, I am having major difficulty doing the following and any help would be much appreciated: 1) User opens a word document. 2) The document is somehow bookmarked with it's original content. 3) Upon saving the document, a macro makes a bunch of changes to the document. 4) When


Inserting a word document into a form -
I have a form (part of an MDI project) on which I want a word document. I put an OLE object on the form and inserted the word document but when the form is opened there is no word document. I guess I'm doing it wrong. Can someone please tell me how to properly add this word document


Detect Wav finished Playing -
I am using sndPlaySound to play back wav file. Is there a way to detect if the playback using this API function has finished?


Problems with word -
I am developing a COM AddIn for Microsoft Word using Visual Basic .NET. 1) How can I open an existing document or add a new document without getting a new word instance? My code looks like the following at the moment: objWordInstance.Documents.open(Filename:=mstrDateinameMitPfad


Word AddIn will not start in second document -
Hi, Hi, I wrote a word addin (Office Developer 2000 - VBA) that loads at startup of Ms Word. In the document with which Ms Word starts (document 1) everything is OK. I can also run the addin several times within Document 1. When I open another (new or saved) document, document 2,


loading a word document with xml -
Hi there How would you use an xsl to load a word document?


reconize text under mouse -
hi i'm want writing dictionary.and need to detect words form external application of my program.for example when mouse over the word into ms word document my program detect this word and translate this word to target language. now, i need to function that Recognize the


text nuder mouse api -
hi i'm want writing dictionary.and need to detect words form external application of my program.for example when mouse over the word into ms word document my program detect this word and translate this word to target language. now, i need to function that Recognize the text


Problem Using Word to Spell Check a Document [RESOLVED!] -
I got an example from my book that spell checks a document. The problem is, it loads word into the background, so when you close your app its still there (freezes the comp when you go to shutdown). Also as it is loading word, it takes more RAM


[2005] Creating a Word document -
I'd like to create a word document using nothing but VS2005. Would it be possible to create a custom document class ? (inheriting from the word.doc class?) I'd like to be able to create the document, preview it, print it, (save it -doh!), have different styles for different sec


Word Document to HTML -
Hi, I'm new to VB so go easy on me. I need to write some code that opens a Word Document and then either extracts the data so that a HTML document can be created or simply resaves it as an HTML document. I've had a quick look around the net and tried adding an Object Reference to Mic


RESOLVED: How can I avoid inserting to much text into a Word textbox -
Hi, Is there a way to detect if a textbox in a Word document has too much text in it? I'm using Word (2003) automation to open an existing document that contains several empty textboxes and insert text into them. The textboxes are of limited size which cannot change. My problem


Word Sentence number -
hello friends i am in big trouble. in my project i want to automate the word through OLE.and i want to get the sentence number on which the ibeam mouse pointer is located. when i run programme, word will automaticaly opened and a document file will be opened.user then selects the


Imbed a Word Document On a Form. -
I am trying to set up a form with an MS-Word Document. The word document will be on the form and not a stand-alone application. To set this up I selected components, then insertable objects, and added a Microsoft Word Document. Now I added the new object to the form. I also have s


loading a word doc with xsl -
Hi there How would you load an Microsoft Word Document with a xsl stylesheet?


Word -VBA / accessing content of a word document -
Group: Can you access the conent (document.WholeStory or document.Conent) of a Word document without opening the document or triggering the OpenDocument event? Mark


Interesting Word VBA question - Run-time error '4605' -
Well, basically how I have it working is: 1) The user clicks on a .doc hyperlink. 2) The .doc word document is automatically opened within IE 5.5 3) The autoOpen() procedure in normal.dot makes some amendments to the document. 4) The user makes a few of their own changes to the d


Corrrupt Doc -
My application uses VBA to creates a word document, which is saved in the one particular folder.There is no problem when user first creates the document, in this document there are lot of word macros which takes standard document and fills with the datas taken from the Different appli


Word document inside IE !!!!!! -
How do we get the word functionalities when I open a word document through an IE?? I am able to view all the menus and work with the file same way as a standalone word document. Is it possible to get anyother application like Notepad or wordpad documents inside IE like word??


Converting text within a string to VB Code -
Hi, I don't exactly know how to explain this, but it probably isn't a very difficult task to achieve. I have a program that loads text from a file and places it into a string. The question is, how can I insert VB commands into the text document before loading it and have those com


Run Macro in background MS Word 2003 and animations in word -
Does anyone know how to run a microsoft word macro in the background? If you normally run a macro on start up word halts until the macro is finished. I want the macro to start and for word to continue opening. The reason I'm trying to do this is to add animations to a word documen


how to change permission of MSWord doc from access VBA -
Hello folk, Need some help. How can I change the permission mode (Read Only,RW etc) of a word document when opening it from Access VBA. Below is the function I am using to open MSWord doc. This function is called by commanbutton_Click subroutine. My next question is, how can I detec


VBA Word.. -
im opening a MS word document using vb6. whenever i close the document MS Word always ask me if i would like to save the changes in the document. What i want is that the MS word will close without asking me if i would like to save changes (don't save the document). Is this possible?


Word document problem -
Hi In my app I call a word document that has a letterhead. From the app I populate the document. The problem that I'm having is that the header is being over-written. How can I write to the document without the header beiong over-written? The code is as follows: Dim objWord As Word


searching for word in word doc -
I want to write code so that if a word in a variable in the vba behind word is equal to a word in the word document, it changes that word in the document to bold. How would i do that?


Help required in opening word document from ASP.NET(VB.NET) application -
Hi, We are working on an ASP.NET (VB.NET) application and we have a problem opening a word document from our application. When we try to open the word document, we do not get any error message but the system hangs. Our requirement is to open a word document on the server


quick qustion.. form finished loading event -
what handle do i put on a sub so that it gets called when a form is completely finished loading and all its components are initialized?


Word - Capturing keypress from olecontrol -
I am writing some specific editing macros for word and would like to insert comboboxes to the document, fill them with options for the user to choose, then move on to the next word etc. Problem being that once the combobox is inserted Set x = Selection.InlineShapes.AddOLEControl(