Excel VBA Basics #13 Switching Between Workbooks Dynamically, Create New Workbooks

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ธ.ค. 2024

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

  • @ExcelVbaIsFun
    @ExcelVbaIsFun  11 ปีที่แล้ว +10

    Merry Christmas everyone. I hope God blesses you richly this upcoming year. Remember, you ARE a success!! Believe it, be it! Blessings my friends!! Dan

    • @Ali-ds5iy
      @Ali-ds5iy 8 ปีที่แล้ว

      well said sir.

    • @Ali-ds5iy
      @Ali-ds5iy 8 ปีที่แล้ว

      I learned a lot from you!...Merry christmas to you too.

  • @excelisfun
    @excelisfun 11 ปีที่แล้ว +1

    Great video!

  • @JanBolhuis
    @JanBolhuis 11 ปีที่แล้ว

    Thanks for reply Daniel. What I mean is when I start a function in Excel, e.g. VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup]), I see the arguments after typing =VLOOKUP(. Another (maybe better) examples are:
    SUMIF(range, criteria, [sum_range]) where you first have to select the range for the criteria and by using
    SUMIFS(sum_range, criteria_range1, criteria1, ...) you first need to select the range for your sum.
    A lot of Excel users aren't aware of these very helpfull tips

  • @andrewasher2201
    @andrewasher2201 6 ปีที่แล้ว +1

    Thank you! I'm here in 2019 and I have not found much on this topic until I found your video.

  • @salvatoremartello7764
    @salvatoremartello7764 ปีที่แล้ว

    Really well explained👌

  • @AlexFariaOliveira
    @AlexFariaOliveira 4 ปีที่แล้ว

    One million times thank you! This seems simple but it helped me a lot in my current project!

  • @ni321nov
    @ni321nov 4 ปีที่แล้ว

    Thanks.... It's very useful video.....👍🏻

  • @sarveshrajwani2228
    @sarveshrajwani2228 3 ปีที่แล้ว

    Brother thanks a ton 🙃🙃🙃🙃
    Small small problem troubles a lot and you helped in solving that

  • @blueshade26
    @blueshade26 8 ปีที่แล้ว

    Thanks for the excellent videos. I watched the one about about if-then-else statements while half asleep and the next day I was able to write my first working script! It was like it just came to me in a dream lol

  • @ginger3567
    @ginger3567 3 ปีที่แล้ว

    WHAT A GREAT VIDEO. Like what you said, this is really good stuff!

  • @jkjersey6
    @jkjersey6 11 ปีที่แล้ว

    Thank you for these videos, great resource.

  • @ExcelVbaIsFun
    @ExcelVbaIsFun  11 ปีที่แล้ว

    I believe if you have option explicit, you would then have to declare all variables up front. So any objects being set or variables would need to be declared before use. Dim blah as Variant
    Dim myNumber as Double
    etc. . .

  • @JanBolhuis
    @JanBolhuis 11 ปีที่แล้ว

    Another great explanation. Thanks.
    Is there a trick to see also the screentips as you get when you use the "normal' functions within a worksheet?

  • @ExcelVbaIsFun
    @ExcelVbaIsFun  11 ปีที่แล้ว

    Hmmm, not sure what you mean. Normal function screentips? Please explain. Thanks Jan!!

  • @nafiurpial7209
    @nafiurpial7209 4 ปีที่แล้ว

    Great!

  • @ExcelVbaIsFun
    @ExcelVbaIsFun  11 ปีที่แล้ว

    Hmmm. Usually when I do a worksheet function within VBA or worksheet it shows these. When does it not display the screentips for you, Jan?

  • @5adamjb
    @5adamjb 11 ปีที่แล้ว

    Great lesson

  • @JanBolhuis
    @JanBolhuis 11 ปีที่แล้ว

    Hi Daniel, Thanks for coming back.
    After creating a function in VBA (used your vlookup example #12) and testing, I don't see the screentip after the (.
    My function is called "Artikel". So in Excel I start with =Artikel( and after that, nothing appears in the screen. It does when I use the build-in function.
    Maybe a setting? BTW: I'm working with the Dutch version.

  • @5adamjb
    @5adamjb 11 ปีที่แล้ว

    Hi Daniel. Great lesson. Would there need to be changes with these VBA commands if you're working in option explicit?

  • @AadilAhmadme
    @AadilAhmadme 7 ปีที่แล้ว

    Thanks a lot. It really helped me out.

  • @adamgoodrich80
    @adamgoodrich80 8 ปีที่แล้ว

    Great video.
    What's best way to activate workbook called "sales" if it is already open, or if it's not open then open it?

  • @donobanmendoza3312
    @donobanmendoza3312 2 ปีที่แล้ว

    How do I activate a book in MHTML format?

  • @JanBolhuis
    @JanBolhuis 11 ปีที่แล้ว

    Another issue for example is that when I create a temporary macro in a new workbook, a new workbook really opens and i have to switch back to the original workbook I'm working in.
    In my daily job I'm working with the Englisch version and don't have that problem :)
    So it's probably a setting or a bug in the dutch version.
    Or could it be the difference between V2010 (work) or V2013 (home)?
    I will figure it out the next couple of weeks.

  • @21manishgupta
    @21manishgupta 7 ปีที่แล้ว

    Hi, needed help here... I actually have 1 excel workbook with multiple sheets. On sheet 1, I have certain names (A,B,C) and based on those names I have created the additional spreadsheets with names (A,B,C). Now I am back at sheet 1. Now I have a folder in my system where in I have 3 Excel with Name (A,B,C) with data only on sheet 1. I want to now pull the data in those 3 excel sheets to this main excel and to each sheet A B & C respectively. Can you please advice how I can perform this action?
    Thanks,
    Manish

  • @manonvandenoetelaar2761
    @manonvandenoetelaar2761 9 ปีที่แล้ว +1

    Cool stuff! Thankyou :)))

  • @David-mu8hn
    @David-mu8hn 5 ปีที่แล้ว

    Great video! Thanks Daniel. I got your udemy course ;)

  • @poeticversion672
    @poeticversion672 3 ปีที่แล้ว

    how to work enabled this with screeenupdating

  • @JMeyN40
    @JMeyN40 10 ปีที่แล้ว

    Dude, let me ask u something. If i want to color the cell's backgound according to some value, like if C5.value = 5 then (red) or C6.value = 6 then (blue). what are the classes and properties envolved to do as such ??
    ty

    • @ExcelVbaIsFun
      @ExcelVbaIsFun  10 ปีที่แล้ว

      Check this one out or try conditional formatting. Here's the link: Excel VBA Tips n Tricks #28 Rotate Color of Cell each time you Click User Q n A

  • @shaharle88
    @shaharle88 10 ปีที่แล้ว

    hi
    it is possibe to switch between 2 sheets with timer
    like to go to the next sheets after 30 sec and go back after 30 seconds
    with life time loops?

    • @ExcelVbaIsFun
      @ExcelVbaIsFun  9 ปีที่แล้ว

      Shahar Levi I would think so.
      Maybe with a DO Until statement. but these are prone to locking things up. hmmm.
      Dan

  • @arshisingh5526
    @arshisingh5526 6 ปีที่แล้ว

    hello sir i want to activate a workbook through path capture in another workbook

    • @ExcelVbaIsFun
      @ExcelVbaIsFun  6 ปีที่แล้ว +1

      Hi Arshi,
      Something like this, perhaps:
      WorkBooks("C:\myFolder\myBook123.xlsx").Activate
      Thanks
      Dan