You can't remove the grid lines from a single row or column. Grid
lines are on or off for the entire worksheet. You can, however,
format the cells with a white background, which will cover up the
grid lines.
You could merge the cells in the row or column. (Yeah, it's probably not
something that you want to do! But it does get rid of the grid lines (and
causes lots more bad stuff).)