Results 1 to 6 of 6

shell command Excel 2007

Threaded View

  1. #1
    Registered User
    Join Date
    04-05-2010
    Location
    nyc
    MS-Off Ver
    Excel 2007
    Posts
    2

    Question shell command Excel 2007

    Hello,

    I am trying to use the Shell command and it won't start any command line windows. When I run this
    retval = Shell("c:\WINDOWS\system32\cmd.exe", vbMaximizedFocus)
    nothing happens and all I get is retval =2644. I don't see the command line Window.
    Windows applications like this one work fine and open a Calculator window.
    retval = Shell("calc.exe", vbNormalFocus)
    What am I to do?

    Thanks!
    Arijit
    Last edited by royUK; 04-05-2010 at 02:32 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1