Excel VBA Activate vs Select vs Selection vs ActiveCell

แชร์
ฝัง
  • เผยแพร่เมื่อ 31 ม.ค. 2025

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

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

    I've just started trying to make this part of my skillset and let me just say I have never seen someone explain it so clearly. thanks for uploading this vid!

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

    Thank you! Very good explanation.

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

    Excellent explanation. Thank you :)

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

    Fantastic!!!
    Helpfull e clear explanation!!!
    Thanks!!! 👏👏👏👏👏

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

    Nice informative video ..Thank You Sir

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

    Thanks.. important topic. I see a lot of code where the author has bounced back and forth between the methods.. dangerous! Thanks for the videos. Thumbs up and stay safe out there!

    • @TeachExcel
      @TeachExcel  4 ปีที่แล้ว +1

      That is so true! Or, when they start with the Macro recorder and end up selecting every darn cell before they do something with it hah. Thanks! I'm treating everyone like they are a zombie haha - you stay safe yourself!

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

    Cool Tutorial..Really Well Explained Thank You Sir :)

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

      Thanks! Glad you like it! Sometimes I end up blathering too much and forgetting if I'm helpful or not haha

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

    good job!

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

    nice msgbox exercise but how do I get the USER Selected range into my macro dimensioned MyRange.

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

      You will use arrays and then either a For Each loop or Nested For Next loop (better option usually) to go through the range and do what you want with it. Arrays are quite complex but very useful, if you want to upload a sample file or just add more details, you can ask in our forum on TeachExcel.com and get help with vba code samples.

  • @jellyglonut744
    @jellyglonut744 2 ปีที่แล้ว +1

    So I've been searching for a solution to a problem I have. My macro does some copying and pasting using ActiveCell.Offset. Because the cell I'm moving to and from isn't always the same. Now what I want to do is make a range selection FROM the active cell. So it's like a combination of a range selection with an activecell offset. The selection will always be from the active cell and to the right 3 cells. But if the active cell changes I can't use range because it needs to know the cell. I tried Range.Offset but that didn't work.

    • @hezzyt.2471
      @hezzyt.2471 ปีที่แล้ว

      Same problem here. Do you already have the solution?