Horje
vba run shell command with arguments Code Example
vba run shell command with arguments
Sub ExecuteShell(path As String, ParamArray arg() As Variant)
    Dim element As Variant
    Dim cmd As String

    cmd = path & " " 'insert any pre-arguments charaters

    For Each element In arg
        cmd = cmd & element & ", "
    Next element

    'remove last comma
    cmd = Left(cmd, Len(cmd) - 2)

    Call Shell(cmd)

End Sub




Shell

Related
how to find last occurrence of a pattern file Code Example how to find last occurrence of a pattern file Code Example
install docker-compose coreos Code Example install docker-compose coreos Code Example
how to kill your pc Code Example how to kill your pc Code Example
git branch specific files Code Example git branch specific files Code Example
shell script to check the output of a file Code Example shell script to check the output of a file Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11