SirCumferance
New Member
- Joined
- Apr 27, 2018
- Messages
- 7
Hello all, long time reader, first time poster.
I have been slowly, but surely, upgrading the sheets we use at work. These little upgrades have simplified things and removed many issues of error.
Now, I want to add one for laziness.
A have a batch of cells A2:U20 (for example) that we fill in information. Then, the same batch under that, more info, etc. There are 1000 batches because, sometimes, we need them. I already added a nifty code to hide the formulas and extra info
But, I still have to hide the extra rows, so that printing space isnt wasted... going through 1000 batches is time consuming, and sometimes I have to come back to add more info so Deleting is not always an option.
So, to the help I need. I want the sheet to just have ONE batch, with a cell that is empty, but if I put in a number, it makes that amount of batches under the last one. THAT would be handy and ultimately, help me and others be a little more lazy.
NOTE: I did try with Macros and a code I found that offset the Active Cell info by (x,y) and that worked kinda.... but not really. So, I did try a bit before seeking help, not that lazy, lol.
Thanks in advance!
I have been slowly, but surely, upgrading the sheets we use at work. These little upgrades have simplified things and removed many issues of error.
Now, I want to add one for laziness.
A have a batch of cells A2:U20 (for example) that we fill in information. Then, the same batch under that, more info, etc. There are 1000 batches because, sometimes, we need them. I already added a nifty code to hide the formulas and extra info
Code:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Range("H4").Value = 1 Then
Columns("F:W").EntireColumn.Hidden = True
Range("H4").Value = 0
End If
End Sub
But, I still have to hide the extra rows, so that printing space isnt wasted... going through 1000 batches is time consuming, and sometimes I have to come back to add more info so Deleting is not always an option.
So, to the help I need. I want the sheet to just have ONE batch, with a cell that is empty, but if I put in a number, it makes that amount of batches under the last one. THAT would be handy and ultimately, help me and others be a little more lazy.
NOTE: I did try with Macros and a code I found that offset the Active Cell info by (x,y) and that worked kinda.... but not really. So, I did try a bit before seeking help, not that lazy, lol.
Thanks in advance!