The 3 Critical Data Scenarios Every VBA User Should Know

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ก.ย. 2024

ความคิดเห็น • 48

  • @Excelmacromastery
    @Excelmacromastery  หลายเดือนก่อน +14

    Let me know if this video is helpful😀

    • @Abhishek9891-s8j
      @Abhishek9891-s8j หลายเดือนก่อน

      Hey, i have one doubt. Have you worked with automating importing pdf files to excel? In my case the pdf format is same and while importing it to power query, i select every 6th page which generally have table. I was wondering if there is any way to automate this part? Your videos are amazing btw, i have learned a lot from you and wise owl in my vba journey

    • @fahadsardar6180
      @fahadsardar6180 หลายเดือนก่อน

      Yes. Of course it was useful. Thank you for sharing the wisdom

    • @zakimoustapha7296
      @zakimoustapha7296 หลายเดือนก่อน

      Dear sir what is sdcproduct and sdcquantity used in .cells(i,...)
      Is it a dynamic range declared in excel?

  • @jyotishyamu
    @jyotishyamu หลายเดือนก่อน +1

    Thank you for an excellent Tutorial. My sincere thanks to you for videos on Arrays, Collections, Dictionary and Classes too. I sure learnt a lot.

  • @JustAnotherPassenger
    @JustAnotherPassenger หลายเดือนก่อน +1

    Thank You. Your videos are always very helpful.

  • @kcerny43
    @kcerny43 หลายเดือนก่อน

    Your videos are extremely helpful, I'm not joking. They solved many problems I faced before. I wish I knew these methods many years ago.

  • @LaloinLondon
    @LaloinLondon หลายเดือนก่อน

    2:41 Your videos are always helpful. However, bringing data with ADO from a spreadsheet can be a bit tricky when you have codes in the same column that can be numeric and alphanumeric. Examples: 1234, 1234-2. Nowadays, Power query is what I use to aggregate data.

  • @Notone6789
    @Notone6789 หลายเดือนก่อน

    It would help me to understand situations in which VBA is a better way to filter, group, etc. than Excel arrays functions and pivot tables, especially when storing data in the data model to improve speed.

  • @brianpelkey8286
    @brianpelkey8286 หลายเดือนก่อน +1

    I input the data into a worksheet labeled "Sales" and input the VBA code into a procedure called "Private Sub FilterData()", but the code generates an Object error at "Set rg = shSales.Range("A1").CurrentRegion", evidently because the "Sales: worksheet hasn't been dimmed and neither has the workbook, unless it is assumed it is "Thisworkbook".

    • @NigelSomers-y7x
      @NigelSomers-y7x หลายเดือนก่อน

      I had the same problem and overcame it by using Set rg = Worksheets("Sales").Range("A1").CurrentRegion

    • @Excelmacromastery
      @Excelmacromastery  หลายเดือนก่อน

      ShSales is the code name of the worksheet. See excelmacromastery.com/excel-vba-worksheet/#Using_the_Code_Name_of_a_Worksheet

  • @joaocustodio2094
    @joaocustodio2094 หลายเดือนก่อน

    Paul, thanks for another great video.

  • @societyuser6659
    @societyuser6659 หลายเดือนก่อน

    Thanks , your video always helpful to understand the various VBA concept. ❤❤

  • @fksoftware
    @fksoftware หลายเดือนก่อน

    Thank you. I've learnt a lot.

  • @nakarmi0205
    @nakarmi0205 หลายเดือนก่อน

    Just what I was looking for, great video

  • @michaelangellotti5741
    @michaelangellotti5741 หลายเดือนก่อน +2

    Great but can't get the workbook code.

  • @SriramM289
    @SriramM289 หลายเดือนก่อน +1

    Hi Paul, at 9:28, I see sdcProduct and sdcQuantity. I do not see that these aren't declared earlier. Can you help me understand this?

    • @Excelmacromastery
      @Excelmacromastery  หลายเดือนก่อน

      They are enums. Variables that store numbers. They make the code more readable.

  • @Meolimo
    @Meolimo หลายเดือนก่อน

    merci beaucoup 🙂

  • @robertw236
    @robertw236 หลายเดือนก่อน

    Awesome!

  • @RobertWoodman
    @RobertWoodman หลายเดือนก่อน

    This is a very useful video. Thank you. However, I work with lots of named tables in Excel. I know that referencing cells in named tables differs from referencing cells by range. How does the VBA code change?

    • @Excelmacromastery
      @Excelmacromastery  หลายเดือนก่อน +1

      It's easier Robert. You use the DataBodyRange property of the table to get the data range. To include headers use the Range property.

  • @henrikijonkoping4694
    @henrikijonkoping4694 หลายเดือนก่อน

    Thank you§

  • @YanYarman
    @YanYarman หลายเดือนก่อน

    Super!

  • @121960864
    @121960864 หลายเดือนก่อน

    thank you

  • @elrawshmon
    @elrawshmon หลายเดือนก่อน

    Hello ❤
    How are you?
    I hope you're in the best condition.
    I was looking for a VBA code that uploads files to the One Drive website
    can you help me with that?
    Thank you very much

  • @outby50
    @outby50 หลายเดือนก่อน

    @13:11 you can use a 1-dimensional array as the dictionary value and skip the index to the separate 2-dimensional array, no? Proof-of-concept:
    Sub test()
    Dim odict As New Scripting.Dictionary

    odict.Add "plums", Array(77, 105)

    odict("plums") = Array(odict("plums")(0) + 10, odict("plums")(1) + 13)
    Debug.Print odict("plums")(0), odict("plums")(1)

    End Sub

    • @Excelmacromastery
      @Excelmacromastery  หลายเดือนก่อน +1

      Then you have multiple arrays that you need to write to the worksheet individually

  • @kcerny43
    @kcerny43 หลายเดือนก่อน

    Paul, your example for download contains only a pdf file! I'd expected an Excel worksheet.

    • @Excelmacromastery
      @Excelmacromastery  หลายเดือนก่อน

      All the code is available in the Effective Excel VBA course😀

  • @fatihkarayel
    @fatihkarayel หลายเดือนก่อน

    Which Library I have to use for "Microsoft.ACE.OLEDB.12.0" . I can't find this Library in References in MS Excel 365.

    • @Excelmacromastery
      @Excelmacromastery  หลายเดือนก่อน +1

      Microsoft ActiveX Data objects 6.1 Library

  • @bogdanexit1
    @bogdanexit1 หลายเดือนก่อน

    Maybe you can make a video with class objects and why are so slow

    • @Excelmacromastery
      @Excelmacromastery  หลายเดือนก่อน

      They are slower when writing to a range because they have to be written individually. But writing to an array from the class moduke and then to the range is reasonably fast.

  • @mrchecik
    @mrchecik หลายเดือนก่อน

    Is it possible to use presented solutions (dictionary and ADO) on Mac Excel 365?

    • @Excelmacromastery
      @Excelmacromastery  หลายเดือนก่อน

      The dictionary and ADO use windows libraries. You need alternative libraries for the Mac

  • @nathanaelmouckagni7165
    @nathanaelmouckagni7165 หลายเดือนก่อน

    Hi Mr Paul Kelly, I'm gabones !