I asked a similar question a while ago and thought I had fixed my problem but for some reason I tried to run it later on and the same error popped up even though it was fine earlier. Anyway I either get a subscript out of range/ application defined or object defined error when I try and run this code. I am trying to find the cell in a sheet that has the words "current assets:". Here is my code. I feel like the problem is either in the 'range' that I am using 'find' on.
Sub Valuation()
Dim LastRow As Long
LastRow = Worksheets("Sheet1").Range("A1").SpecialCells(XlCellType.xlCellTypeLastCell).Row
Dim LastColumn As Long
LastColumn = Worksheets("Sheet1").Range("A1").SpecialCells(XlCellType.xlCellTypeLastCell).Column
Dim crntassone As Range
Set crntassone = Worksheets("Sheet1").Range(Cells(1, 1), Cells(LastRow, LastColumn)).Find(What:="Current assets:", After:=Worksheets("Sheet1").Range(Cells(1, 1)), LookIn:=xlValue, LookAt:=xlPart, SearchOrder:=xlByColumns, SearchDirection:=xlNext, MatchCase:=False)
If anyone sees the problem it would be greatly appreciated.