wrecclesham
Board Regular
- Joined
- Jul 24, 2019
- Messages
- 52
- Office Version
- 365
- Platform
- Windows
Could someone please help me to create a small VBA script that is able to automatically sort the 10 rows contained within range A1:C10 in ascending alphabetical order, using the contents of cells A1:A10?
Also, if I record a macro while manually performing the above sort just using the Sort button, should this work in theory and would it produce clean VBA code, or is it sometimes better to manually write the code, instead of using the Record Macro feature? I've always wondered about that.
Here's how my test worksheet looks:
Also, if I record a macro while manually performing the above sort just using the Sort button, should this work in theory and would it produce clean VBA code, or is it sometimes better to manually write the code, instead of using the Record Macro feature? I've always wondered about that.
Here's how my test worksheet looks:
Last edited: