Run Python Code From Excel with VBA

  Рет қаралды 35,595

NeuralNine

NeuralNine

Жыл бұрын

Today we will learn how to run Python scripts from Excel using VBA macros.
◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
📚 Programming Books & Merch 📚
🐍 The Python Bible Book: www.neuralnine.com/books/
💻 The Algorithm Bible Book: www.neuralnine.com/books/
👕 Programming Merch: www.neuralnine.com/shop
🌐 Social Media & Contact 🌐
📱 Website: www.neuralnine.com/
📷 Instagram: / neuralnine
🐦 Twitter: / neuralnine
🤵 LinkedIn: / neuralnine
📁 GitHub: github.com/NeuralNine
🎙 Discord: / discord
🎵 Outro Music From: www.bensound.com/

Пікірлер: 33
@9785633425657
@9785633425657 9 ай бұрын
Thanks for the explanation. I work a lot with both python and excel+vba and this will surely be useful in my project! Have a good day, man!
@melodijouningeniero
@melodijouningeniero Жыл бұрын
This is amazing content! Right to the point! Congrats and thank you!
@irfanshaikh262
@irfanshaikh262 Жыл бұрын
This is fabulous content. I love your python videos and more importantly the concepts of python you bring to us. Really enjoyed your encrypted python logging video. Is also like to point out that in this video instead of adding up extra backslashes, we can pass the path as a raw string. For example : pd.read_excel(r"C:\Users\Admin\myfile.xlsx"
@onlyeducation1353
@onlyeducation1353 3 ай бұрын
Finally i have created this visualization data with help of your videos ...thanks bro🥀
@li249
@li249 5 ай бұрын
It is so helpful! Thanks a lot!
@danielbolivar1601
@danielbolivar1601 Жыл бұрын
You helped me a lot! Ty
@marvinl.3710
@marvinl.3710 5 ай бұрын
This is amazing! thank you
@udaya129
@udaya129 Ай бұрын
clear and concise
@user-ih7ot7vl8u
@user-ih7ot7vl8u 10 ай бұрын
You are my teacher 🙌🏻
@makonduchiyesu7021
@makonduchiyesu7021 Жыл бұрын
I asked a question recently on a video you did 1 year ago about setting up Neovim from scratch. The problem is that I can't install any plugins. Whenever I reach the step where you enter 'PlugInstall' it tells me that no plugin to install, and it doesn't matter which plugin, all of them are failing. I have tried google but no solution. This is when I am learning Linux and tools.
@dinohsu1019
@dinohsu1019 Жыл бұрын
How about pyxll? Is that any easier? Thanks again.
@netspeedz3397
@netspeedz3397 7 ай бұрын
This is off topic but how did you get your VBA Editor to have 'dark mode' or 'dark theme'? I am able to modify the code to show dark but not the panes and menu drop downs, etc.
@stephanetionfe6519
@stephanetionfe6519 Жыл бұрын
please how to do the same opération witch access
@manvirschneider9103
@manvirschneider9103 Жыл бұрын
How to do this on macOS?
@manarmimi3073
@manarmimi3073 Жыл бұрын
Hi, how to creat database in Excel .
@orvarmagnus
@orvarmagnus Жыл бұрын
how do you avoid the permission Error when the excel file is already open? "permissionerror: [errno 13] permission denied: '......xlsx'"
@sergiorojas3985
@sergiorojas3985 10 ай бұрын
I have the same problem, and not sure is for the side of the permissions in the excel file, or a configuration in the Python editor
@BrendaRojasDelgado
@BrendaRojasDelgado 11 ай бұрын
I need help. My py file runs perfectly when executed independently. However, when I run the VBA script it throws an error that I am incapable of seeing because cmd shuts down in a blink of an eye. Thanks in advance.
@sannti741
@sannti741 7 ай бұрын
Same happen to me. Did you solve the problem?
@user-ig8dz6sg1e
@user-ig8dz6sg1e 8 ай бұрын
It looks like I managed to open the shell but it's instantly closed and does nothing. btw I use Spyder from Anaconda. Any suggestion to tackle this issue?
@shehab976
@shehab976 Жыл бұрын
why dont you use a simple hyperlink targeting ur script,its going to work same way
@stephanetionfe6519
@stephanetionfe6519 Жыл бұрын
please can you do the same with ms access i really need it
@danwallace9017
@danwallace9017 10 ай бұрын
Yes you can. VBA is available in all MS Office applications.
@mickyguy157
@mickyguy157 10 ай бұрын
Command prompt opens but immediately closes without outputting anything. Any idea what causes this or how to fix?
@sannti741
@sannti741 7 ай бұрын
Same happen to me. Did you solve the problem?
@pieddelalettre903
@pieddelalettre903 6 ай бұрын
Well that's what happens to everyone using the proposed solutions by this clown @@sannti741
@vivekbharadwaj8211
@vivekbharadwaj8211 2 ай бұрын
@@sannti741 Check for return code for any error (try using single quote for file path)
@nathanielsdalmeida1632
@nathanielsdalmeida1632 11 ай бұрын
Same voice as Trevor Noah tha'ts crazy lol
@lawrencedoliveiro9104
@lawrencedoliveiro9104 Жыл бұрын
That’s like saying you can stick feathers onto a frame with wax and make it fly. Neat trick, but why would you want to?
@kolavithonduraski5031
@kolavithonduraski5031 Жыл бұрын
??? using maybe datascience tools and visualisation with your data and give it back to excel if needed, with more advanced visualisations ? you can do stuff with excel, but python is way more powerfull
@gobinappinnai2378
@gobinappinnai2378 11 ай бұрын
I am getting AttributeError: 'Dataframe' object has no attribute 'Prices'
@tcgvsocg1458
@tcgvsocg1458 Жыл бұрын
literally excel but Worst
How to Replace VBA with Python(Step-By-Step Tutorial)
31:19
Excel Macro Mastery
Рет қаралды 259 М.
Introducing Python in Excel
19:01
Leila Gharani
Рет қаралды 1,5 МЛН
Smart Sigma Kid #funny #sigma #memes
00:26
CRAZY GREAPA
Рет қаралды 12 МЛН
Inside Out Babies (Inside Out Animation)
00:21
FASH
Рет қаралды 24 МЛН
Magic trick 🪄😁
00:13
Andrey Grechka
Рет қаралды 7 МЛН
Useful gadget for styling hair 🤩💖 #gadgets #hairstyle
00:20
FLIP FLOP Hacks
Рет қаралды 11 МЛН
Simple Automated SSH Python Bot
17:50
NeuralNine
Рет қаралды 30 М.
Python in Excel vs. VBA - What You Should Learn in 2024!
10:05
David Langer
Рет қаралды 36 М.
JPEG is Dying - And that's a bad thing
8:09
2kliksphilip
Рет қаралды 256 М.
Will Python Kill Excel VBA?
12:39
Excel Macro Mastery
Рет қаралды 338 М.
Makefiles in Python For Professional Automation
13:43
NeuralNine
Рет қаралды 41 М.
This Is Why Python Data Classes Are Awesome
22:19
ArjanCodes
Рет қаралды 799 М.
Modern Python logging
21:32
mCoding
Рет қаралды 171 М.
Is PYTHON or VBA better? Which language should you learn? 🤔
11:47
I've been using Redis wrong this whole time...
20:53
Dreams of Code
Рет қаралды 349 М.
My iPhone 15 pro max 😱🫣😂
0:21
Nadir Show
Рет қаралды 2 МЛН
low battery 🪫
0:10
dednahype
Рет қаралды 1,8 МЛН
Bluetooth connected successfully 💯💯
0:16
Blue ice Comedy
Рет қаралды 2,7 МЛН
Хакер взломал компьютер с USB кабеля. Кевин Митник.
0:58
Последний Оплот Безопасности
Рет қаралды 2,4 МЛН