Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
WindowStyle not working in shell command
Help!!
I am trying to open Word 2000 and maximize it (vbMaximizedFocus) but it keeps giving me a compiler error expecting =. I have tried all combinations of constants or values and no luck. Is there a patch out there or something? Looks like I am running VB6 for excel 2000. Any help would be appreciated. KLC |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
WindowStyle not working in shell command
KLC,
What code are you using? The following code works fine for me. Be sure to change the folder name to the appropriate folder. Shell "C:\Program Files\Microsoft Office2000\Office\WinWord.exe", vbMaximizedFocus -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "KLC" wrote in message ... Help!! I am trying to open Word 2000 and maximize it (vbMaximizedFocus) but it keeps giving me a compiler error expecting =. I have tried all combinations of constants or values and no luck. Is there a patch out there or something? Looks like I am running VB6 for excel 2000. Any help would be appreciated. KLC |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Application Process-Shell Command | Excel Programming | |||
Parsing Shell Command with Parenthesis | Excel Programming | |||
SHELL command | Excel Programming | |||
How can you wait for the SHELL command to terminate ? | Excel Programming | |||
Copying a file with VBA (or with a SHELL command) | Excel Programming |