View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Gary''s Student Gary''s Student is offline
external usenet poster
 
Posts: 11,058
Default launching an external program or proceedure within vba

Yes:

sub macro()
x=shell("cmd.exe /c C:\Userguide.pdf", 1)
end sub

Will launch the Acrobat Reader and open a file with it
--
Gary''s Student


"Mark HOlcomb" wrote:

Can a lunch a proceedure or an .exe from vba?