View Single Post
  #9   Report Post  
Posted to microsoft.public.excel.programming
Gary Keramidas[_2_] Gary Keramidas[_2_] is offline
external usenet poster
 
Posts: 364
Default go to end of ROW

post a more detailed description of what you are trying to do. give us the
cell addresses involved, which have data, which don't and what you want to
select.

--


Gary K

"geebee" wrote in message
...
Neither of these solutions will work for me. After the cell G6, there is
data entered for about 5 columns... Then there is a break ...and data
starts
again in like 5 columns later. So I want to ignore the column happening 5
columns later and just go to the end of the row before the break.

HOW?

Thanks in advance,
geebee


"PCLIVE" wrote:

Try this:

Range("IV6").End(xlToLeft).Select

HTH,
Paul




"geebee" wrote in message
...
hi,

I have the following:

Range("G6").Select
Range(Selection, Selection.End(xlToRight)).Select

The opnly problem is that G6 is empty, so when the command executes, it
goes
to the very next cell to the right, instead of the true last cell to
the
last
where data has been entered.

How can I get it to go to the last cell to the right where data has
been
entered?

Thanks in advance,
geebee