Home > Software engineering >  Can not available in the excel other external applications (word or cad) events
Can not available in the excel other external applications (word or cad) events

Time:10-07

If can, how to do? .

CodePudding user response:

In the event of word to add a code, to write event type keywords into excel (using getobject access) of a particular cell, and then in excel cell change events, you will know what has happened to the word of the...

The effect is not very good oh

CodePudding user response:

Of course, you can also use the timer, methods of winsock, anyway, all roads lead to Rome, which is more suitable for you,

CodePudding user response:

To put it bluntly, this is a process of communication problems, to the events captured in the source and notify the target...

The building Lord, want to do? To monitor?

CodePudding user response:

reference 1st floor Topc008 response:
add a code in the word's events, to write event type keywords into excel (using getobject access) of a particular cell, and then in excel cell change events, you will know what has happened to the word of the...

Effect is not very good oh
I don't use a word of all vba code in excel vba I don't want to every software loaded on vba

CodePudding user response:

Excel vba and word vba seemed to have no essential difference between,

CodePudding user response:

Event2014
reference 4 floor response:
Quote: refer to 1st floor Topc008 response:

In the event of word to add a code, to write event type keywords into excel (using getobject access) of a particular cell, and then in excel cell change events, you will know what has happened to the word of the...

Effect is not very good oh
I don't use a word of all vba code in excel vba I don't want to every software installed on vba

All code only in excel vba and can know what happened to the word or cad events, sounds a bit snowden? Microsoft should know!

CodePudding user response:

It depends on whether the external program will its events in the operating system as a news broadcast,

If it is, could be obtained by the hook,

CodePudding user response:

Learned,,

CodePudding user response:

Yes,

In EXCEL, getobject (" work. Application ") in the current WORD,
If not, createobject (" word. Application ") create word,

Declaration of variables take withevent keywords,,
OO: 5 5 0 7 3 5 0
  •  Tags:  
  • VBA
  • Related