Hello, I can't find the right the fit for defining my range.
I want to set a range from cell A5 (always) down to a cell in Column A that contains the word "Total" then up one row and over to column H.
So if the word "Total" is in row 10, my range should be A5:H9 and the row for the word "total" can change base on the output of the sheet, so I need to find the word "total" in column A to define the range.
If the solution would be difference, I also would like to define a similar range but only in column A, so the range would be from A5 down to the cell containing "Total" and up one. For this range I intend to use it in:
Application.Max("myRange").Value if that is correct
Thanks for any help or suggestions.
I want to set a range from cell A5 (always) down to a cell in Column A that contains the word "Total" then up one row and over to column H.
So if the word "Total" is in row 10, my range should be A5:H9 and the row for the word "total" can change base on the output of the sheet, so I need to find the word "total" in column A to define the range.
If the solution would be difference, I also would like to define a similar range but only in column A, so the range would be from A5 down to the cell containing "Total" and up one. For this range I intend to use it in:
Application.Max("myRange").Value if that is correct
Thanks for any help or suggestions.