Run Command in VB.NET
        Posted  
        
            by Steven
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Steven
        
        
        
        Published on 2010-03-15T20:57:19Z
        Indexed on 
            2010/03/15
            20:59 UTC
        
        
        Read the original article
        Hit count: 224
        
vb.net
What function in Excel simply takes a string parameter and runs the command? It would work just like the OK button in the Start -> Run dialog.
Dim myCommand as String
myCommand = "excel C:\Documents and Settings\JohnDoe\Desktop\test.xls"
Run(myCommand)
© Stack Overflow or respective owner