Excel 2010 VBA Tutorial 64 - Sendkeys

Поделиться
HTML-код
  • Опубликовано: 15 окт 2024
  • Official Website: yourprogramming...
    Forum: yourprogramming...
    Facebook: / yourprogrammingnetwork

Комментарии • 39

  • @Rice0987
    @Rice0987 2 года назад

    Came to work. Whole day had writing sendkeys. At the end of it pressed F5 and made everything in one moment.😁
    That's our goal!😎

  • @paranguaricutirrimir
    @paranguaricutirrimir 10 лет назад +1

    Congratulations! I've been watching your videos since "Excel 2003 VBA" tutorials. Keep up with the great work!

  • @almo28
    @almo28 9 лет назад +3

    Great channel! I got here what I have been looking a couple days with no luck, thank you! :D

  • @CollDott
    @CollDott 9 месяцев назад

    👍 teaching appreciated!! Got stuck with AppActivate claiming invalid procedure call ect.. any idea why? It happened when you wanted to call back the calculator for 2nd calcuation.

  • @abdulla701
    @abdulla701 6 лет назад +1

    Call AppActivate(CalcID, False) is erroring out, can you please help....

  • @dnyanesh9080
    @dnyanesh9080 7 лет назад

    Are SendKeys and AppActivate subroutines which is why you are calling them using 'Call' while waitTime is a function and doesn't require the 'Call' syntax?

  • @carlospalacios4843
    @carlospalacios4843 4 года назад

    I've been looking for this. Weeks. thank you so much.

  • @jmtiwari5766
    @jmtiwari5766 5 лет назад +1

    Superb. Excellent explanation. Very helpful. Thanks.

  • @margaretchau8598
    @margaretchau8598 4 года назад

    Great video! But I am using excel 2019 and met with "Invalid procedure call or argument (Error 5)" when running the codes. Please help. Thanks!

  • @atindrachakraborty7037
    @atindrachakraborty7037 7 лет назад

    Hey Matt, Great work with teaching us so much.
    I was trying to create a macro which on clicking any command_button would take a screenshot, open word and paste it there.
    I have been able to code the part of opening a word doc, However, i am not being able to simulate the pressing of the PrtScrn and Ctrl+V. ( i used sendkeys for this, but it's still not working )
    Could you please let me know how i can get this done?

  • @travllingisfun6189
    @travllingisfun6189 4 года назад

    Can we use these hot keys when we are automating internet Explorer..

  • @waichan4001
    @waichan4001 6 лет назад

    Are VBA can do send key for non-Microsoft program such as Oracle Accounting System?

  • @vetriselvan1029
    @vetriselvan1029 6 лет назад

    Thank you for this video, Sir is it possible to get the filter menu in a excel sheet using sendkeys function(Alt +Downarrow).Thank you in advance.

  • @getintouchforyours2782
    @getintouchforyours2782 4 года назад

    Hi, i need to pass the TAB key to 3rd party application is there any way, please help

  • @kabukijoe99
    @kabukijoe99 2 года назад +1

    good lesson thank you

  • @Mat-ml9oq
    @Mat-ml9oq 8 лет назад

    Thanks Matt for all your help! Do you know how to take the square root with the Microsoft Calculator in VBA, thanks?

    • @SyedKollol
      @SyedKollol 8 лет назад

      +Mathew Fok ,
      ActiveCell.Value = Cells(x, y).Value ^ (1 / 2)

  • @iLUUVESCENEi
    @iLUUVESCENEi 7 лет назад

    There about a 50% chance when calling the notepad that it opens behind the calculator, and herby just copies the result back into the calculator. Occurs when a calculator is already open.
    I'm confused about this randomness.

  • @Mubasharpk2
    @Mubasharpk2 6 лет назад

    nice video and great work but i face one problem i need to use mouse too...because my software need to click on some options

  • @ahmedhassan-un8yq
    @ahmedhassan-un8yq 11 лет назад

    Thank you please I have a question about a program for archiving and PDF documents in Excel and work Hyperlink and stores incoming and outgoing taken Skinner please

  • @oleksijm
    @oleksijm 2 года назад

    Thanks so much for this.

  • @James.Brooke
    @James.Brooke 3 года назад

    How to send spacebar key..I want to tick one radio button

  • @harishkumarn1
    @harishkumarn1 8 лет назад +1

    Great work! Thanks very much

  • @TheSunilWagle
    @TheSunilWagle 5 лет назад

    How attach file if windows explorer opened ?

  • @thomasfergusen5144
    @thomasfergusen5144 4 года назад

    great series, after i use sendkey code numlock button is deactivated. i dont know why? (i use excel 2010)

    • @YourprogrammingnetworkCoUk
      @YourprogrammingnetworkCoUk  4 года назад

      thomas fergusen yeh that’s a strange one not heard of that happening before 🤷‍♂️

  • @AJM2183
    @AJM2183 6 лет назад

    Are you still active on this channel??

    • @YourprogrammingnetworkCoUk
      @YourprogrammingnetworkCoUk  6 лет назад +2

      I have just taken about a year off due to the birth of my beautiful baby daughter :) I have a meeting booked next week with a colleague of mine to discuss relaunching content from April so subscribe and watch this space :)

  • @rajeshmajumdar4999
    @rajeshmajumdar4999 4 года назад

    Superb 👍👍👍

  • @AlexKloo
    @AlexKloo 7 лет назад

    Is SendKeys good? It is stated that it "emulates" keyboard clicks. But this is complete nonsense !!!
    From the keyboard, I will press the "1" number twice and the number 11 will be entered,
    And through sendkeys press any number of times, and only the number "1" will be entered, replacing all previous ones
    Well, what the hell is "emulation of clicks".

    • @YourprogrammingnetworkCoUk
      @YourprogrammingnetworkCoUk  7 лет назад

      you can get it to send the 11, play around with it and see. Whether it is good or not is open to debate. I would recommend against any form of business automation with it since it only takes one thing to go wrong and suddenly it is clicking/typing all over the place. But for personal use it can help speed some things up. Overall I would say its more of a gimic than actual "good"

  • @abdullahomair2811
    @abdullahomair2811 6 лет назад

    good one dude

  • @pinkhead6857890
    @pinkhead6857890 5 лет назад

    Proof that anything VBA can do AutoHotKey can do better and easier

    • @YourprogrammingnetworkCoUk
      @YourprogrammingnetworkCoUk  5 лет назад

      most corporate environments have excel and not autohotkey available so its not always about which one you think is best.

    • @pinkhead6857890
      @pinkhead6857890 4 года назад

      @@YourprogrammingnetworkCoUk I mean AHK is free and can be ran off a USB, provided the admin gives you permission to run your own executives. Unfortunately thats why im here. Our IT guy thinks freeware is a security threat but has never heard of a macro-virus.

    • @carlosguzman3085
      @carlosguzman3085 4 года назад

      @@pinkhead6857890 so much work bro, the other way is more simple...

    • @pinkhead6857890
      @pinkhead6857890 4 года назад

      ​@@carlosguzman3085
      Run, Calc.exe
      WinWaitActive, ahk_class CalcFrame
      Send, 63
      return
      Whats so complicated?
      You also dont need to run any host applications like Excel to use your AHK scripts.

  • @kapilsharma1704
    @kapilsharma1704 9 лет назад +1

    Sir in my case the below function is not working .Please help .
    all the time showing expected list separator )