vba - Capture all instances of opened Visio -


i have below code captures single open instance/process of visio open , file names opened (inside 1 main window).

however, how can ensure captures other instances of visios (visio.exe) running in same environment? (this captures current window & open files inside current window)

x = 0     inputboxresponse = inputbox(inputboxprompt, "please choose document update", 0)     if inputboxresponse = ""         inputboxresponse = "0"     end if     if isnumeric(inputboxresponse)         thisdocindex = cint(inputboxresponse)     else         thisdocindex = 0     end if  loop while thisdocindex <> 0 or thisdocindex > (application.documents.count - x)     

any on right direction appreciated!

eg: similar visio? can vba reach across instances of excel?


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -