Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Can we run Windows Script file from Excel/Office Application

Hey....its helped........But can you tell me.......

1 what does '/c' in that command string mean.
2 what is the other argument i.e. 1
--
(:P) ee (:D) i


"Gary''s Student" wrote:

Have you tried something like:

Sub Macro1()
x = Shell("cmd.exe /c C:\hooklmp.wsf", 1)
End Sub
--
Gary's Student


"PeeDi" wrote:

Hi,

I am creating an Excel Application (Office 2000) where I need to execute a
Windows Script file. It would be better if I could run the script from the
Application with a click of button. I couldnt find a solution for this. I
could run any .exe file using Shell command. But cant run .wsf (windows
script file). Is there any way to do so???

Please reply, if you know this.
--
Help yourself.......Dont wait for GOD...

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
Please free the Application Windows in Office 2007 DaveEv Excel Discussion (Misc queries) 0 October 22nd 06 12:29 PM
Create/Write to an Excel File in a C# Windows Application PK9 Excel Programming 0 March 2nd 06 06:20 PM
Can u Import Macintosh 2.1 Excel file into Windows Office 2000? Gail Excel Discussion (Misc queries) 0 September 2nd 05 02:26 PM
Use Windows Script to run Windows Explorer Search? Ian Elliott[_3_] Excel Programming 0 January 12th 04 05:03 PM
Application file search error in Office XP No Name Excel Programming 0 October 22nd 03 05:06 AM


All times are GMT +1. The time now is 11:21 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"