ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   launching an external program or proceedure within vba (https://www.excelbanter.com/excel-programming/348126-re-launching-external-program-proceedure-within-vba.html)

Gary''s Student

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?



All times are GMT +1. The time now is 09:43 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com