Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Using VBA with a DOS window

I am currently trying to develop a windows based shell, to run an ol
command line driven DOS progam. The idea is to use drop down menus et
to simplify the programs use.

I am using the keystrokes function to type in the commands so that th
window doesn't automatically close itself when it is finished. I wa
hoping that it could be possible to copy and paste the command promp
screen output, so that I can paste it (and hence use it) in Excel.

Does anyone have any idea as to how I can do this and/or links to an
websites that talk about working with DOS windows

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
jaf jaf is offline
external usenet poster
 
Posts: 300
Default Using VBA with a DOS window

Hi Stu,
STDOUT is what your looking for. Not much fun from VBA or VB.

If you really want to play. Here is a google search link where you find much help.
http://www.google.com/groups?as_q=st...n&num=50&hl=en



--
John
johnf 202 at hotmail dot com


"Stu_H " wrote in message ...
| I am currently trying to develop a windows based shell, to run an old
| command line driven DOS progam. The idea is to use drop down menus etc
| to simplify the programs use.
|
| I am using the keystrokes function to type in the commands so that the
| window doesn't automatically close itself when it is finished. I was
| hoping that it could be possible to copy and paste the command prompt
| screen output, so that I can paste it (and hence use it) in Excel.
|
| Does anyone have any idea as to how I can do this and/or links to any
| websites that talk about working with DOS windows?
|
|
| ---
| Message posted from http://www.ExcelForum.com/
|
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to save a desired window size but hv window comeup fullsz by d smjm1982 Excel Discussion (Misc queries) 1 February 15th 08 11:10 AM
View cell contents as a pop-up window (similar to comments window) Oldersox Excel Worksheet Functions 1 February 6th 08 07:09 AM
Docking Project Explorer, Properties window and Code window in VBE jayray Setting up and Configuration of Excel 2 March 27th 07 04:42 PM
The window opens in a smaller window not full sized window. Rachael Excel Discussion (Misc queries) 0 November 7th 06 09:04 PM
How do I undo the Excel, Window Menu, New Window command OLDFANG Excel Discussion (Misc queries) 2 March 17th 06 05:31 PM


All times are GMT +1. The time now is 04:05 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"