tonywatsonhelp
Well-known Member
- Joined
- Feb 24, 2014
- Messages
- 3,194
- Office Version
- 365
- 2019
- 2016
- Platform
- Windows
Hi Everyone,
I need a mmacro that when run does this
Looks at the range D21:D50
Finds Last row with data in it (must be last row with range D21:D50 as there stuff above and below it)
then unhides the next row
so for example when you start D22:D50 will be hidden
you press the button,
If D21 is empty it does nothing but if D21 <> "" then unhide D22
abd so on until it gets to D50
If there are no more rows to unhide messagebox "All rows have been used"
please help if you can
Thanks
Tony
I need a mmacro that when run does this
Looks at the range D21:D50
Finds Last row with data in it (must be last row with range D21:D50 as there stuff above and below it)
then unhides the next row
so for example when you start D22:D50 will be hidden
you press the button,
If D21 is empty it does nothing but if D21 <> "" then unhide D22
abd so on until it gets to D50
If there are no more rows to unhide messagebox "All rows have been used"
please help if you can
Thanks
Tony