I need to open an excel file before i read from it or i'll get an error so i figured i'd just work that into the code.
Dim var As Variant
var = Shell("C:\rip.xls", vbMaximizedFocus)
But with everything but .exe files, it gives an invalid argument error, is there some way i can run an excel file like this?
Dim var As Variant
var = Shell("C:\rip.xls", vbMaximizedFocus)
But with everything but .exe files, it gives an invalid argument error, is there some way i can run an excel file like this?