VBA Excel 2010 How to Sort a Range or List using VBA

Поделиться
HTML-код
  • Опубликовано: 15 окт 2024
  • VBA Excel 2010 How to Sort a Range or List using VBA
    Handy Excel Resources
    amzn.to/3gFx7s1 - Excel Formulas & Functions For Dummies 5th Edition
    amzn.to/3sYnuH6 - Microsoft Excel 2019 VBA and Macros
    amzn.to/2PqXhU0 - MICROSOFT EXCEL VBA AND MACROS FOR BEGINNERS:
    amzn.to/3xtsLtM - Microsoft Excel VBA Programming for the Absolute Beginner
    amzn.to/3xwkEg0 - Excel 2019 Bible
    amzn.to/3aJEHxW - EXCEL 2020 FOR BEGINNERS
    As an Amazon Associate, I earn from qualifying purchases. Product prices and availability are subject to change.

Комментарии • 11

  • @kirankumarsukumar
    @kirankumarsukumar 11 лет назад

    Exactly what i was searching for. Thanks a Lot. The Video Tutorial was TopClass.

  • @carolynlee3856
    @carolynlee3856 4 года назад

    Hello, would it be possible to discuss engaging your services?

  • @weihau2112
    @weihau2112 8 лет назад

    I also use recording macro but why my code will select a Range? If my range changes to more than 26 rows, the macro will not be able to run right?
    Sub filter2()
    '
    ' filter2 Macro
    '
    '
    Range("B2").Select
    ActiveSheet.Range("$A$2:$K$26").AutoFilter Field:=2, Criteria1:="#N/A"
    End Sub

  • @b112895
    @b112895 9 лет назад

    Wow didn't even know how to use 'Record a Macro' feature' thanks!

  • @GopalKumar-po9vw
    @GopalKumar-po9vw 9 лет назад

    thanks a lots for explain in very simple way

  • @sfa20
    @sfa20 6 лет назад +1

    or insert the data as a table and just use "Range("A2").Sort Key1:=Range("g2"), Order1:=xlAscending, Header:=xlYes"

  • @romybasant
    @romybasant 11 лет назад

    Excellent!!

  • @TheYousafshah
    @TheYousafshah 6 лет назад

    How i can use it in excel 2007.

  • @allabout1135
    @allabout1135 6 лет назад

    Thanks Sir for missing piece of puzle. Strong handshake from my side.

  • @nazefali3699
    @nazefali3699 11 лет назад

    Hi dear friend, you have excellent knowledge of VBA, I learned a lot from your videos. i dont know how to thank you! could you please create a userform,and the userform contain patient details, for ex. first name, date of birth, female or male, what the problem with the patient, and so on, and then transfer all the information into a worksheet, this project for a small hospital in mycountry, very poor country!
    god bless you, thank you so much.

  • @mikebenstead9801
    @mikebenstead9801 10 лет назад

    ' Clear Filter - top row
    Rows("1:1").Select
    With Activesheet
    .AutoFilterMode = False
    .range("1:1").AutoFilter
    End With