Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Greetings,
Any clue why we get this in an Excel 2007 macro, see below. Run-time error '5': Invalid procedure call or argument when running the macro below. The ping starts & runs fine, it's just we get the error message? Per... Sub X_x() ' ' X_x Macro ' ' Keyboard Shortcut: Ctrl+x ' Dim ReturnValue ReturnValue = Shell("c:\windows\system32\ping.exe 4.2.2.2 -t") AppActivate ReturnValue End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Invalid procedure call or argument for Dir$ (Run-time error '5') ? | Excel Programming | |||
Run-time Error '5' - Invalid procedure call or argument | Excel Discussion (Misc queries) | |||
Invalid Procedure Call or Argument - Run-time error '5' | Excel Programming | |||
Run Time Error 5 - Invalid Procedure Call or Argument Q | Excel Programming | |||
Run-time error '5':Invalid Procedure call or argument | Excel Programming |