Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi all
W7 XL2007 (same problem on XP. 2003) Cannot use Cscript or Wscript. I need to send some commands to a command window. Tested this code (and variations). The Cmd window receives no keystrokes but the Msgbox pops up. Sub test() Dim ReturnValue ReturnValue = Shell("CMD.EXE", 5) 'AppActivate ReturnValue 'will err when uncommented SendKeys "ipconfig /all {ENTER}", True MsgBox "done" End Sub -- Steve |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Sending An Email In Excel Programmatically W/O Sending An Object | Excel Programming | |||
Sendkeys, sending variable | Excel Programming | |||
Always Sendkeys... | Excel Programming | |||
SendKeys | Excel Programming | |||
Sendkeys | Excel Programming |