garypea123
Board Regular
- Joined
- Mar 16, 2020
- Messages
- 221
- Office Version
- 365
- Platform
- Windows
Hi,
I am looking for a VBA which will data sort dynamic data.
Sheet = Test
Sort by:
1. Name (Column A)
2. BBE (Column B)
(I have recorded a macro which is not tidy as sometimes there could be 4 lines or 20 lines. Also my macro falls down at times because 5 cells below where the data ends there Merged cells which caused the macro script to fail).
Ideally I would like the macro only to look at the data from B3:G3 to where the data ends (not including then the merged text)
I am looking for a VBA which will data sort dynamic data.
Sheet = Test
Sort by:
1. Name (Column A)
2. BBE (Column B)
(I have recorded a macro which is not tidy as sometimes there could be 4 lines or 20 lines. Also my macro falls down at times because 5 cells below where the data ends there Merged cells which caused the macro script to fail).
Ideally I would like the macro only to look at the data from B3:G3 to where the data ends (not including then the merged text)