how to run autoit file from excel
Results 1 to 2 of 2

Thread: how to run autoit file from excel
Thanks Thanks: 0 Likes Likes: 0

  1. #1
    New Member
    Join Date
    May 2019
    Posts
    24
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default how to run autoit file from excel

    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

  2. #2
    MrExcel MVP
    Junior Admin
    Joe4's Avatar
    Join Date
    Aug 2002
    Posts
    50,384
    Post Thanks / Like
    Mentioned
    54 Post(s)
    Tagged
    11 Thread(s)

    Default Re: how to run autoit file from excel

    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?
    TIPS FOR FINDING EXCEL SOLUTIONS
    1. Use the built-in Help that comes with Excel/Access
    2. Use the Search functionality on this board
    3. A lot of VBA code can be acquired by using the Macro Recorder.

    "Give a man a fish, feed him for a day. Teach a man to fish, feed him for life!"

Some videos you may like

User Tag List

Tags for this Thread

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •