Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Manoj
 
Posts: n/a
Default opening excel from cmd

Hi all,

I want to open an excel file from CMD and dont want to loose focus from
the current application.

I am using "spawn" ( similar to SHELL ) to run commands on CMD.

If I write spawn "c:\test.xls" it opens the excel , but also set focus
to it. I do not want to loose the focus from the application.

If it is possible to hide it then it will be well and good.

Could anybody help with this?

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
Opening an Excel template from a 3rd party app TonyL Excel Discussion (Misc queries) 2 June 15th 05 02:05 AM
How do I view all file types permanantly when opening in Excel? Paula Scarborough, ME Setting up and Configuration of Excel 1 April 28th 05 05:02 AM
Error message opening Excel Ed Excel Discussion (Misc queries) 1 March 18th 05 04:04 AM
Trouble opening an Excel file that contains macros JohnR Excel Worksheet Functions 1 March 8th 05 08:09 PM
Opening an Excel file Sheldon Zaklow Excel Discussion (Misc queries) 0 March 3rd 05 10:29 PM


All times are GMT +1. The time now is 03:02 PM.

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

About Us

"It's about Microsoft Excel"