[xpost][/xpost]
I have a code in cell J1 of sheet1. Can i have the vba code to run this code in command prompt on clicking commandbutton1.
[xpost][/xpost]
I have a code in cell J1 of sheet1. Can i have the vba code to run this code in command prompt on clicking commandbutton1.
How do you have code in a cell? Do you mean it's in the WorkSheet Module?
If you can't explain then attach the workbook
Yes sir. I gather input through text boxes and it is consolidted in cell J1
Ip address is entered in cell a1 through combobox1. Message is entered in b1 through textbox1. Both these values are consolidated in j1 along with the command line
Hello,
You can use the Shell function ...
see https://docs.microsoft.com/en-us/office/v…/shell-function
Hope this will help
No idea what you mean. Attach an example workbook
Since you seem to be dealing with an URL address ...are you just looking for an Hyperlink ...???
see https://www.excel-easy.com/examples/hyperlinks.html
Hope this will help
I will simplify.. need the vba code to open command prompt, then paste the command line which is contained in cell j1 and then execute it
Good luck
Have you looked at the Shell function ... ???
royUK.... Nee Malayali aanodaa..?
Cross-posting is when you post the same question in other forums on the web. You'll find people are disinclined to respond to cross-posts because they may be wasting their time solving a problem that has been solved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post. We are here to help so help us help you!
Read this to understand why we ask you to do this
Don’t have an account yet? Register yourself now and be a part of our community!