vba - Can we continue doing work while macro is running on another MS-WORD instance? -


is possible run microsoft word instance while macros running in of document? not able run asking for.

my code overview below.

with activedocument.range if .hyperlinks.count > 0 url = .hyperlinks(1).address ie     .visible = false     .navigate url until .readystate = 4: doevents: loop ie.execwb 17, 0 '// selectall ie.execwb 12, 2 '// copy selection end paste , formate 

the problem above code .readystate = 4, not able work. there solution problem?

edit after having knowledge comments, add.

i have saved vba in word module. can run macro asynchronously anywhere else opening specific document, , still continue working on other document of word. tried excel still not able open other word instance.


Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -