Embedding a DOS window into Excel

halleyf

Board Regular
Joined
Jun 24, 2004
Messages
133
Is it possible to embed a dos window into an excel spreadsheet?
I dont want to be able to write to the window, just refer to it, as it will be running calculations.

I have a feeling that this is virtually impossible... anybody seen anything like this?

thanks
halley
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.

Joe Was

MrExcel MVP
Joined
Feb 19, 2002
Messages
7,539
OK

From the main Toolbar: Insert - Object...

"Create from File" [Tab] choose "Browse..."

go to "C:\Windows\System32\Cmd.exe"

Check the link box!

now when you click on the Cmd.exe object embeded on your sheet a window will open showing the DOS command Prompt or what it is doing!
 

halleyf

Board Regular
Joined
Jun 24, 2004
Messages
133
Thanks for the reply!

It crashes excel for me everytime (xl97) when i click the link to file box and when i leave it unchecked.

I am not sure that is what i want anyway... currrently, i am running batch files executed from excel. the cmd window come up seperate, and i would like to embed that window.

any other ideas?
 

Watch MrExcel Video

Forum statistics

Threads
1,129,361
Messages
5,635,812
Members
416,884
Latest member
leeshjay

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top