+ Reply to Thread
Results 1 to 6 of 6

shell command Excel 2007

  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
    Please Login or Register  to view this content.
    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.
    Please Login or Register  to view this content.
    What am I to do?

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

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: shell command Excel 2007

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code. Posting code without them makes your code hard to read and difficult to be copied for testing. Highlight your code and click the # at the top of your post window. For more information about these and other tags, found here

    I have added them this time
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: shell command Excel 2007

    Your code works for me

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    03-28-2010
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    29

    Re: shell command Excel 2007

    Hey arijit32,

    The original code produces "error 76: path not found" for me. Though I am on a corporate computer.

    This works for me just fine though:

    Please Login or Register  to view this content.
    I am sure RoyUK's code works like a charm too!
    Warm regards,

    Shampoo Monkey

    If you are happy with the results, please add to my reputation by clicking the icon next to the Post # in the bar above this post.

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

    Re: shell command Excel 2007

    That's the problem, I don't see any command line window coming up and no error either. It works fine on my friends' machines too.

  6. #6
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: shell command Excel 2007

    Then I would think that the problem is with your computer

+ Reply to Thread

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