Thread: [Solved] How to run command in word
View Single Post
 
Old 06-10-2015, 05:53 AM
si14 si14 is offline Windows Vista Office 2010 32bit
Novice
 
Join Date: Jun 2012
Posts: 17
si14 is on a distinguished road
Default How to run command in word

Is it possible to click on a text (e.g. one word) in office word, in such a way that it suns some lines of command prompt script.

To be more specific, I have two lines of code which I need to run in command prompt interface (CMD.EXE in windows).

Instead of doing the following steps, I want to click on a text in microsoft office (e.g. MYFUNCTION) and it runs the following steps:
1- type CMD in command prompt (or open command prompt window)
2- run two codes
3- close command prompt window

Thank you for your help.
Reply With Quote