ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   DOS command from vba (https://www.excelbanter.com/excel-programming/329176-dos-command-vba.html)

Steph[_3_]

DOS command from vba
 
Hello. Is it possible to runa dos command right from vba? The command I
need to run is below. Thanks for your help!

S:\timesheet\templates\ts\pscp -i s:\timesheet\templates\ts\timesheet.ppk
S:\timesheet\templates\ts\userdb.txt timesheet@timesheet:



Jim Thomlinson[_3_]

DOS command from vba
 
You can check out this link.
http://support.microsoft.com/default...b;en-us;213800

HTH

"Steph" wrote:

Hello. Is it possible to runa dos command right from vba? The command I
need to run is below. Thanks for your help!

S:\timesheet\templates\ts\pscp -i s:\timesheet\templates\ts\timesheet.ppk
S:\timesheet\templates\ts\userdb.txt timesheet@timesheet:




Steph[_3_]

DOS command from vba
 
Thanks Jim!

"Jim Thomlinson" wrote in message
...
You can check out this link.
http://support.microsoft.com/default...b;en-us;213800

HTH

"Steph" wrote:

Hello. Is it possible to runa dos command right from vba? The command

I
need to run is below. Thanks for your help!

S:\timesheet\templates\ts\pscp -i

s:\timesheet\templates\ts\timesheet.ppk
S:\timesheet\templates\ts\userdb.txt timesheet@timesheet:







All times are GMT +1. The time now is 10:53 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com