I know that this has been a common question on these boards, but after searching through previous posts - and my very rudimentary understanding of VBA/Macros - I've not found anything that works for me.
Basically, here is what I have set up:
On my "Summary" tab, I have a chart built that takes up Cell A2 - I27, with row 27 being the totals of rows 2-26. There is a formula in every cell of the chart that determines whether or not to display data based on criteria established on my "Worksheet" tab. An example of the formula is =IF(Worksheet!C3="","",Worksheet!C3). Once data is entered on the "Worksheet" tab, the corresponding information appears on the "Summary" tab.
In most cases not every row will be filled up, meaning there will be blank rows between the last line of data and the total line. I would like to insert a command button entitled "Hide Empty Rows" that would do just that. This will make it much easier on our sales guys to quickly consolidate this information into a clean chart ready to email. I am using Excel 2010 if that matters for this.
Any help would be appreciated. Again, I realize that this is a common topic here, but I have tried many different things and none have worked for me so far. I thin it may have to do with the fact that there are formulas in the cells, so they are not truly blank.
- Mike
Basically, here is what I have set up:
On my "Summary" tab, I have a chart built that takes up Cell A2 - I27, with row 27 being the totals of rows 2-26. There is a formula in every cell of the chart that determines whether or not to display data based on criteria established on my "Worksheet" tab. An example of the formula is =IF(Worksheet!C3="","",Worksheet!C3). Once data is entered on the "Worksheet" tab, the corresponding information appears on the "Summary" tab.
In most cases not every row will be filled up, meaning there will be blank rows between the last line of data and the total line. I would like to insert a command button entitled "Hide Empty Rows" that would do just that. This will make it much easier on our sales guys to quickly consolidate this information into a clean chart ready to email. I am using Excel 2010 if that matters for this.
Any help would be appreciated. Again, I realize that this is a common topic here, but I have tried many different things and none have worked for me so far. I thin it may have to do with the fact that there are formulas in the cells, so they are not truly blank.
- Mike