How to use GitHub Copilot with VBA in Excel

Поділитися
Вставка
  • Опубліковано 21 жов 2024

КОМЕНТАРІ • 14

  • @michaelm3404
    @michaelm3404 Рік тому +9

    God bless you. Been looking for a _long_ time to be able to edit contents of VBA editor from a proper text editor like VS Code. Even without copilot, this is a game changer. The VBA editor is so archaic when ever you open it up a sarcophagus in Egypt comes to life and a plague of flies is released.

    • @tdsdesa
      @tdsdesa 9 місяців тому +1

      bro I laughed so hard at the metaphor, so true. Looks like Microsoft gave up on that editor two decades ago

  • @davidsmiththeaiguy
    @davidsmiththeaiguy Рік тому +3

    Wow, cant believe i found your video, its exactly what ive been lookkng for. Would you believe Bing GPT suggested your video. I'm completely new to GitHub but have been working on vba solidly for the last 12 months. Would this be able to read an existing xlsm file and help fix some bugs?

    • @xlwings9689
      @xlwings9689  Рік тому

      Possibly yes, although I would expect the next version (Copilot X) that will work more like Chat GPT, to be even more suited for that use case

  • @UTJK.
    @UTJK. 28 днів тому

    Oh my God! But this is a dream come true! VBA on VSCode. Why isn't this part of Excel officially?

  • @Sam-pg4bw
    @Sam-pg4bw Рік тому +1

    This is so cool! Does xlwings auto-sync work with MS Access too? I'm an Access dev and would love to give this a shot

    • @xlwings9689
      @xlwings9689  Рік тому +1

      It’s Excel only but the code is open source and you could port it to work wit Access by using Python/pywin32 directly.

    • @Sam-pg4bw
      @Sam-pg4bw Рік тому +1

      @@xlwings9689 I stumbled through the edits (took me forever to find it) but I got it working in Access! Thanks for the suggestion, this is incredible!

  • @flexyourdata
    @flexyourdata 8 місяців тому

    Seems very promising, thanks for sharing!
    Unfortunately I tried this and am getting "error walking file system: PermissionError [WinError 5] Access is denied: [path to local application data]". This happens even when I run VS Code as Administrator.
    Any clues as to what might be the issue? Thanks

    • @felixzumstein1302
      @felixzumstein1302 8 місяців тому +1

      This is likely an issue with how you run xlwings.exe, so probably best to run it from a Command Prompt that you start with admin privileges (right click > Run as administrator). I don't think that when you start VS Code as admin it automatically runs the Terminal as admin, too.

  • @VC-oo2mi
    @VC-oo2mi Рік тому +1

    How do you get VS to be your IDE for writing VBA on excel in the first place?

    • @liagdooh7120
      @liagdooh7120 Рік тому

      ua-cam.com/video/xoO-Fx0fTpM/v-deo.html

  • @darshanpanchal3046
    @darshanpanchal3046 Рік тому

    great tutorial sir, i am getting one problem that if a cell is active(double clicked) in excel and i try to interact with that file, everything just hangs without giving any error, please provide solution to handle this situation please, thank you

  • @Paul-om1zs
    @Paul-om1zs 10 місяців тому

    its a game changer. thank you!