Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am trying to shell to an Image viewing program from Excel by using the
following line of code: Windows(1).WindowState = xlMinimized ReturnValue = Shell(ImgViewer, 3) Where ImgViewer is a string containg the path and filename of the program to be executed. Excel minimises but immediately returns to full screen I have inserted a msgbox to trap the ReturnValue and it displays whilst Excel is minimised but the image viewing program does not appear to be running On closing the msgbox Excel returns to normal What have I done wrong ? Ultimately I will want to append a variable to the ImageViewer string to pass command line switches to the program e.g. ReturnValue = Shell(ImgViewer &" " & Filename, 3) Is this possible ? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Is there a way to unload the loaded XLL file in Excel? Hi all, I amdebugging XLL link library using Visual C++. Everytime I rebuild the XLL, Ihave to close the whole Excel program and relaunch the Excel program again,and then load in the newly gene | Excel Discussion (Misc queries) | |||
shell out of excel into another app | Excel Programming | |||
merging excel program with tdc finance program | Excel Programming | |||
How disabling sounds when calling a shell program? | Excel Programming | |||
Shell Command to initiate Linux program | Excel Programming |