LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old July 21st 03, 06:29 PM posted to microsoft.public.excel.programming
external usenet poster
First recorded activity by ExcelBanter: Jul 2003
Posts: 2
Default use shell function in vbscript


I want to run a shell command from vbscript instead of
inside an excel macro. How do I do it? I couldn't find
anything in the help file.

This is the command:
retval = Shell("C:\test\print.exe", vbHide)


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
Run VBScript from Excel Amy M Excel Discussion (Misc queries) 4 September 19th 08 09:07 PM
Running Shell Jeff Excel Discussion (Misc queries) 0 January 28th 08 04:50 PM
Writing Macros In VBScript Alex Turner Excel Discussion (Misc queries) 0 January 10th 08 01:07 PM
Is it possible to Shell and remove Excel from memory? alainB Excel Discussion (Misc queries) 3 August 2nd 06 04:16 PM
maximum number of letters which can be entered in excell shell Helena Excel Worksheet Functions 1 March 13th 06 10:17 PM

All times are GMT +1. The time now is 09:55 PM.

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

About Us

"It's about Microsoft Excel"


Copyright © 2017