Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi There,
I have formulas going from a2:a1000, when the value (Part Number)equals zero or N/A the cell remains blank. I then sort the data so that the values show starting from a2 down to where ever. I am looking for code that shows me the last cell with a value in it, basically the cells maybe blank however they still have a formula in them. When I run the code below it still goes to the end even if the cells are blank. Dim LastCell as Range set LastCell = Range("A1").End(xlDown) 'assuminmg there are no embedded blank cells set LastCell = Range("A" & Rows.Count).End(xlUp) cell.select TIA BigH |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
ignoring blank cells | Excel Discussion (Misc queries) | |||
Ignoring blank cells | Excel Discussion (Misc queries) | |||
Ignoring blank cells on getting an average | Excel Discussion (Misc queries) | |||
Ignoring Blank Cells | Excel Worksheet Functions | |||
Help with ignoring blank cells | Excel Discussion (Misc queries) |