Click here to Skip to main content
15,884,388 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I wants to activate word document when user have interaction with the server ..please can any body help me i am new to vba
Posted

VBA code gets run when the document opens not the other way round. You probably need to look into Interop.Word[^].
 
Share this answer
 
process.Start("winword.exe",file_name)
 
Share this answer
 
Hi, in VBA, process.start() will help you to activate document. But if you interaction with the server It is better to use Microsoft.Interop.word.
Here is an codeproject article focus on that hope to be helpful. Summarize C# Control Word Skills[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900