-
Solved: syntax: shell
Hi all
Just a quickie. How do I use the shell function and set the windowstyle variable to vbNormalFocus? In the vba help section it suggests:
[VBA]Shell("notepad", 1)[/VBA] but the VB editor doesn't like this
I know you can use [VBA]Shell pathname:="notepad", windowstyle:=1[/VBA]
but this is not the point. I spent ages trying to get the brackets to work! Does anyone know why this syntax doesn't work/ what the correct syntax is?
All help much appreciated
cheers
silentsound
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules