Thread: Running program
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Greg[_32_] Greg[_32_] is offline
external usenet poster
 
Posts: 1
Default Running program

Hi

I am just wondering how to open a file using a commandbutton on my userform.

I have tried the shell execute but it seems to be a error

here is what I have tried so far

Dim RetVal
RetVal = Shell("C:\darts\darts.mdb", vbMaximizedFocus)

it is saying it is a invalid proceedure call or argument

runtime 5 error

Thanks

Greg