Results 1 to 15 of 15

Excel can't run an existing specific EXE file on system32 folder !! HELP PLZ

Threaded View

nkiine Excel can't run an existing... 01-09-2017, 12:20 PM
CK76 Re: Excel can't run an... 01-09-2017, 12:54 PM
nkiine Re: Excel can't run an... 01-09-2017, 01:08 PM
CK76 Re: Excel can't run an... 01-09-2017, 01:40 PM
nkiine Re: Excel can't run an... 01-10-2017, 03:30 AM
CK76 Re: Excel can't run an... 01-10-2017, 10:03 AM
nkiine Re: Excel can't run an... 01-11-2017, 07:02 AM
CK76 Re: Excel can't run an... 01-11-2017, 08:02 AM
nkiine Re: Excel can't run an... 01-11-2017, 10:29 AM
CK76 Re: Excel can't run an... 01-11-2017, 10:38 AM
nkiine Re: Excel can't run an... 01-11-2017, 10:40 AM
LJMetzger Re: Excel can't run an... 01-11-2017, 11:24 AM
nkiine Re: Excel can't run an... 01-11-2017, 12:14 PM
LJMetzger Re: Excel can't run an... 01-11-2017, 09:22 PM
nkiine Re: Excel can't run an... 02-27-2017, 05:54 AM
  1. #5
    Registered User
    Join Date
    12-16-2016
    Location
    morocco
    MS-Off Ver
    2016
    Posts
    10

    Re: Excel can't run an existing specific EXE file on system32 folder !! HELP PLZ

    i honestly can't tellthe difference between the SysWOW64\cmd.exe and System32\cmd.exe...Anyway here is the code i am using:
    Dim data As Range
    Dim voi As Range

    ' The variables data & voi contains the cells that will
    ' cause an alert when they are right clicked.
    Set data = Range("J2:J25,V2:V25,AG2:AG25")
    If Not Application.Intersect(data, Range(Target.Address)) _
    Is Nothing Then
    t = Shell("cmd.exe", vbNormalFocus)
    Application.Wait Time + TimeSerial(0, 0, 2)
    SendKeys "telnet 10.220.44."
    SendKeys Range((Target.Address)).Offset(0, -1)
    SendKeys "{ENTER}"
    Application.Wait Time + TimeSerial(0, 0, 2)
    SendKeys "user1{ENTER}"
    SendKeys ("PASS11")
    Application.Wait Time + TimeSerial(0, 0, 1)
    SendKeys "conf t{ENTER}int fa0/"
    SendKeys Range((Target.Address)).Offset(0, -2)
    SendKeys "{ENTER}"
    SendKeys "sw acc vl "
    SendKeys Target.Value
    SendKeys "{ENTER}sh{ENTER}no sh{ENTER}"
    SendKeys "end{ENTER}wr{ENTER}exit"
    Application.Wait Time + TimeSerial(0, 0, 1)
    SendKeys "{NUMLOCK}", True
    MsgBox "DONE"
    End If
    End Sub

    edit:> see attachment.
    Attached Images Attached Images
    Last edited by nkiine; 01-10-2017 at 06:10 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Extract specific cells from multiple excel files in same folder to new summary file
    By Derek Holden in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-02-2014, 01:43 AM
  2. Import TXT files from a specific folder into Excel - TXT file names change hourly
    By jeepinjeff in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-16-2013, 04:08 AM
  3. Search a word file in a specific folder and copy text to excel
    By corinereyes in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-02-2012, 08:15 AM
  4. Macro for copying specific data from excel files in a folder to a newly created excel file
    By Raju Radhakrishnan in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-06-2012, 02:24 PM
  5. Finding a specific Excel file Name from a folder through VBA
    By daksh1981 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-30-2010, 06:56 AM
  6. Opening specific file or folder from Excel
    By goranm in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-12-2010, 08:53 AM
  7. searching folder for existing file
    By TedH in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-26-2009, 05:23 PM

Tags for this Thread

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1