VBA to find Last Row or Column

Поділитися
Вставка
  • Опубліковано 12 сер 2020
  • In this video, you will learn excel VBA macro to find the Last Row or Column. You will also learn how to copy paste formulas till the last row.
    #LearnExcel #VBA #Excel #Macro #FindLastRow
    Mic that I am using for audio recording: amzn.to/3kHa27N
    If you loved the video elements and editing. I use Canva website for it. You can also try for free from this link www.canva.com/join/brake-euro...
    Reach out to me on Fiver for any excel automation projects: www.fiverr.com/share/71GKke

КОМЕНТАРІ • 9

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

    Excellent work.

  • @ankitsaxena5966
    @ankitsaxena5966 4 роки тому +1

    Thank you so much sir.... 😃

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

      Most Welcome. Do share the channel with your friends and family members who can also benefit from this channel.

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

    In coolum B... I need to select row 3-6 ( value 2 to 5 )...plz help

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

      If it is fixed range you can use Range("3:6").Select

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

    How to select second last column or row ??.. Plz help.

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

      Assuming you have defined word "LastRow" , You can simply do LastRow - 1 to find second last row. same you can do for second last column.

  • @zdenekhelebrand1262
    @zdenekhelebrand1262 4 роки тому

    Is it better than use follows ? Range("T2").Select
    ActiveCell.FormulaR1C1 = "=IFERROR(VLOOKUP(RC[-19],PivotTableD!C[-19]:C[-16],4,0),0)"
    Selection.AutoFill Destination:=Range("T2:T3026")
    Range("T2:T3026").Select

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

      I do not think so. Pivot tables sometimes increases the complexity.