VBA Expert: Handling pop-ups with APIs

Поделиться
HTML-код
  • Опубликовано: 6 сен 2024

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

  •  7 лет назад

    Hey, amazing video

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

    if popup window is from Excel, then this procedure cannot handle? so this procedure can only handle popup windows raised from programs other than Excel?

  • @TuanNguyen-sy1dx
    @TuanNguyen-sy1dx 28 дней назад

    Thank u so much. I love you bro

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

    I thought you were going to explain to get the handle of a child after the button to call it was clicked by the parent. I'm trying to do that and the code stalls after the child window appears.

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

    I am facing a problem.....I want to click ok on pop up message ,that appears on Excel sheet, using vba code..... please tell me command..... thanks in advance

  • @ganeshs1360
    @ganeshs1360 11 месяцев назад

    Please share the code

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

    Thank-you for the video. It is very clear you are a great teacher. The code worked great on my computer. I tried to use it on a colleague's computer. And the code froze on the outer loop after 267 handles. His computer processor is not as fast as mine. Is there a change that can me made to the code to accommodate a slower processor?

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

      Sorry we were having network problems and that appears to have been the cause of the problem.

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

    Bart, my vba is throwing me the next message when i copy the code:
    "The code in this project must be updated for use on 64-bit systems. Please review and update Declare statements and then mark them with PtrSafe attribute"
    Can you help me with this??

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

      Hi Alejandro More. The declaration of the API's is slightly different for the 64bit system than the 32bit system. You need to add "PtrSafe" after "Declare".

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

    Hello Bart thank you for you code. It's working perfect, but when file with the same name exist then vba is throwing me the confirmation message "Confirm save as". I tried to develop the "Child3", but vba is freezing on moment confirmation message appears. Thank you:)

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

      Hi Sviatoslav. Is the problem that VBA doesn't go to the next line of code until the extra popup disappeared?

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

      Hello Bart, thank you for reply. Yes, correct. Can you advice some workaround?

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

      Hi Sviatoslav. I've encountered this issue as well in the past. I am not sure where the script is but here is what I did: First, create a vbs script to push the button which loops until the button is found. Next, call the script just before the line where your VBA script stops.
      If this isn't clear enough then I'll try to explain it in more detail at a later point.

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

      Hi Bart, thank you for reply. I found video on youtube explaining the idea you described - ruclips.net/video/G-2khNFYQl8/видео.html . But I'm just wondering is there way loop for intial window "save as" as well and do it in one vbs script.

  • @TheMuralipandu
    @TheMuralipandu 3 года назад

    Can u share code pl

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

    muy bueno,, go on.