+ Reply to Thread
Results 1 to 3 of 3

Send Excel cell text to command prompt

  1. #1
    Registered User
    Join Date
    06-29-2009
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    4

    Post Send Excel cell text to command prompt

    Hello,

    I'm newbie in VBA/Macro and facing one problem.
    I want to run few arguments in cmd together.

    1. s:\
    2. cd\reuters\rpdataadd
    3. rpdataadd PATH=D:\temp\loadstuff ACQUIREDDATE=9/4/2012 USEFILENAMEASTITLE=TRUE PRESENTATIONDATE=9/4/2012 ENVIRONMENT=PRODUCTION

    I'm using below code

    Please Login or Register  to view this content.
    Problem I'm facing is, this is not sending whole text into cmd. for 3rd line it is only sending "ENVIRONMENT=PRODUCTION"
    Also first two lines are also not delivering into cmd all time. means sometime it works and sometime its not.

    I'm hoping to have answer from this thread.

    Thanks,
    Last edited by Cutter; 09-22-2012 at 11:26 AM. Reason: Added code tags

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Send Excel cell text to command prompt

    your code works on my test sheet, attach your file
    If solved remember to mark Thread as solved

  3. #3
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Send Excel cell text to command prompt

    @ miteshpanchal2006

    Please notice that code tags have been added to your post(s). The forum rules require them so please keep that in mind and add them yourself whenever showing code in any of your future posts. To see instructions for applying them, click on the Forum Rules button at the top of the page and read Rule #3.
    Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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