How to Replace VBA with Python(Step-By-Step Tutorial)

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

КОМЕНТАРІ • 243

  • @Excelmacromastery
    @Excelmacromastery  3 роки тому +66

    I hope you enjoy this video. Let me know in the comments if you plan to use Python with Excel.

    • @anilaeek4374
      @anilaeek4374 3 роки тому +1

      I'm getting error will trying to import openpyxl thru vs code also tried to run thru terminal the error says "module error unable to import" and asking me to install mkl-packages for intel from git. How to fix this??

    • @banyagatiger
      @banyagatiger 3 роки тому

      Your tutorials are great! Keep it up mate! Hoping to see more python in excel samples! Thanks bud!

    • @OssMoss1
      @OssMoss1 3 роки тому

      Excellent tutorial - well explained, 'no fluff, no noise; honest and down-to-earth'... I was missing a few bits and it was a pain of trial n'error... your video I filled the gaps... now I'm ready to take the plunge...

    • @kasio24
      @kasio24 2 роки тому

      thanks for this report I see you from Colombia nice work. you have the new subscriber

    • @ExcelInstructor
      @ExcelInstructor 2 роки тому

      Hello
      I like your VBA videos, but will you make "python macro mastery" channel in which ull teach how to use python with excel / SAP / ERP systems?

  • @z.r.777
    @z.r.777 2 роки тому +1

    Opened the video, jumped to an area of interest, within 5 seconds I learned something new... Thank you.

  • @rickwize1182
    @rickwize1182 3 роки тому +38

    You are an excellent teacher & I learned about VBA from you. Would love to see you have a full course on Python / Excel / xlwings. Would sign up immediately!

  • @yvonplancade725
    @yvonplancade725 2 роки тому +1

    Big thanks!
    After long searches without success on the net, I arrived on your site thanks to which I finally managed to understand and implement xlwings.A great moment!!!

  • @SpManos-zeke
    @SpManos-zeke Рік тому

    Installation worked like a charm, thank you. Though I did have to use this method to find the XLSTART folder since I don't know my way around the VBA Editor in Excel 1-Click File > Options.
    2-Click Trust Center, and then under Microsoft Office Excel Trust Center, click Trust Center Settings.
    3-Click Trusted Locations, and then verify the path to the XLStart folder in the list of trusted locations.

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

    You are a Magician!
    Me reading "Hello There" after you pyxld it: "Wow!"
    Thank you for the content in the description,
    I have spent 13 minutes watching this video.
    We're on Sunday, 6PM.
    Finally I found you!

  • @ImtiazAhmad-hg4yk
    @ImtiazAhmad-hg4yk 2 роки тому +1

    This kind of teaching is addictive

  • @elsheep6951
    @elsheep6951 3 роки тому +4

    Hi Paul, since doing your webinar VBA course (thank you it has proved useful time and again) I wandered into Python, pandas and saw that they were powerful and useful but could not for the life of me see how I could use them in the office. So glad you are still here to help. It also looks like my role playing project is getting an upgrade!

  • @ckoriablack
    @ckoriablack 2 роки тому +3

    This video worth all the credits I can possibly give, so much information in just 30 minutes. Wow this was an amazing tutorial trust me I've done a lot

  • @michaellean
    @michaellean 3 роки тому +12

    Fantastic! Have been wanting to "jump ship" to Python - I can now steadily upgrade and use the best of both worlds! Thanks for the great and easy to follow intro

    • @Excelmacromastery
      @Excelmacromastery  3 роки тому +2

      You're welcome Michael.

    • @Freeflier1978
      @Freeflier1978 2 роки тому

      I was in Python before I got into Excel. I'd rather just run Python as excels backend vs VBA.
      I write most of my excel sheets using xlxswriter Python library as well.

  • @KLiCuk1
    @KLiCuk1 3 роки тому +23

    This is great - hope there are more to come. Just a quick question.... print(sheet["A10"].Value) returned "Student 9" but this is the value in cell B10 on the example sheet. I'm assuming that wasn't the actual sheet that the Python code was pointing at ? If it was then I'm confused

    • @Excelmacromastery
      @Excelmacromastery  3 роки тому +15

      You're right. Actually I inserted a column after I recorded that. It did work correctly but the ID column didn't exist when I ran it.

    • @KLiCuk1
      @KLiCuk1 3 роки тому +4

      @@Excelmacromastery Cheers - I thought so

    • @blazer125
      @blazer125 2 роки тому +3

      Glad I read the comments and I'm glad you asked this question.

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

    Thank you - this is awesome. First step taken today to learn Python thanks to you

  • @renatocorreaarrieche
    @renatocorreaarrieche 3 роки тому +12

    Nice video, thanks, I learned a lot.
    Tip: maybe there is a wrong image in 11:05. You may had removed ID column in file and used an older image.

  • @jaimesastre6393
    @jaimesastre6393 2 роки тому +1

    Wow, I do use python and Xls separately, sometimes with Pandas. But here the combination with other libraries open infinite possibilities.
    Thanks 🙏👍

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

    OMg this video is such much beter than the others. very clear and concise Such a good instructor. great work thank you!

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

    Cracking video. Really useful and informative. Thanks, mate. Best wishes from Melbourne australia

  • @donharrold1375
    @donharrold1375 Місяць тому

    "Poitin for excel" - Good video

  • @freeliberalminds
    @freeliberalminds 2 роки тому +1

    Great thanks for this tutorial sir Paul. This is very interesting and very informative.

  •  3 роки тому

    I have to postpone the babysitting job for 30 minutes just to watch and like this lol. Awesome!
    Tom from Danang.

  • @zetandpeligaming
    @zetandpeligaming 3 роки тому +3

    Very useful thanks. Been using VBA in excel for a while now, and wanted to learn another language. This bridges the gap nicely and allows me to apply what I've learnt with VBA to start playing with Python a bit more :)

    • @mKravedi
      @mKravedi 3 роки тому +1

      Same goes for myself! Very useful video! Thanks Paul!

  • @surat-dt9sr
    @surat-dt9sr 3 роки тому

    Thanks so much. I'm newbie . Your explanation quick but we got the point

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

    thank you very much good sir. you have shared some valuable knowledge to the world of excel users.

  • @tigreonice2339
    @tigreonice2339 11 місяців тому +1

    Related with selenium: I have an excel or csv file, some cells have NaN value. I want when there's no value (Nan) the driver doesn't fill in the web input(with 'Nan' or nan), just skip it to the next line code instruction.... how can I do that???

  • @DavidRejavinski
    @DavidRejavinski 2 роки тому

    This is really a very concise and powerful mini-tutorial. Take your time and revise every detail. Thanks Paul K.

  • @reng7777
    @reng7777 2 роки тому +1

    Hi i have a prolbem by importing openpyxl.. the massege says: " openpyxl is not accessed pylance, do you know what can i do from here?

  • @Jamesedwardkoch
    @Jamesedwardkoch Місяць тому

    Hey Paul. We am really looking forward to your take on the new Python inclusion in Excel :)

  • @OpenSesame001
    @OpenSesame001 3 роки тому +1

    Awesome video.. Love VBA and now I can even use VBA via Python.. thanks for insight.. also I didnt know xlsz was a zip.. nice discovery too...

  • @sanjayvaghela
    @sanjayvaghela 3 роки тому +1

    Awesome video Paul, I am always waiting for video, "VBA Code Run 1000 Times Faster" was amazing, I implemented on my code and my macro super fast now, keep posting, appreciated.. this video motivate me to learn Python.. thanks..

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

    For those who gets "ValueError: Cannot mask with non-boolean array containing NA / NaN values" Error. Please add "na=False" parameter to match function just like following:
    results = df[df['Class'].str.match('A', na=False)]

  • @MsOfficeLearning
    @MsOfficeLearning 3 роки тому

    Thank you for the best tutorial sir.

  • @MrPaunty
    @MrPaunty 3 роки тому

    Thanks Paul, that will help me in start xl automation through python

  • @azekialbayrak
    @azekialbayrak 2 роки тому

    Thank you very much Paul.

  • @taxlala
    @taxlala 3 роки тому

    i like the vedio and knowledge most.....

  • @thsetharus
    @thsetharus 2 роки тому +1

    Ser, when trying to import, I get the error "Import "openpyxl" could not be resolved from source". So what is the reason of this? may you help?

  • @jonsmile4279
    @jonsmile4279 3 роки тому +3

    QQ: at 11:09 your code shows the print “Student 9” from cell A10. Cell A10 contains “9”. Cell B10 contains “Student 9”. What am I missing?

    • @estebanalfaroorozco9289
      @estebanalfaroorozco9289 3 роки тому

      Is possibly because his first column was interpreted by pandas as an index

  • @phillipssky8049
    @phillipssky8049 2 роки тому +1

    When you do print(sheet["A10"].value) I thought you should get just number 9; how come it returned Student 9? Sorry maybe I missed something.

  • @edclarke7398
    @edclarke7398 2 роки тому

    Excellent tutorial

  • @tomoo79
    @tomoo79 3 роки тому

    Paul, thanks for this it is really interesting!
    i think the environment setup is not so straight forward, at least for me.
    I had to:
    reinstall numpy from within vscode
    update xlwings and conda:
    "conda update -c conda-forge xlwings"
    wk.close does not seem to work but wk.close() does seem to work
    initialising excel if it is not already open is also necessary
    xw.App (visible=True, add_book=True)

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

    Excellent info!

  • @arielspalter7425
    @arielspalter7425 2 роки тому

    Incredible tutorial. 👍

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

    Wish you had this for MAC. Very informative but i couldn't get the runPython from VBA too work. I did however get PyCharm and VSCode to reach in take from and give back to Excel

  • @SaidElnaffar
    @SaidElnaffar 3 роки тому

    Unique tutorial with a great contirbution!

  • @georgeiskander2458
    @georgeiskander2458 2 роки тому

    Great Video ,,,,
    Check the pictures of the excel sheet it has ID col which is wrong

  • @munafdamani6233
    @munafdamani6233 3 роки тому +4

    Thank you for sharing knowledge which is rarely available in UA-cam world.
    Dear sir, I am using Excel in stock market data analysis. It is automated with some VBA and formulas. On daily basis, I need to download 5 sheets (CSV and excel) from one site, need to change the dates at 2-3 places and have to appy some VBA code. Can the above procedure be automated?
    Currently the above procedure takes 15-20 and then I have to analyse data. If it gives direct results within 5 minutes, then it will be fantastic.

    • @Nedim89
      @Nedim89 3 роки тому

      Give me your contact I can make automation?

    • @varunaggarwal3958
      @varunaggarwal3958 2 роки тому

      Did you get a reply to your question? I can't access the reply.

    • @munafdamani6233
      @munafdamani6233 2 роки тому

      @@varunaggarwal3958 no

  • @bhaskarmukherjee7889
    @bhaskarmukherjee7889 2 роки тому

    This is advanced... Is there any source to learn Python from very basics

  • @wayneedmondson1065
    @wayneedmondson1065 3 роки тому

    Hi Paul. Thanks for this intro to Python with EXCEL. Nice to know the options and how they work together. Thanks for sharing :)) Thumbs up!!

  • @taarigo6119
    @taarigo6119 2 роки тому

    Great video, Thank you. Please I tried to run my xlsm file (with goalseek function) using python and import xlwings, but I have a run time error '1004' reference isn't valid, if I run the xlsm directly without python it works. Please what is the error?

  • @winstondemoura8267
    @winstondemoura8267 2 роки тому

    Great video!
    Random question: Where are you from?

  • @ggod00
    @ggod00 3 роки тому

    This is awesome. More stuff like this please.

  • @Denis-pq9kq
    @Denis-pq9kq 3 роки тому

    Awesome video!
    Do you know if I can install the xlwings addin on a Mac by any chance?
    Is there any pip install command for that?
    Thank you!

  • @MrMallesh1
    @MrMallesh1 3 роки тому

    Awesome video..... how to use msgbox in python, to interact with user. error handling etc.

  • @Yitoamaya
    @Yitoamaya 2 місяці тому

    Awesome. Many possibilities : )

  • @micheltw
    @micheltw 3 роки тому +1

    Great intro video for this entry of python in Excel, looking forward to get more. Can you show how to get data from a file to another file?

  • @MrMallesh1
    @MrMallesh1 3 роки тому

    Looking one more video on python ! no video since last one month ! desperately waiting one more video. thanks

  • @adrianojr9974
    @adrianojr9974 2 роки тому +1

    Just for example:
    """
    vba:
    Set new_w = Workbooks.open('workbook_path')
    Set new_s = new_w.Worksheets('sheet_name')
    new_s.Range('A1').Value = 'test'
    python pywin32 library:
    new_w = Workbooks.open('workbook_path')
    new_s = new_w.Worksheets('sheet_name')
    new_s.Range('A1').Value = 'test'
    """

  • @eprepr5914
    @eprepr5914 3 роки тому

    Very interesting. Thanks.

  • @vasanthkumarkallannavar7594
    @vasanthkumarkallannavar7594 9 місяців тому

    Good, Hey Excel MAcro Mastery i need command that reads the plotted charts and graphs in the sheet and save those charts to device, any support ?

  • @johnwayne8059
    @johnwayne8059 3 роки тому

    Well done, nice video Paul!👍👍👍 that's pretty helpful!🤟😎

  • @riteshsingh118
    @riteshsingh118 3 роки тому

    Could you please share a comparision video on efficiency of these tools.

  • @khalilothman5638
    @khalilothman5638 3 роки тому +1

    when I press the button it say :
    Error
    ---------------------------
    Traceback (most recent call last):
    File "", line 1, in
    NameError: name 'fromvba' is not defined
    -

  • @SpecArbor
    @SpecArbor 3 роки тому +1

    Im conufsed. At 11:09, you asked python to return the value in cell A10, but it returned the value in cell B10??? Can someone explain?

  • @kennethstephani692
    @kennethstephani692 3 роки тому

    Excellent video!

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

    Hi Paul,
    Newbie question. How can this be shared with other users who doesn’t have python installed? The advantage of using VBA is that distribution of the tool does not need any additional installations. Is there a workaround?
    Thanks in advance for your response!

  • @juanpablohorn6642
    @juanpablohorn6642 3 роки тому +1

    I have a question. I tried runnign the line import openpyxl, and an error popped up that says "Import "openpyxl" could not be resolved from sourcePylancereportMissingModuleSource"
    What can I do to solve this issue?
    EDIT: I could move one from this issue, but now i have another one. The problem comes when trying to run the xlwings code.
    here is my code:
    import xlwings as xw
    wk = xw.books.open(r'C:\Users\Juan Pablo Horn\Dropbox\Excel Macro Mastery\How to Replace VBA with Python(Step-By-Step Tutorial)\marks.xlsx')
    sheet = wk.sheets("Sheet1")
    rg = sheet.range("A1:C2")
    print(rg.value)
    The error says as follows:AttributeError: 'NoneType' object has no attribute 'books'.
    EDIT 2: I have solved the prior issue as well. Now the issue is when i try to run the VBA Macro to Run Python From VBA. This is what the error says:
    ---------------------------
    Error
    ---------------------------
    Traceback (most recent call last):
    File "", line 1, in
    File "C:\Users\Juan Pablo Horn\Dropbox\Excel Macro Mastery\How to Replace VBA with Python(Step-By-Step Tutorial)\PythonCalledFromVBA.py", line 5, in main
    wb=xw.Book.caller()
    File "C:\Users\Juan Pablo Horn\AppData\Local\Programs\Python\Python39\lib\site-packages\xlwings\main.py", line 763, in caller
    raise Exception('Book.caller() must not be called directly. Call through Excel or set a mock caller '
    Exception: Book.caller() must not be called directly. Call through Excel or set a mock caller first with Book.set_mock_caller().
    Press Ctrl+C to copy this message to the clipboard.
    ---------------------------
    OK
    ---------------------------

  • @markyaney9820
    @markyaney9820 3 роки тому

    Can the examples in this video be performed in Intelli J

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

    Sir I want to know if we must have Anaconda installed on our system before we can get python work this way?

  • @TheJonathanLugo
    @TheJonathanLugo 2 роки тому

    Genius! Thank you :)

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

    How can I get first row number after applying filter in Excel sheet using xlwings?

  • @sanjayvaghela
    @sanjayvaghela 3 роки тому

    Hay, one suggestion.. can you make video on VBA and selenium driver? If you can its very helpful.. Thanks in advance..

  • @dannym.1602
    @dannym.1602 Рік тому

    @11:01 why does 'print(sheet["A10"].value)' print "Student 9" when it's actually in B10 in the workbook? Then @11:51 'sheet["b15"] = "Hello There"' add the statement directly to b15 in the workbook?

  • @SeamusHarper1234
    @SeamusHarper1234 3 роки тому +7

    This is a really great introductions into the python / XLS ecosystem. I've played a lot with integrating pandas into my workflows, but I must say in most cases it's best to keep excel and other systems separate. Excels toolkit, especially considering power query, will solve nearly all problems you encounter in the wild and the benefits of python do not justify the added hassle. For example, your XLS files will not work properly on other peoples systems. You will have to setup python on your colleagues machines, and if you ship to customers.... Maybe you can freeze your script into an exe, but as an it admin, I would instantly fire any employee who executes random exe files...
    On the other hand, you can prepare your data with python, save to a CSV file and pull it in with power query. That's much cleaner.

    • @Excelmacromastery
      @Excelmacromastery  3 роки тому +2

      Thanks for the feedback Seamus. You raised some interesting points.

    • @Dr.Acula787
      @Dr.Acula787 2 роки тому

      I agree. I am the admin's nightmare myself, because I like to install software on my working PC (like Python or Total Commander as a replacement for the Windows Explorer as a filemanager) and I would love to automate more stuff. But the problem is, that other people couldn't work with the files anymore (but they have to), if I exaggerate it. So I usally stuck with Excel formulas, which works in many cases, at least for the most part.

    • @SeamusHarper1234
      @SeamusHarper1234 2 роки тому +1

      @@Dr.Acula787 try power query ;-) It does great work in automation and it ships with excel.

    • @Dr.Acula787
      @Dr.Acula787 2 роки тому

      @@SeamusHarper1234 Thanks, I will give it a try. 🙂

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

      Agreed fully. In finance & accounting teams work with huge excel files. I am yet to see any video/training on python based automation that can replace the manual/macro based processes. If anyone has such a video/training please share

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

    Dumb question, what is the performance overhead of having this communication Excel -> VBA Python especially for large datasets and analysis? while it seems very neat, I wonder if this can scale easily also debugging could become significantly more difficult, but I have very little knowledge on VBA

  • @akshayc7152
    @akshayc7152 3 роки тому

    Thank you..the video was very informative.. looking forward for more such videos..i am a beginner in python and this can be a good starting point..thankyou once again 🙏

  • @firstcommenter202
    @firstcommenter202 3 роки тому

    can python do OLE ActiveX? GUI programming, Windows API?

  • @dominikyszkowski7663
    @dominikyszkowski7663 2 роки тому

    A10 Has "9" value what od printing in my opinion is b10. Im confused. Unless there was wrong snip to show outcome ?

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

    Excellent video, quick question if I may,
    I ended up watching this video as I am learning Macros for Excel but I find VBA to be archaic and old-fashion in its syntax (not to mention some limitations as not being able to resize both dimensions in a dynamic bi-dimensional array, but only the second one). Also, for me it is a non- transferable skill (where else I am going to use VBA?
    The question is: Can I use python (and those specific libraries) to achieve the same as I would with VBA, without the need to learn VBA syntax? or I still need to know the VBA syntax and only then do the translation into python?
    Thank you in advance.

  • @martinholmes3305
    @martinholmes3305 2 роки тому

    Wow!!!!!!!!!!!!!! I did not even know... will be working through this on my project and seeing what gives, thank you so much Maestro. Can this be done on mobile phone, maybe need to run pyhton on colab? Or can my VBA project only be converted easily into an Android app using a PC, or running the python on Colab and Google Drive, on the Chrome browser for android? It would be cool if I could scrape the data and process it, as the VBA does currently, but on android mobile phone as well.

  • @daves4026
    @daves4026 3 роки тому

    Great video.

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

    How come you didn’t use the spyder development?

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

    hello & thank you for a wonderful tutorial! i've been fighting with xlwings for about three hours and i can't get the xlwings ribbon to appear in excel 2013. all other parts appear to be working. i'm working from a fresh anaconda install and xlwings v. 0.27.15 which conda installed itself. inside the vba editor, i see and can check xlwings as a reference. it also appears and appears to load correctly as an excel add-in. the only thing that is going wrong is that the ribbon won't appear. is there anything to be done at this point?

  • @manuelmoreno9910
    @manuelmoreno9910 2 роки тому

    This means that we could run excel macros on python?

  • @julianevans2256
    @julianevans2256 2 роки тому

    Followed this tutorial fine testing code in Vscode up until using xlwings where I'm getting an error; Exception has occurred: XlwingsError x Couldn't find any active App! Am I missing something?

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

    FYI, I could only get the xlWings section to work if Excel was actually running.
    It didn't have to be on the file being used (blank work sheet was OK).

  • @ojieuntoo
    @ojieuntoo 3 роки тому

    Any idea how to add data to table in worksheet with python?

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

    If .main is changes with fun1 will it call def fun1 from python code ? 28:38

  • @MrSabotage83
    @MrSabotage83 3 роки тому

    Hey Paul,
    Brilliant stuff. I just started to learn PY and I have a question if I may...
    Q1 - when you set the df to the example range (a1:c13), can you set it to named ranges
    ex. df = sheet.range("myNameRNG").options(pd.DataFrame).value

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

    I'm getting a permissions error when I try to save the workbook with the same code we have in the first part of the video?

  • @YDysgwrAraf
    @YDysgwrAraf 3 роки тому +1

    So, to summarise, the main advantage to using Python is access to pre-rolled analytical libraries such as Pandas. Is there anything else I'm missing? Apart from it being quite fashionable, obviously.
    Also, it seems that your data needs to be pretty strict in its structure, otherwise navigating it/loading it into Pandas is going to be just as difficult as writing custom VBA. As we all know from bitter experience, allowing unstructured data is both a huge advantage and a massive disadvantage to using Excel.

    • @techsalesforce
      @techsalesforce 3 роки тому

      I'm also wondering about this...

    • @Excelmacromastery
      @Excelmacromastery  3 роки тому +1

      Pandas works quite well with unstructured data.
      Other advantages of Python are the ability to manipulate files directly without Excel(or opening them) and the general syntax of the language makes it less verbose than VBA>

    • @sparky191
      @sparky191 3 роки тому

      You still need excel for the object model in some situations in these examples. So that's the lowest common denominator in many solutions. I hoped you could get away with the limitations of the license in terms of running it say on a server without excel. But it doesn't seem possible. Main advantage seems to be if you already know python then this is more accessible. Also VBA isnt being developed so no new functionality

  • @tarunprakashsingh
    @tarunprakashsingh 2 роки тому

    How do i string or json from vba to Python for parsing and after parsing python will write the Parsed value to excel sheet. I believe parsing json is easy on python than vba.

  • @alphavolpe
    @alphavolpe 3 роки тому

    I try to download the source code from the description but I never got a link emailed to me, is the email link service down? I've tried for a couple of your videos but the download link is never sent.

  • @eliotharreau7627
    @eliotharreau7627 3 роки тому

    Hi Paul, what is your color theme for VS code ? Thank you.

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

    Splendid!

  • @nullhas
    @nullhas 3 роки тому +1

    Sir
    Is there any way to convert multiple pdf files (a folder contains) in to TIFF using VBA?

    • @bagnon
      @bagnon 3 роки тому

      NO, but you can use PDF software to merge sheets into one pdf then save as .TIFF

    • @KaiWeissmann
      @KaiWeissmann 3 роки тому +1

      You could try to merge it with Python (through VBA) and then save it as TIFF

    • @sandragrushoff9844
      @sandragrushoff9844 3 роки тому

      yes but it's difficult, get it into a chart then "take photos" - it'd be a bit of a project though, you might be able to get started by finding Ron De Buin's site though.

  • @thomasl.4081
    @thomasl.4081 2 роки тому

    Best way for me (and 1:1 VBA commands) is with the Python win32 functionality

  • @Kyle906-Q8
    @Kyle906-Q8 2 роки тому

    When i did the “import pandas as pd” it leaves a red mark under pandas and says “import pandas could not be resolved from source”??? I cant use it.
    Even though I downloaded anaconda where the pandas is supposed to be part of it right?
    Any help for a curious college student?

  • @CC-pt3di
    @CC-pt3di Рік тому

    11:11 cell A10 value is "9" from the screenshot? Cell B10 value is "Student 9"

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

    Hey Paul @Excelmacromastery ! I have a question and I will be grateful if you will answer :) I'm working with Excel but I don't know how to use VBA, I have some programming basics, but I can barely read VBA code intuitively (maybe 5% of some easy code), now I need to automatize excel files, something like: filter by column AJ values [90%:150%) and copy all the data to the new sheet .. and so on and so on. Also I'll need some UI with options and values input.. what is the best option for me - to start learning VBA or to start learning Python? Thank You in advance!

  • @SaulEduardoo2
    @SaulEduardoo2 2 роки тому

    Hello Paul, just a minimal doubt, I have seen that the r and the f are constantly used as (r'somehting here") and (f'things here'), but, what are those stand for?

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

      r for instance allows you to avoid double backslashes in your path (at least in windows)
      f is to create a string with {data} inside, better than "this" + "+" + variable

  • @rsdyeahh
    @rsdyeahh 3 роки тому

    Any chance to get RTD working?