how to run autoit file from excel

nadavrock

New Member
Joined
May 15, 2019
Messages
24
im getting a path error for somre reason. what is wrong with my path?


Sub Autoit()


Dim FileName1 As String


FileName1 = "C:\Program Files (x86)\AutoIt3\AutoIt3.exe e:\1\glassshatter.au3"
runscript = Shell(FileName1)
End Sub
 

Some videos you may like

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
53,653
Office Version
365
Platform
Windows
First thing I would check is to see whether both of those are valid paths on that particular computer, i.e. are you able to browse to:
C:\Program Files (x86)\AutoIt3
and
e:\1
on that particular computer, and do you have the files indicated under both of those paths?
 

Watch MrExcel Video

Forum statistics

Threads
1,102,448
Messages
5,486,962
Members
407,574
Latest member
Greso

This Week's Hot Topics

Top