neodjandre
Well-known Member
- Joined
- Nov 29, 2006
- Messages
- 950
- Office Version
- 2019
- Platform
- Windows
I have a column like this:
Line1: J1
Line2: J1
Line3: J2
Line4: J2
Line5: J2
Line6: J3
Line7: J3
Line8: J4
Line9: J4
Line10: J4
Line11: J5
Line12: J5
I would like a macro to find the last occurence of each J and draw a horizontal line in my table. In the above example, a line should be drawn on "Lines" 2,5,7,10,12.
Appreciate the help.
Andrew
Line1: J1
Line2: J1
Line3: J2
Line4: J2
Line5: J2
Line6: J3
Line7: J3
Line8: J4
Line9: J4
Line10: J4
Line11: J5
Line12: J5
I would like a macro to find the last occurence of each J and draw a horizontal line in my table. In the above example, a line should be drawn on "Lines" 2,5,7,10,12.
Appreciate the help.
Andrew