Hi there, I am trying to find the last row populated with values in my wks. Not the last row of formulas!
This is happening b/c my wks has empty cells with formulas and Excel is seeing those as valid rows??
Below is the variable LastRow I am trying to populate. I would think the part of code "lookIn:=xlValues" would bypass the formulas but its not working.
Any help would be great! Thanks so much!
LastRow= Cells.Find(What:="*", After:=[A1], LookIn:=xlValues, SearchOrder:=xlByRows, SearchDirection:=xlPrevious).Row
This is happening b/c my wks has empty cells with formulas and Excel is seeing those as valid rows??
Below is the variable LastRow I am trying to populate. I would think the part of code "lookIn:=xlValues" would bypass the formulas but its not working.
Any help would be great! Thanks so much!
LastRow= Cells.Find(What:="*", After:=[A1], LookIn:=xlValues, SearchOrder:=xlByRows, SearchDirection:=xlPrevious).Row